Home
last modified time | relevance | path

Searched refs:telephonyManager (Results 1 – 21 of 21) 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()
/frameworks/base/telephony/java/com/android/internal/telephony/
DCarrierAppUtils.java75 IPackageManager packageManager, TelephonyManager telephonyManager, in disableCarrierAppsUntilPrivileged() argument
85 disableCarrierAppsUntilPrivileged(callingPackage, packageManager, telephonyManager, in disableCarrierAppsUntilPrivileged()
121 IPackageManager packageManager, @Nullable TelephonyManager telephonyManager, in disableCarrierAppsUntilPrivileged() argument
144 boolean hasPrivileges = telephonyManager != null && in disableCarrierAppsUntilPrivileged()
145 telephonyManager.checkCarrierPrivilegesForPackageAnyPhone(packageName) == in disableCarrierAppsUntilPrivileged()
256 TelephonyManager telephonyManager, int userId) { in getDefaultCarrierApps() argument
270 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.java175 final TelephonyManager telephonyManager = in getFormattedPhoneNumber() local
178 telephonyManager.getLine1Number(subscriptionInfo.getSubscriptionId()); in getFormattedPhoneNumber()
191 final TelephonyManager telephonyManager = in getFormattedPhoneNumbers() local
195 final String rawNumber = telephonyManager.getLine1Number( in getFormattedPhoneNumbers()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DCarrierInfoManager.java63 final TelephonyManager telephonyManager = in getCarrierInfoForImsiEncryption() local
65 String simOperator = telephonyManager.getSimOperator(); in getCarrierInfoForImsiEncryption()
214 final TelephonyManager telephonyManager = in deleteCarrierInfoForImsiEncryption() local
216 String simOperator = telephonyManager.getSimOperator(); in deleteCarrierInfoForImsiEncryption()
DVisualVoicemailSmsFilter.java120 TelephonyManager telephonyManager = in filter() local
124 settings = telephonyManager.getActiveVisualVoicemailSmsFilterSettings(subId); in filter()
186 String mccMnc = telephonyManager.getSimOperator(subId); in filter()
DUiccSmsController.java303 TelephonyManager telephonyManager = in isSmsSimPickActivityNeeded() local
325 if (subInfoLength > 0 && telephonyManager.getSimCount() > 1) { in isSmsSimPickActivityNeeded()
DCarrierKeyDownloadManager.java276 final TelephonyManager telephonyManager = in getSimOperator() local
278 return telephonyManager.getSimOperator(mPhone.getSubId()); in getSimOperator()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DCarrierNetworkConfig.java122 TelephonyManager telephonyManager = in verifyCarrierImsiEncryptionInfoIsAvailable() local
124 if (telephonyManager == null) { in verifyCarrierImsiEncryptionInfoIsAvailable()
128 ImsiEncryptionInfo imsiEncryptionInfo = telephonyManager in verifyCarrierImsiEncryptionInfoIsAvailable()
DSarManager.java74 TelephonyManager telephonyManager, in SarManager() argument
78 mTelephonyManager = telephonyManager; in SarManager()
DWifiConfigManager.java342 TelephonyManager telephonyManager, WifiKeyStore wifiKeyStore, in WifiConfigManager() argument
352 mTelephonyManager = telephonyManager; in WifiConfigManager()
/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/tests/servicestests/src/com/android/server/devicepolicy/
DMockSystemServices.java103 public final TelephonyManager telephonyManager; field in MockSystemServices
140 telephonyManager = mock(TelephonyManager.class); in MockSystemServices()
DDevicePolicyManagerServiceTestable.java416 return services.telephonyManager; in getTelephonyManager()
DDevicePolicyManagerTest.java2020 when(getServices().telephonyManager.getCallState()) in testReboot()
2026 when(getServices().telephonyManager.getCallState()) in testReboot()
2032 … when(getServices().telephonyManager.getCallState()).thenReturn(TelephonyManager.CALL_STATE_IDLE); in testReboot()
/frameworks/base/services/core/java/com/android/server/policy/
DLegacyGlobalActions.java146 TelephonyManager telephonyManager = in LegacyGlobalActions() local
148 telephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_SERVICE_STATE); in LegacyGlobalActions()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkStatsService.java1613 final TelephonyManager telephonyManager = (TelephonyManager) mContext.getSystemService( in getNetworkStatsUidDetail() local
1617 final NetworkStats vtStats = telephonyManager.getVtDataUsage(STATS_PER_UID); in getNetworkStatsUidDetail()
1635 final TelephonyManager telephonyManager = (TelephonyManager) mContext.getSystemService( in getNetworkStatsXt() local
1639 final NetworkStats vtSnapshot = telephonyManager.getVtDataUsage(STATS_PER_IFACE); in getNetworkStatsXt()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DNetworkControllerImpl.java166 TelephonyManager telephonyManager, WifiManager wifiManager, in NetworkControllerImpl() argument
186 mPhone = telephonyManager; in NetworkControllerImpl()
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/
DGlobalActionsDialog.java186 TelephonyManager telephonyManager = in GlobalActionsDialog() local
188 telephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_SERVICE_STATE); in GlobalActionsDialog()
/frameworks/opt/net/ims/src/java/com/android/ims/
DImsManager.java1207 final TelephonyManager telephonyManager = new TelephonyManager(mContext, getSubId()); in isGbaValid() local
1208 String efIst = telephonyManager.getIsimIst(); in isGbaValid()
/frameworks/base/services/usage/java/com/android/server/usage/
DAppStandbyController.java1300 TelephonyManager telephonyManager = in fetchCarrierPrivilegedAppsLocked() local
1302 mCarrierPrivilegedApps = telephonyManager.getPackagesWithCarrierPrivileges(); in fetchCarrierPrivilegedAppsLocked()