Home
last modified time | relevance | path

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

/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DGsmCdmaConnectionTest.java56 replaceInstance(Handler.class, "mLooper", mCT, Looper.myLooper()); in setUp()
58 mCT.mForegroundCall = new GsmCdmaCall(mCT); in setUp()
59 mCT.mBackgroundCall = new GsmCdmaCall(mCT); in setUp()
60 mCT.mRingingCall = new GsmCdmaCall(mCT); in setUp()
75 "+1 (700).555-41NN%c1234", PhoneNumberUtils.PAUSE), mCT, null, in testFormatDialString()
91 connection = new GsmCdmaConnection(mPhone, "+8610000", mCT, null, in testOriginalDialString()
96 connection = new GsmCdmaConnection(mPhone, "+8610000", mCT, null, in testOriginalDialString()
104 "+1 (700).555-41NN%c1234", PhoneNumberUtils.PAUSE), mCT, null, in testSanityGSM()
122 "+1 (700).555-41NN%c1234", PhoneNumberUtils.PAUSE), mCT, null, in testSanityCDMA()
139 "+1 (700).555-41NN%c1234", PhoneNumberUtils.PAUSE), mCT, null, in testConnectionStateUpdate()
[all …]
DConnectionTest.java133 doReturn(mPhone).when(mCT).getPhone(); in setUp()
134 replaceInstance(Handler.class, "mLooper", mCT, Looper.getMainLooper()); in setUp()
195 mTestConnection.setEmergencyCallInfo(mCT, null); in testSetEmergencyCallInfo()
DGsmCdmaCallTest.java42 mCallUnderTest = new GsmCdmaCall(mCT); in setUp()
101 verify(mCT).hangup(mCallUnderTest); in testHangup()
DGsmCdmaPhoneTest.java484 mCT.mForegroundCall = mGsmCdmaCall; in testHandleInCallMmiCommands()
485 mCT.mBackgroundCall = mGsmCdmaCall; in testHandleInCallMmiCommands()
486 mCT.mRingingCall = mGsmCdmaCall; in testHandleInCallMmiCommands()
512 mCT.mForegroundCall = mGsmCdmaCall; in testDial()
513 mCT.mBackgroundCall = mGsmCdmaCall; in testDial()
514 mCT.mRingingCall = mGsmCdmaCall; in testDial()
521 verify(mCT).dialGsm(eq("1234567890"), any(PhoneInternalInterface.DialArgs.class)); in testDial()
538 verify(mCT).dialGsm(eq("*27216505551212"), any(PhoneInternalInterface.DialArgs.class)); in testWpsDialOverCs()
579 verify(mCT).dialGsm("*27216505551212", CommandsInterface.CLIR_SUPPRESSION, null, null); in testWpsClirActiveDialOverCs()
598 verify(mCT).dialGsm("*27216505551212", CommandsInterface.CLIR_INVOCATION, null, null); in testWpsClirInactiveDialOverCs()
[all …]
DTelephonyTest.java200 protected GsmCdmaCallTracker mCT; field in TelephonyTest
487 mCT = Mockito.mock(GsmCdmaCallTracker.class); in setUp()
613 mCT.mCi = mSimulatedCommands; in setUp()
656 doReturn(mCT).when(mTelephonyComponentFactory) in setUp()
717 doReturn(mCT).when(mPhone).getCallTracker(); in setUp()
811 doReturn(mPhone).when(mCT).getPhone(); in setUp()
DSimultaneousCallingTrackerTest.java122 mCT.mCi = mMockCi0; in setUp()
DPhoneConfigurationManagerTest.java106 mCT.mCi = mMockCi0; in setUp()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhone.java279 ImsPhoneCallTracker mCT; field in ImsPhone
500 mCT = TelephonyComponentFactory.getInstance().inject(ImsPhoneCallTracker.class.getName()) in ImsPhone()
502 mCT.registerPhoneStateListener(mExternalCallTracker); in ImsPhone()
503 mExternalCallTracker.setCallPuller(mCT); in ImsPhone()
548 mCT.unregisterPhoneStateListener(mExternalCallTracker); in dispose()
549 mCT.unregisterForVoiceCallEnded(this); in dispose()
550 mCT.dispose(); in dispose()
593 return mCT; in getCallTracker()
609 mCT.acceptCall(videoState); in acceptCall()
615 mCT.rejectCall(); in rejectCall()
[all …]
DImsPhoneMmiCode.java1012 mPhone.mCT.getUtInterface().updateCLIP(isActivate(), in processCode()
1024 mPhone.mCT.getUtInterface() in processCode()
1031 mPhone.mCT.getUtInterface().updateCOLP(isActivate(), in processCode()
1043 mPhone.mCT.getUtInterface().updateCOLR(NUM_PRESENTATION_RESTRICTED, in processCode()
1050 mPhone.mCT.getUtInterface().updateCOLR(NUM_PRESENTATION_ALLOWED, in processCode()
1057 mPhone.mCT.getUtInterface() in processCode()
1068 mPhone.mCT.getUtInterface().queryCallBarring( in processCode()
1083 mPhone.mCT.getUtInterface().queryCallBarring( in processCode()
1092 mPhone.mCT.getUtInterface() in processCode()
1336 mPhone.mCT.getUtInterface().updateCallBarring( in processIcbMmiCodeForUpdate()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DGsmCdmaPhone.java230 public GsmCdmaCallTracker mCT; field in GsmCdmaPhone
484 mCT = mTelephonyComponentFactory.inject(GsmCdmaCallTracker.class.getName()) in initOnce()
709 if (mCT != null) mCT.updatePhoneType(); in switchPhoneType()
778 return mCT.mState; in getState()
804 return mCT; in getCallTracker()
855 if (mCT == null) return false; in isDataSuspended()
856 return mCT.mState != PhoneConstants.State.IDLE && !mSST.isConcurrentVoiceAndDataAllowed(); in isDataSuspended()
906 return mCT.isInEmergencyCall(); in isInEmergencyCall()
913 mCT.setIsInEmergencyCall(); in setIsInEmergencyCall()
1009 mCT.acceptCall(); in acceptCall()
[all …]
DServiceStateTracker.java4989 mPhone.mCT.mRingingCall.hangupIfAlive(); in powerOffRadioSafely()
4990 mPhone.mCT.mBackgroundCall.hangupIfAlive(); in powerOffRadioSafely()
4991 mPhone.mCT.mForegroundCall.hangupIfAlive(); in powerOffRadioSafely()
5055 mPhone.mCT.mRingingCall.hangupIfAlive(); in hangupAndPowerOff()
5056 mPhone.mCT.mBackgroundCall.hangupIfAlive(); in hangupAndPowerOff()
5057 mPhone.mCT.mForegroundCall.hangupIfAlive(); in hangupAndPowerOff()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdma/
DCdmaSMSDispatcher.java147 && ((GsmCdmaPhone) mPhone).mCT.mState != PhoneConstants.State.IDLE; in sendSms()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/data/
DDataNetworkControllerTest.java888 doReturn(PhoneConstants.State.IDLE).when(mCT).getState(); in setUp()
1678 doReturn(PhoneConstants.State.OFFHOOK).when(mCT).getState(); in testVoiceCallEndedOnVoiceDataNonConcurrentNetwork()
1688 doReturn(PhoneConstants.State.IDLE).when(mCT).getState(); in testVoiceCallEndedOnVoiceDataNonConcurrentNetwork()
2853 doReturn(PhoneConstants.State.RINGING).when(mCT).getState(); in testHandoverDataNetworkNotAllowedByPolicyDelayDueToVoiceCall()
2862 doReturn(PhoneConstants.State.IDLE).when(mCT).getState(); in testHandoverDataNetworkNotAllowedByPolicyDelayDueToVoiceCall()
3040 doReturn(PhoneConstants.State.RINGING).when(mCT).getState(); in testHandoverDataNetworkRetryReachedMaximum()
3056 doReturn(PhoneConstants.State.IDLE).when(mCT).getState(); in testHandoverDataNetworkRetryReachedMaximum()
3099 doReturn(PhoneConstants.State.OFFHOOK).when(mCT).getState(); in testHandoverDataNetworkRetryReachedMaximumDelayImsTearDown()
3973 doReturn(PhoneConstants.State.OFFHOOK).when(mCT).getState(); in testDelayImsTearDownCsRequestsToTearDown()
4415 doReturn(PhoneConstants.State.RINGING).when(mCT).getState(); in testHandoverDataNetworkOos()
[all …]
DDataNetworkTest.java1344 verify(mCT).registerForVoiceCallStarted(any(Handler.class), anyInt(), eq(null)); in testRegisterUnregisterEvents()
1345 verify(mCT).registerForVoiceCallEnded(any(Handler.class), anyInt(), eq(null)); in testRegisterUnregisterEvents()
1366 verify(mCT).unregisterForVoiceCallStarted(any(Handler.class)); in testRegisterUnregisterEvents()
1367 verify(mCT).unregisterForVoiceCallEnded(any(Handler.class)); in testRegisterUnregisterEvents()
1761 doReturn(PhoneConstants.State.OFFHOOK).when(mCT).getState(); in testNonConcurrentDataSuspended()
1770 doReturn(PhoneConstants.State.IDLE).when(mCT).getState(); in testNonConcurrentDataSuspended()