Home
last modified time | relevance | path

Searched refs:getTelephonyManager (Results 1 – 20 of 20) sorted by relevance

/packages/services/Telephony/src/com/android/phone/vvm/
DVvmSimStateTracker.java82 TelephonyManager telephonyManager = getTelephonyManager(mContext, mPhoneAccountHandle); in listen()
157 TelephonyManager telephonyManager = getTelephonyManager(context, phoneAccountHandle); in onBootCompleted()
217 TelephonyManager telephonyManager = getTelephonyManager(context, phoneAccountHandle); in onCarrierConfigChanged()
245 private static TelephonyManager getTelephonyManager(Context context, in getTelephonyManager() method in VvmSimStateTracker
/packages/apps/Settings/src/com/android/settings/network/telephony/
DWifiCallingPreferenceController.java138 final boolean isRoaming = getTelephonyManager(mContext, subId) in getResourceIdForWfcMode()
183 TelephonyManager getTelephonyManager(Context context, int subId) { in getTelephonyManager() method in WifiCallingPreferenceController
209 mTelephonyManager = getTelephonyManager(context, subId); in register()
DRenameMobileNetworkDialogFragment.java78 protected TelephonyManager getTelephonyManager(Context context) { in getTelephonyManager() method in RenameMobileNetworkDialogFragment
100 mTelephonyManager = getTelephonyManager(context); in onAttach()
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DNewOutgoingCallIntentBroadcasterTest.java221 doReturn(true).when(mComponentContextFixture.getTelephonyManager()) in testEmergencyCallWithNonDefaultDialer()
292 doReturn(false).when(mComponentContextFixture.getTelephonyManager()) in testActionEmergencyWithNonEmergencyNumber()
306 doReturn(true).when(mComponentContextFixture.getTelephonyManager()) in emergencyCallTestHelper()
428 doReturn(true).when(mComponentContextFixture.getTelephonyManager())
441 doThrow(new IllegalStateException()).when(mComponentContextFixture.getTelephonyManager())
DCallsManagerTest.java1080 when(mComponentContextFixture.getTelephonyManager().isEmergencyNumber(any())) in testIsInEmergencyCallLocal()
1095 when(mComponentContextFixture.getTelephonyManager().isEmergencyNumber(any())) in testIsInEmergencyCallLocalDisconnected()
1112 when(mComponentContextFixture.getTelephonyManager().isEmergencyNumber(any())) in testHasEmergencyCallIncomingCallPermitted()
1131 when(mComponentContextFixture.getTelephonyManager().isEmergencyNumber(any())) in testMakeRoomForOutgoingCallAudioProcessingInProgress()
1146 when(mComponentContextFixture.getTelephonyManager().isEmergencyNumber(any())) in testMakeRoomForEmergencyDuringIncomingCall()
1161 when(mComponentContextFixture.getTelephonyManager().isEmergencyNumber(any())) in testMakeRoomForEmergencyCallSimulatedRingingInProgress()
1177 when(mComponentContextFixture.getTelephonyManager().isEmergencyNumber(any())) in testMakeRoomForEmergencyCallSimulatedRingingInProgressHasBeenActive()
1196 when(mComponentContextFixture.getTelephonyManager().isEmergencyNumber(any())) in testMakeRoomForEmergencyCallDuringActiveAndRingingCallDisconnectRinging()
1498 TelephonyManager mockTelephonyManager = mComponentContextFixture.getTelephonyManager(); in setupMsimAccounts()
DTelecomSystemTest.java356 doReturn(false).when(mComponentContextFixture.getTelephonyManager()) in setUp()
358 doReturn(false).when(mComponentContextFixture.getTelephonyManager()) in setUp()
585 doReturn(true).when(mComponentContextFixture.getTelephonyManager()) in setupInCallServices()
709 doReturn(true).when(mComponentContextFixture.getTelephonyManager()) in startOutgoingEmergencyCall()
711 doReturn(true).when(mComponentContextFixture.getTelephonyManager()) in startOutgoingEmergencyCall()
DParcelableCallUtilsTest.java62 when(mComponentContextFixture.getTelephonyManager().isEmergencyNumber(any())) in setUp()
DComponentContextFixture.java616 public TelephonyManager getTelephonyManager() {
DBluetoothPhoneServiceTest.java249 when(mComponentContextFixture.getTelephonyManager().getLine1Number()) in testGetSubscriberNumberFallbackToTelephony()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/telephony/
DRenameMobileNetworkDialogFragment.java65 protected TelephonyManager getTelephonyManager(Context context) { in getTelephonyManager() method in RenameMobileNetworkDialogFragment
82 mTelephonyManager = getTelephonyManager(context); in onAttach()
/packages/apps/Settings/src/com/android/settings/
DCryptKeeper.java760 if (!getTelephonyManager().isVoiceCapable()) { in passwordEntryInit()
918 if (!getTelephonyManager().isLteCdmaEvdoGsmWcdmaEnabled()) { in setAirplaneModeIfNecessary()
964 return getTelephonyManager().isVoiceCapable(); in isEmergencyCallCapable()
985 private TelephonyManager getTelephonyManager() { in getTelephonyManager() method in CryptKeeper
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DCryptKeeper.java760 if (!getTelephonyManager().isVoiceCapable()) { in passwordEntryInit()
918 if (!getTelephonyManager().isLteCdmaEvdoGsmWcdmaEnabled()) { in setAirplaneModeIfNecessary()
964 return getTelephonyManager().isVoiceCapable(); in isEmergencyCallCapable()
985 private TelephonyManager getTelephonyManager() { in getTelephonyManager() method in CryptKeeper
/packages/services/Mms/src/com/android/mms/service/
DMmsService.java144 private TelephonyManager getTelephonyManager(int subId) { in getTelephonyManager() method in MmsService
170 TelephonyManager telephonyManager = getTelephonyManager(subId); in getCarrierMessagingServicePackageIfExists()
219 if (!getTelephonyManager(subId).isDataEnabledForApn(ApnSetting.TYPE_MMS)) {
265 if (!getTelephonyManager(subId).isDataEnabledForApn(ApnSetting.TYPE_MMS)) {
/packages/services/Telecomm/src/com/android/server/telecom/
DTelecomServiceImpl.java620 return getTelephonyManager(subId).getVoiceMailNumber();
655 return getTelephonyManager(subId).getLine1Number();
997 retval = getTelephonyManager(
1040 retval = getTelephonyManager(subId)
2247 private TelephonyManager getTelephonyManager(int subId) { in getTelephonyManager() method in TelecomServiceImpl
DCall.java1214 getTelephonyManager().isEmergencyNumber( in setHandle()
1236 getTelephonyManager().getEmergencyNumberList(); in isTestEmergencyCall()
3632 private TelephonyManager getTelephonyManager() { in getTelephonyManager() method in Call
DCallsManager.java1948 handle != null && getTelephonyManager().isPotentialEmergencyNumber(
2691 getTelephonyManager().getMaxNumberOfSimultaneouslyActiveSims();
2715 private TelephonyManager getTelephonyManager() {
/packages/apps/Car/libs/car-telephony-common/src/com/android/car/telephony/common/
DTelecomUtils.java77 sVoicemailNumber = getTelephonyManager(context).getVoiceMailNumber(); in getVoicemailNumber()
104 public static TelephonyManager getTelephonyManager(Context context) { in getTelephonyManager() method in TelecomUtils
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/telephony/
DWifiCallingPreferenceControllerTest.java96 when(mController.getTelephonyManager(mContext, SUB_ID)).thenReturn(mTelephonyManager); in setUp()
/packages/apps/Dialer/java/com/android/dialer/dialpadview/
DDialpadFragment.java302 private TelephonyManager getTelephonyManager() { in getTelephonyManager() method in DialpadFragment
1418 return getTelephonyManager().getPhoneType() == TelephonyManager.PHONE_TYPE_CDMA; in phoneIsCdma()
1520 return !TextUtils.isEmpty(getTelephonyManager().getVoiceMailNumber()); in isVoicemailAvailable()
/packages/apps/Dialer/java/com/android/dialer/main/impl/
DOldMainActivityPeer.java411 return !TextUtils.isEmpty(getTelephonyManager(context).getVoiceMailNumber()); in isVoicemailAvailable()
418 private static TelephonyManager getTelephonyManager(Context context) { in getTelephonyManager() method in OldMainActivityPeer