use of com.android.internal.telephony.ATParseEx in project XobotOS by xamarin.
the class SimulatedGsmCallState method toDriverCall.
DriverCall toDriverCall(int index) {
DriverCall ret;
ret = new DriverCall();
ret.index = index;
ret.isMT = isMT;
try {
ret.state = DriverCall.stateFromCLCC(state.value());
} catch (ATParseEx ex) {
throw new RuntimeException("should never happen", ex);
}
ret.isMpty = isMpty;
ret.number = number;
ret.TOA = TOA;
ret.isVoice = true;
ret.als = 0;
return ret;
}
Aggregations