/frameworks/base/telephony/java/android/telephony/ |
D | VisualVoicemailService.java | 252 TelephonyManager telephonyManager = context.getSystemService(TelephonyManager.class); in setSmsFilterSettings() local 255 telephonyManager.disableVisualVoicemailSmsFilter(subId); in setSmsFilterSettings() 257 telephonyManager.enableVisualVoicemailSmsFilter(subId, settings); in setSmsFilterSettings() 284 TelephonyManager telephonyManager = context.getSystemService(TelephonyManager.class); in sendVisualVoicemailSms() local 285 telephonyManager.sendVisualVoicemailSmsForSubscriber(getSubId(context, phoneAccountHandle), in sendVisualVoicemailSms() 290 TelephonyManager telephonyManager = context.getSystemService(TelephonyManager.class); in getSubId() local 292 return telephonyManager in getSubId()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/ |
D | DataUsageUtils.java | 36 final TelephonyManager telephonyManager = context.getSystemService( in getMobileTemplate() local 41 telephonyManager.createForSubscriptionId(subId).getSubscriberId()); in getMobileTemplate() 48 final String[] mergedSubscriberIds = telephonyManager.createForSubscriptionId(subId) in getMobileTemplate()
|
/frameworks/base/telephony/common/com/android/internal/telephony/ |
D | CarrierAppUtils.java | 79 IPackageManager packageManager, TelephonyManager telephonyManager, in disableCarrierAppsUntilPrivileged() argument 90 disableCarrierAppsUntilPrivileged(callingPackage, packageManager, telephonyManager, in disableCarrierAppsUntilPrivileged() 145 IPackageManager packageManager, @Nullable TelephonyManager telephonyManager, in disableCarrierAppsUntilPrivileged() argument 169 boolean hasPrivileges = telephonyManager != null in disableCarrierAppsUntilPrivileged() 170 && telephonyManager.checkCarrierPrivilegesForPackageAnyPhone(packageName) in disableCarrierAppsUntilPrivileged() 306 TelephonyManager telephonyManager, int userId) { in getDefaultCarrierApps() argument 320 telephonyManager.checkCarrierPrivilegesForPackageAnyPhone(packageName) in getDefaultCarrierApps()
|
D | SmsNumberUtils.java | 576 final TelephonyManager telephonyManager = ((TelephonyManager) context in filterDestAddr() local 578 final String networkOperator = telephonyManager.getNetworkOperator(); in filterDestAddr() 582 final int networkType = getNetworkType(telephonyManager); in filterDestAddr() 602 private static int getNetworkType(TelephonyManager telephonyManager) { in getNetworkType() argument 604 int phoneType = telephonyManager.getPhoneType(); in getNetworkType() 609 if (isInternationalRoaming(telephonyManager)) { in getNetworkType() 621 private static boolean isInternationalRoaming(TelephonyManager telephonyManager) { in isInternationalRoaming() argument 622 String operatorIsoCountry = telephonyManager.getNetworkCountryIso(); in isInternationalRoaming() 623 String simIsoCountry = telephonyManager.getSimCountryIso(); in isInternationalRoaming()
|
D | TelephonyPermissions.java | 670 TelephonyManager telephonyManager = (TelephonyManager) context.getSystemService( in getCarrierPrivilegeStatus() local 672 return telephonyManager.createForSubscriptionId(subId).getCarrierPrivilegeStatus(uid); in getCarrierPrivilegeStatus()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/util/ |
D | VoicemailNotificationSettingsUtil.java | 99 TelephonyManager telephonyManager = TelephonyManager.from(context); in migrateVoicemailVibrationSettingsIfNeeded() local 102 if (prefs.contains(key) || telephonyManager.getPhoneCount() != 1) { in migrateVoicemailVibrationSettingsIfNeeded() 138 TelephonyManager telephonyManager = TelephonyManager.from(context); in migrateVoicemailRingtoneSettingsIfNeeded() local 141 if (prefs.contains(key) || telephonyManager.getPhoneCount() != 1) { in migrateVoicemailRingtoneSettingsIfNeeded()
|
/frameworks/base/services/core/java/com/android/server/updates/ |
D | EmergencyNumberDbInstallReceiver.java | 40 TelephonyManager telephonyManager = (TelephonyManager) context.getSystemService( in postInstall() local 42 telephonyManager.notifyOtaEmergencyNumberDbInstalled(); in postInstall()
|
/frameworks/base/packages/Tethering/tests/unit/src/com/android/networkstack/tethering/ |
D | TetheringNotificationUpdaterTest.kt | 83 @Mock private lateinit var telephonyManager: TelephonyManager variable in com.android.networkstack.tethering.TetheringNotificationUpdaterTest 101 if (name == Context.TELEPHONY_SERVICE) telephonyManager in createContextAsUser() 285 doReturn(telephonyManager).`when`(telephonyManager).createForSubscriptionId(anyInt()) in testGetResourcesForSubId() 286 doReturn(1234).`when`(telephonyManager).getSimCarrierId() in testGetResourcesForSubId() 287 doReturn("000000").`when`(telephonyManager).getSimOperator() in testGetResourcesForSubId() 295 doReturn(VERIZON_CARRIER_ID).`when`(telephonyManager).getSimCarrierId() in testGetResourcesForSubId() 300 doReturn("20404").`when`(telephonyManager).getSimOperator() in testGetResourcesForSubId()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
D | DeviceInfoUtils.java | 182 final TelephonyManager telephonyManager = context.getSystemService( in getFormattedPhoneNumber() local 184 final String rawNumber = telephonyManager.createForSubscriptionId( in getFormattedPhoneNumber() 197 final TelephonyManager telephonyManager = context.getSystemService( in getFormattedPhoneNumbers() local 201 final String rawNumber = telephonyManager.createForSubscriptionId( in getFormattedPhoneNumbers()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/ |
D | PasspointNetworkEvaluator.java | 185 TelephonyManager telephonyManager = getTelephonyManager(); in createEphemeralProfileForMatchingAp() local 186 if (telephonyManager == null) { in createEphemeralProfileForMatchingAp() 189 if (TelephonyUtil.getCarrierType(telephonyManager) != TelephonyUtil.CARRIER_MNO_TYPE) { in createEphemeralProfileForMatchingAp() 195 String mccMnc = telephonyManager in createEphemeralProfileForMatchingAp()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | CarrierNetworkConfig.java | 137 TelephonyManager telephonyManager = in verifyCarrierImsiEncryptionInfoIsAvailable() local 139 if (telephonyManager == null) { in verifyCarrierImsiEncryptionInfoIsAvailable() 143 mLastImsiEncryptionInfo = telephonyManager in verifyCarrierImsiEncryptionInfoIsAvailable()
|
D | SarManager.java | 99 TelephonyManager telephonyManager, in SarManager() argument 105 mTelephonyManager = telephonyManager; in SarManager()
|
/frameworks/base/services/core/java/com/android/server/power/ |
D | ShutdownThread.java | 597 TelephonyManager telephonyManager = mContext.getSystemService( in shutdownRadios() 600 radioOff = telephonyManager == null in shutdownRadios() 601 || !telephonyManager.isAnyRadioPoweredOn(); in shutdownRadios() 605 telephonyManager.shutdownAllRadios(); in shutdownRadios() 620 radioOff = !telephonyManager.isAnyRadioPoweredOn(); in shutdownRadios()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | CarrierInfoManager.java | 213 final TelephonyManager telephonyManager = in deleteCarrierInfoForImsiEncryption() local 215 String simOperator = telephonyManager.getSimOperator(); in deleteCarrierInfoForImsiEncryption()
|
D | VisualVoicemailSmsFilter.java | 120 TelephonyManager telephonyManager = in filter() local 124 settings = telephonyManager.getActiveVisualVoicemailSmsFilterSettings(subId); in filter()
|
D | CarrierKeyDownloadManager.java | 293 final TelephonyManager telephonyManager = in getSimOperator() local 295 return telephonyManager.getSimOperator(mPhone.getSubId()); in getSimOperator()
|
/frameworks/base/services/core/java/com/android/server/location/ |
D | GnssNetworkConnectivityHandler.java | 325 TelephonyManager telephonyManager = mContext.getSystemService(TelephonyManager.class); 326 if (telephonyManager != null) { 327 networkAvailable = isConnected && telephonyManager.getDataEnabled();
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/omadm/ |
D | DevDetailMo.java | 210 TelephonyManager telephonyManager = context.getSystemService(TelephonyManager.class); in serializeToXml() local 211 String imsi = telephonyManager in serializeToXml()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | CarrierTextController.java | 222 TelephonyManager telephonyManager = getTelephonyManager(); in setListening() local 230 telephonyManager.listen(mPhoneStateListener, in setListening() 243 telephonyManager.listen(mPhoneStateListener, LISTEN_NONE); in setListening()
|
D | KeyguardSimPinView.java | 258 TelephonyManager telephonyManager = in run() local 261 final PinResult result = telephonyManager.supplyPinReportPinResult(mPin); in run()
|
D | KeyguardSimPukView.java | 319 TelephonyManager telephonyManager = in run() local 322 final PinResult result = telephonyManager.supplyPukReportPinResult(mPuk, mPin); in run()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/ |
D | UiccController.java | 650 TelephonyManager telephonyManager = (TelephonyManager) context.getSystemService( in updateInternalIccStateForInactiveSlot() local 652 telephonyManager.setSimStateForPhone(prevActivePhoneId, in updateInternalIccStateForInactiveSlot() 666 TelephonyManager telephonyManager = (TelephonyManager) context.getSystemService( in updateInternalIccState() local 668 telephonyManager.setSimStateForPhone(phoneId, state.toString()); in updateInternalIccState()
|
/frameworks/base/services/core/java/com/android/server/ |
D | MmsServiceBroker.java | 518 TelephonyManager telephonyManager = (TelephonyManager) in adjustUriForUserAndGrantPermission() local 520 List<String> carrierPackages = telephonyManager in adjustUriForUserAndGrantPermission()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/ |
D | MockSystemServices.java | 107 public final TelephonyManager telephonyManager; field in MockSystemServices 146 telephonyManager = mock(TelephonyManager.class); in MockSystemServices()
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | LegacyGlobalActions.java | 144 TelephonyManager telephonyManager = in LegacyGlobalActions() local 146 telephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_SERVICE_STATE); in LegacyGlobalActions()
|