Home
last modified time | relevance | path

Searched refs:getImsPhone (Results 1 – 25 of 27) sorted by relevance

12

/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DTelephonyCapabilities.java53 " Ims Phone = " + phone.getImsPhone()); in supportsEcm()
55 phone.getImsPhone() != null); in supportsEcm()
DSimultaneousCallingTracker.java324 ImsPhone imsPhone = (ImsPhone) phone.getImsPhone(); in registerForImsRegistrationChanges()
346 ImsPhone imsPhone = (ImsPhone) phone.getImsPhone(); in unregisterForImsRegistrationChanges()
411 int phone1TransportType = ((ImsPhone) phone.getImsPhone()).getTransportType(); in generateSimultaneousCallSupportMap()
466 ((ImsPhone) phone2.getImsPhone()).getTransportType(); in phonesSupportSimultaneousCallingViaCellularOrWlan()
DServiceStateTracker.java1702 ImsPhone imsPhone = (ImsPhone) mPhone.getImsPhone(); in handleMessage()
2851 if (mPhone.getImsPhone() != null && mPhone.getImsPhone().isWifiCallingEnabled() in updateSpnDisplayLegacy()
2900 if (mPhone.getImsPhone() != null in updateSpnDisplayLegacy()
2901 && (mPhone.getImsPhone() != null) in updateSpnDisplayLegacy()
2902 && (mPhone.getImsPhone().getImsRegistrationTech() in updateSpnDisplayLegacy()
3784 ImsPhone imsPhone = (ImsPhone) mPhone.getImsPhone(); in pollStateDone()
5634 if (mPhone.getImsPhone() != null && mPhone.getImsPhone().isWifiCallingEnabled()) { in getCombinedRegState()
5920 ImsPhone imsPhone = (ImsPhone) mPhone.getImsPhone(); in getImsRegistrationTech()
DCallManager.java390 Phone imsPhone = phone.getImsPhone(); in unregisterPhone()
798 Phone imsPhone = phone.getImsPhone(); in dial()
DGsmCdmaCallTracker.java822 Phone imsPhone = mPhone.getImsPhone(); in updatePhoneState()
1222 Phone imsPhone = mPhone.getImsPhone(); in handlePollCalls()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/domainselection/
DDomainSelectionResolverTest.java167 when(mPhone.getImsPhone()).thenReturn(null); in testGetDomainSelectionConnectionWhenImsPhoneNull()
180 when(mPhone.getImsPhone()).thenReturn(mImsPhone); in testGetDomainSelectionConnectionWhenImsNotAvailable()
194 when(mPhone.getImsPhone()).thenReturn(mImsPhone); in testGetDomainSelectionConnectionWhenImsNotAvailableForEmergencyCall()
208 when(mPhone.getImsPhone()).thenReturn(mImsPhone); in testGetDomainSelectionConnection()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/metrics/
DVoiceCallSessionStatsTest.java252 doReturn(mImsPhone).when(mPhone).getImsPhone(); in singleImsCall_moRejected()
306 doReturn(mImsPhone).when(mPhone).getImsPhone(); in singleImsCall_moFailed()
350 doReturn(mImsPhone).when(mPhone).getImsPhone(); in singleImsCall_moStartFailed()
394 doReturn(mImsPhone).when(mPhone).getImsPhone(); in singleImsCall_moAccepted()
455 doReturn(mImsPhone).when(mPhone).getImsPhone(); in singleImsCall_mtRejected()
504 doReturn(mImsPhone).when(mPhone).getImsPhone(); in singleImsCall_mtStartFailed()
553 doReturn(mImsPhone).when(mPhone).getImsPhone(); in singleImsCall_mtAccepted()
614 doReturn(mImsPhone).when(mPhone).getImsPhone(); in singleImsCall_dsdsModeSingleSim()
661 doReturn(mImsPhone).when(mPhone).getImsPhone(); in singleImsCall_dsdsMode()
708 doReturn(mImsPhone).when(mSecondPhone).getImsPhone(); in singleImsCall_esim()
[all …]
DImsStatsTest.java129 doReturn(mImsPhone).when(mPhone).getImsPhone(); in setUp()
1058 doReturn(mSecondImsPhone).when(mSecondPhone).getImsPhone(); in secondSimMockSetup()
DServiceStateStatsTest.java119 doReturn(mImsPhone).when(mPhone).getImsPhone(); in setUp()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/
DSimultaneousCallingTrackerTest.java117 doReturn(mImsPhone).when(mPhone).getImsPhone(); in setUp()
118 doReturn(mImsPhone1).when(mPhone1).getImsPhone(); in setUp()
119 doReturn(mImsPhone2).when(mPhone2).getImsPhone(); in setUp()
DMultiSimSettingControllerTest.java156 doReturn(mPhone).when(mPhone).getImsPhone(); in setUp()
DServiceStateTrackerTest.java2682 .when(mPhone).getImsPhone(); in testLocaleTrackerUpdateWithImsRegistrationTechIwlan()
3082 doReturn(mImsPhone).when(mPhone).getImsPhone(); in testUpdateSpnDisplay_spnNotEmptyAndCrossSimCallingEnabled_showSpnOnly()
3355 doReturn(mImsPhone).when(mPhone).getImsPhone(); in testGetCombinedRegState()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/data/
DPhoneSwitcher.java437 if (isPhoneInVoiceCall(phone) || isPhoneInVoiceCall(phone.getImsPhone())) { in updatesIfPhoneInVoiceCallChanged()
512 if (phone.getImsPhone() != null) { in PhoneSwitcher()
513 phone.getImsPhone().registerForPreciseCallStateChanged( in PhoneSwitcher()
518 ((ImsPhone) phone.getImsPhone()).registerForImsRegistrationChanges( in PhoneSwitcher()
986 if (phone.getImsPhone() != null) { in onMultiSimConfigChanged()
987 phone.getImsPhone().registerForPreciseCallStateChanged( in onMultiSimConfigChanged()
992 ((ImsPhone) phone.getImsPhone()).registerForImsRegistrationChanges( in onMultiSimConfigChanged()
1049 Phone imsPhone = p.getImsPhone(); in isInEmergencyCallbackMode()
DDataSettingsManager.java304 if (hasCalling() && mPhone.getImsPhone() != null) { in onInitialize()
305 mPhone.getImsPhone().getCallTracker().registerForVoiceCallStarted( in onInitialize()
307 mPhone.getImsPhone().getCallTracker().registerForVoiceCallEnded( in onInitialize()
DDataNetwork.java1259 if (mPhone.getImsPhone() != null && mPhone.getImsPhone().getCallTracker() != null) {
1260 mPhone.getImsPhone().getCallTracker().registerForVoiceCallStarted(
1262 mPhone.getImsPhone().getCallTracker().registerForVoiceCallEnded(
1298 if (mPhone.getImsPhone() != null && mPhone.getImsPhone().getCallTracker() != null) {
1299 mPhone.getImsPhone().getCallTracker().unregisterForVoiceCallStarted(getHandler());
1300 mPhone.getImsPhone().getCallTracker().unregisterForVoiceCallEnded(getHandler());
2988 && mPhone.getImsPhone() != null
2989 && mPhone.getImsPhone().getCallTracker().getState()
DDataNetworkController.java1116 if (mPhone.getImsPhone() != null) { in onRegisterAllEvents()
1117 mPhone.getImsPhone().getCallTracker().registerForVoiceCallEnded( in onRegisterAllEvents()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DServiceStateStats.java359 ImsPhone imsPhone = (ImsPhone) phone.getImsPhone(); in getVoiceRat()
382 if (phone.getImsPhone() != null) { in isCrossSimCallingRegistered()
383 return phone.getImsPhone().getImsRegistrationTech() in isCrossSimCallingRegistered()
DVoiceCallSessionStats.java381 if (mPhone.getImsPhone() != null) { in onRilSrvccStateChanged()
382 handoverConnections = mPhone.getImsPhone().getHandoverConnection(); in onRilSrvccStateChanged()
784 ImsPhone imsPhone = (ImsPhone) phone.getImsPhone(); in getVoiceRatWithVoNRFix()
948 if (phone.getImsPhone() != null) { in isCrossSimCall()
949 return phone.getImsPhone().getImsRegistrationTech() in isCrossSimCall()
DMetricsCollector.java412 ImsPhone imsPhone = (ImsPhone) phone.getImsPhone(); in concludeImsStats()
/frameworks/opt/telephony/tests/telephonytests/src/com/android/internal/telephony/data/
DPhoneSwitcherTest.java202 doReturn(mPhone).when(mPhone).getImsPhone(); in setUp()
649 doReturn(mImsPhone).when(mPhone).getImsPhone(); in testSetPreferredDataCasePriority_CbrsWaitsForVoiceCall()
907 doReturn(mImsPhone).when(mPhone2).getImsPhone(); in testNonDefaultDataPhoneInCall_ImsCallOnLte_shouldSwitchDds()
936 doReturn(mImsPhone).when(mPhone2).getImsPhone(); in testNonDefaultDataPhoneInCall_ImsCallDialingOnLte_shouldSwitchDds()
970 doReturn(mImsPhone).when(mPhone2).getImsPhone(); in testNonDefaultDataPhoneInCall_ImsCallIncomingOnLte_shouldSwitchDds()
997 doReturn(mImsPhone).when(mPhone2).getImsPhone(); in testNonDefaultDataPhoneInCall_ImsCallOnWlan_shouldNotSwitchDds()
1025 doReturn(mImsPhone).when(mPhone2).getImsPhone(); in testNonDefaultDataPhoneInCall_ImsCallOnCrossSIM_HandoverToLTE()
1560 doReturn(mImsPhone).when(mPhone).getImsPhone(); in testSetPreferredDataCallback_voiceCall()
1808 doReturn(testImsPhone).when(mPhone).getImsPhone(); in testReceivingImsRegistrationTech()
1809 doReturn(testImsPhone).when(mPhone2).getImsPhone(); in testReceivingImsRegistrationTech()
DTelephonyNetworkFactoryTest.java155 doReturn(mPhone).when(mPhone).getImsPhone(); in setUp()
DDataNetworkTest.java382 doReturn(mImsPhone).when(mPhone).getImsPhone(); in setUp()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/domainselection/
DDomainSelectionResolver.java169 if (phone == null || phone.getImsPhone() == null in getDomainSelectionConnection()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cdnr/
DCarrierDisplayNameResolver.java480 if ((mPhone.getImsPhone() != null) && (mPhone.getImsPhone().getImsRegistrationTech() in resolveCarrierDisplayName()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/emergency/
DEmergencyStateTracker.java1957 Phone imsPhone = phone.getImsPhone(); in getRingingCall()

12