Home
last modified time | relevance | path

Searched refs:DriverCall (Results 1 – 14 of 14) sorted by relevance

/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DDriverCall.java27 public class DriverCall implements Comparable<DriverCall> { class
96 static DriverCall
98 DriverCall ret = new DriverCall(); in fromCLCCLine()
143 DriverCall() { in DriverCall() method in DriverCall
194 compareTo(DriverCall dc) { in compareTo()
DGsmCdmaCall.java73 public void attach(Connection conn, DriverCall dc) { in attach()
119 /*package*/ boolean update (GsmCdmaConnection conn, DriverCall dc) { in update()
DGsmCdmaCallTracker.java819 DriverCall dc = null; in handlePollCalls()
823 dc = (DriverCall) polledCalls.get(curDC); in handlePollCalls()
892 dc.state == DriverCall.State.ACTIVE) { in handlePollCalls()
1006 if ((dc.state == DriverCall.State.DIALING in handlePollCalls()
1008 || (dc.state == DriverCall.State.ALERTING in handlePollCalls()
1010 || (dc.state == DriverCall.State.INCOMING in handlePollCalls()
1012 || (dc.state == DriverCall.State.WAITING in handlePollCalls()
1721 private Connection checkMtFindNewRinging(DriverCall dc, int i) { in checkMtFindNewRinging()
1737 if (dc.state != DriverCall.State.ALERTING in checkMtFindNewRinging()
1738 && dc.state != DriverCall.State.DIALING) { in checkMtFindNewRinging()
[all …]
DGsmCdmaConnection.java128 public GsmCdmaConnection (GsmCdmaPhone phone, DriverCall dc, GsmCdmaCallTracker ct, int index) { in GsmCdmaConnection()
313 compareTo(DriverCall c) { in compareTo()
657 update (DriverCall dc) { in update()
979 parentFromDCState (DriverCall.State state) { in parentFromDCState()
1003 case DriverCall.AUDIO_QUALITY_AMR_WB: in getAudioQualityFromDC()
1004 case DriverCall.AUDIO_QUALITY_EVRC_NW: in getAudioQualityFromDC()
DRadioResponse.java1897 ArrayList<DriverCall> dcCalls = new ArrayList<DriverCall>(num); in responseCurrentCalls()
1898 DriverCall dc; in responseCurrentCalls()
1901 dc = new DriverCall(); in responseCurrentCalls()
1904 dc.state = DriverCall.stateFromCLCC((int) (calls.get(i).state)); in responseCurrentCalls()
1914 DriverCall.presentationFromCLIP( in responseCurrentCalls()
1918 DriverCall.presentationFromCLIP((int) (calls.get(i).namePresentation)); in responseCurrentCalls()
1976 ArrayList<DriverCall> dcCalls = new ArrayList<DriverCall>(num); in responseCurrentCalls_1_2()
1977 DriverCall dc; in responseCurrentCalls_1_2()
1980 dc = new DriverCall(); in responseCurrentCalls_1_2()
1983 dc.state = DriverCall.stateFromCLCC((int) (calls.get(i).base.state)); in responseCurrentCalls_1_2()
[all …]
DCall.java74 stateFromDCState (DriverCall.State dcState) { in stateFromDCState()
DCallTracker.java109 protected Connection getHoConnection(DriverCall dc) { in getHoConnection()
DRIL.java5875 ArrayList<DriverCall> calls = (ArrayList<DriverCall>) ret; in retToString()
5877 for (DriverCall dc : calls) { in retToString()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DGsmCdmaConnectionTest.java46 DriverCall mDC;
134 mDC.state = DriverCall.State.ACTIVE; in testConnectionStateUpdate()
138 mDC.state = DriverCall.State.HOLDING; in testConnectionStateUpdate()
154 mDC.state = DriverCall.State.ALERTING; in testCDMAPostDialPause()
156 mDC.state = DriverCall.State.ACTIVE; in testCDMAPostDialPause()
172 mDC.state = DriverCall.State.ALERTING; in testGSMPostDialPause()
174 mDC.state = DriverCall.State.ACTIVE; in testGSMPostDialPause()
192 mDC.state = DriverCall.State.ALERTING; in testPostDialWait()
194 mDC.state = DriverCall.State.ACTIVE; in testPostDialWait()
208 mDC.state = DriverCall.State.ACTIVE; in testHangUpConnection()
[all …]
DGsmCdmaCallTest.java33 @Mock DriverCall mDriverCall;
56 mDriverCall.state = DriverCall.State.ACTIVE; in testAttachDetach()
81 mDriverCall.state = DriverCall.State.ACTIVE; in testMultiparty()
108 mDriverCall.state = DriverCall.State.ACTIVE; in testConnectionDisconnected()
DSimulatedGsmCallState.java26 import com.android.internal.telephony.DriverCall;
85 DriverCall
87 DriverCall ret; in toDriverCall()
89 ret = new DriverCall(); in toDriverCall()
95 ret.state = DriverCall.stateFromCLCC(mState.value()); in toDriverCall()
738 public List<DriverCall>
740 ArrayList<DriverCall> ret = new ArrayList<DriverCall>(mCalls.length); in getDriverCalls()
746 DriverCall dc; in getDriverCalls()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DVoiceCallSessionStats.java51 import com.android.internal.telephony.DriverCall;
593 map.put(DriverCall.AUDIO_QUALITY_AMR, 1L << AudioCodec.AUDIO_CODEC_AMR); in buildGsmCdmaCodecMap()
594 map.put(DriverCall.AUDIO_QUALITY_AMR_WB, 1L << AudioCodec.AUDIO_CODEC_AMR_WB); in buildGsmCdmaCodecMap()
595 map.put(DriverCall.AUDIO_QUALITY_GSM_EFR, 1L << AudioCodec.AUDIO_CODEC_GSM_EFR); in buildGsmCdmaCodecMap()
596 map.put(DriverCall.AUDIO_QUALITY_GSM_FR, 1L << AudioCodec.AUDIO_CODEC_GSM_FR); in buildGsmCdmaCodecMap()
597 map.put(DriverCall.AUDIO_QUALITY_GSM_HR, 1L << AudioCodec.AUDIO_CODEC_GSM_HR); in buildGsmCdmaCodecMap()
598 map.put(DriverCall.AUDIO_QUALITY_EVRC, 1L << AudioCodec.AUDIO_CODEC_EVRC); in buildGsmCdmaCodecMap()
599 map.put(DriverCall.AUDIO_QUALITY_EVRC_B, 1L << AudioCodec.AUDIO_CODEC_EVRC_B); in buildGsmCdmaCodecMap()
600 map.put(DriverCall.AUDIO_QUALITY_EVRC_WB, 1L << AudioCodec.AUDIO_CODEC_EVRC_WB); in buildGsmCdmaCodecMap()
601 map.put(DriverCall.AUDIO_QUALITY_EVRC_NW, 1L << AudioCodec.AUDIO_CODEC_EVRC_NW); in buildGsmCdmaCodecMap()
DTelephonyMetrics.java71 import com.android.internal.telephony.DriverCall;
2678 case DriverCall.AUDIO_QUALITY_AMR: in convertGsmCdmaCodec()
2680 case DriverCall.AUDIO_QUALITY_AMR_WB: in convertGsmCdmaCodec()
2682 case DriverCall.AUDIO_QUALITY_GSM_EFR: in convertGsmCdmaCodec()
2684 case DriverCall.AUDIO_QUALITY_GSM_FR: in convertGsmCdmaCodec()
2686 case DriverCall.AUDIO_QUALITY_GSM_HR: in convertGsmCdmaCodec()
2688 case DriverCall.AUDIO_QUALITY_EVRC: in convertGsmCdmaCodec()
2690 case DriverCall.AUDIO_QUALITY_EVRC_B: in convertGsmCdmaCodec()
2692 case DriverCall.AUDIO_QUALITY_EVRC_WB: in convertGsmCdmaCodec()
2694 case DriverCall.AUDIO_QUALITY_EVRC_NW: in convertGsmCdmaCodec()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/
DVoiceCallSessionStatsTest.java51 import com.android.internal.telephony.DriverCall;
1210 mVoiceCallSessionStats0.onAudioCodecChanged(mGsmConnection0, DriverCall.AUDIO_QUALITY_AMR); in singleCsCall_moRejected()
1267 mVoiceCallSessionStats0.onAudioCodecChanged(mGsmConnection0, DriverCall.AUDIO_QUALITY_AMR); in singleCsCall_moFailed()
1320 mVoiceCallSessionStats0.onAudioCodecChanged(mGsmConnection0, DriverCall.AUDIO_QUALITY_AMR); in singleCsCall_moAccepted()
1376 mVoiceCallSessionStats0.onAudioCodecChanged(mGsmConnection0, DriverCall.AUDIO_QUALITY_AMR); in singleCsCall_mtRejected()
1424 mVoiceCallSessionStats0.onAudioCodecChanged(mGsmConnection0, DriverCall.AUDIO_QUALITY_AMR); in singleCsCall_mtAccepted()