Home
last modified time | relevance | path

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

/frameworks/base/telephony/java/android/telephony/
DVisualVoicemailService.java252 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()
DTelephonyManager.java5358 public void onReceiveUssdResponse(final TelephonyManager telephonyManager, in onReceiveUssdResponse() argument
5370 public void onReceiveUssdResponseFailed(final TelephonyManager telephonyManager, in onReceiveUssdResponseFailed() argument
5390 final TelephonyManager telephonyManager = this; in sendUssdRequest() local
5400 callback.onReceiveUssdResponse(telephonyManager, response.getUssdRequest(), in sendUssdRequest()
5403 callback.onReceiveUssdResponseFailed(telephonyManager, in sendUssdRequest()
/frameworks/base/telephony/java/com/android/internal/telephony/
DCarrierAppUtils.java73 IPackageManager packageManager, TelephonyManager telephonyManager, in disableCarrierAppsUntilPrivileged() argument
83 disableCarrierAppsUntilPrivileged(callingPackage, packageManager, telephonyManager, in disableCarrierAppsUntilPrivileged()
117 IPackageManager packageManager, @Nullable TelephonyManager telephonyManager, in disableCarrierAppsUntilPrivileged() argument
140 boolean hasPrivileges = telephonyManager != null && in disableCarrierAppsUntilPrivileged()
141 telephonyManager.checkCarrierPrivilegesForPackageAnyPhone(packageName) == in disableCarrierAppsUntilPrivileged()
252 TelephonyManager telephonyManager, int userId) { in getDefaultCarrierApps() argument
266 telephonyManager.checkCarrierPrivilegesForPackageAnyPhone(packageName) == in getDefaultCarrierApps()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/util/
DVoicemailNotificationSettingsUtil.java99 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/packages/SettingsLib/src/com/android/settingslib/
DDeviceInfoUtils.java180 final TelephonyManager telephonyManager = in getFormattedPhoneNumber() local
183 telephonyManager.getLine1Number(subscriptionInfo.getSubscriptionId()); in getFormattedPhoneNumber()
196 final TelephonyManager telephonyManager = in getFormattedPhoneNumbers() local
200 final String rawNumber = telephonyManager.getLine1Number( in getFormattedPhoneNumbers()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DVisualVoicemailSmsFilter.java119 TelephonyManager telephonyManager = in filter() local
123 settings = telephonyManager.getActiveVisualVoicemailSmsFilterSettings(subId); in filter()
185 String mccMnc = telephonyManager.getSimOperator(subId); in filter()
DCarrierInfoManager.java49 final TelephonyManager telephonyManager = in getCarrierInfoForImsiEncryption() local
51 String networkOperator = telephonyManager.getNetworkOperator(); in getCarrierInfoForImsiEncryption()
DUiccSmsController.java272 TelephonyManager telephonyManager = in isSmsSimPickActivityNeeded() local
294 if (subInfoLength > 0 && telephonyManager.getSimCount() > 1) { in isSmsSimPickActivityNeeded()
DCarrierKeyDownloadManager.java255 final TelephonyManager telephonyManager = in getSimOperator() local
257 return telephonyManager.getSimOperator(mPhone.getSubId()); in getSimOperator()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DMockSystemServices.java93 public final TelephonyManager telephonyManager; field in MockSystemServices
126 telephonyManager = mock(TelephonyManager.class); in MockSystemServices()
DDevicePolicyManagerServiceTestable.java391 return services.telephonyManager; in getTelephonyManager()
DDevicePolicyManagerTest.java1846 when(getServices().telephonyManager.getCallState()) in testReboot()
1852 when(getServices().telephonyManager.getCallState()) in testReboot()
1858 … when(getServices().telephonyManager.getCallState()).thenReturn(TelephonyManager.CALL_STATE_IDLE); in testReboot()
/frameworks/base/services/core/java/com/android/server/
DMmsServiceBroker.java521 TelephonyManager telephonyManager = in adjustUriForUserAndGrantPermission() local
523 List<String> carrierPackages = telephonyManager.getCarrierPackageNamesForIntent( in adjustUriForUserAndGrantPermission()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkStatsService.java1438 final TelephonyManager telephonyManager = (TelephonyManager) mContext.getSystemService( in getNetworkStatsUidDetail() local
1442 final NetworkStats vtStats = telephonyManager.getVtDataUsage(STATS_PER_UID); in getNetworkStatsUidDetail()
1457 final TelephonyManager telephonyManager = (TelephonyManager) mContext.getSystemService( in getNetworkStatsXt() local
1461 final NetworkStats vtSnapshot = telephonyManager.getVtDataUsage(STATS_PER_IFACE); in getNetworkStatsXt()
/frameworks/opt/net/ims/src/java/com/android/ims/
DImsManager.java1130 final TelephonyManager telephonyManager = TelephonyManager.getDefault(); in isGbaValid() local
1131 String efIst = telephonyManager.getIsimIst(); in isGbaValid()
1153 final TelephonyManager telephonyManager = TelephonyManager.getDefault(); in isGbaValidForSlot() local
1154 String efIst = telephonyManager.getIsimIst(); in isGbaValidForSlot()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DNetworkControllerImpl.java162 TelephonyManager telephonyManager, WifiManager wifiManager, in NetworkControllerImpl() argument
182 mPhone = telephonyManager; in NetworkControllerImpl()
/frameworks/base/services/core/java/com/android/server/policy/
DLegacyGlobalActions.java150 TelephonyManager telephonyManager = in LegacyGlobalActions() local
152 telephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_SERVICE_STATE); in LegacyGlobalActions()
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/
DGlobalActionsDialog.java163 TelephonyManager telephonyManager = in GlobalActionsDialog() local
165 telephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_SERVICE_STATE); in GlobalActionsDialog()
/frameworks/base/services/usage/java/com/android/server/usage/
DUsageStatsService.java1109 TelephonyManager telephonyManager = in fetchCarrierPrivilegedAppsLA() local
1111 mCarrierPrivilegedApps = telephonyManager.getPackagesWithCarrierPrivileges(); in fetchCarrierPrivilegedAppsLA()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiConfigManager.java342 TelephonyManager telephonyManager, WifiKeyStore wifiKeyStore, in WifiConfigManager() argument
352 mTelephonyManager = telephonyManager; in WifiConfigManager()