Home
last modified time | relevance | path

Searched refs:telephonyManager (Results 1 – 17 of 17) 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.java5182 public void onReceiveUssdResponse(final TelephonyManager telephonyManager, in onReceiveUssdResponse() argument
5194 public void onReceiveUssdResponseFailed(final TelephonyManager telephonyManager, in onReceiveUssdResponseFailed() argument
5214 final TelephonyManager telephonyManager = this; in sendUssdRequest() local
5224 callback.onReceiveUssdResponse(telephonyManager, response.getUssdRequest(), in sendUssdRequest()
5227 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.java179 final TelephonyManager telephonyManager = in getFormattedPhoneNumber() local
182 telephonyManager.getLine1Number(subscriptionInfo.getSubscriptionId()); in getFormattedPhoneNumber()
195 final TelephonyManager telephonyManager = in getFormattedPhoneNumbers() local
199 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()
DUiccSmsController.java268 TelephonyManager telephonyManager = in isSmsSimPickActivityNeeded() local
290 if (subInfoLength > 0 && telephonyManager.getSimCount() > 1) { in isSmsSimPickActivityNeeded()
/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/
DDevicePolicyManagerServiceTestable.java393 return context.telephonyManager; in getTelephonyManager()
DDpmMockContext.java305 public final TelephonyManager telephonyManager; field in DpmMockContext
407 telephonyManager = mock(TelephonyManager.class); in DpmMockContext()
DDevicePolicyManagerTest.java1960 when(mContext.telephonyManager.getCallState()) in testReboot()
1970 when(mContext.telephonyManager.getCallState()) in testReboot()
1980 when(mContext.telephonyManager.getCallState()).thenReturn(TelephonyManager.CALL_STATE_IDLE); in testReboot()
/frameworks/opt/net/ims/src/java/com/android/ims/
DImsManager.java1076 final TelephonyManager telephonyManager = TelephonyManager.getDefault(); in isGbaValid() local
1077 String efIst = telephonyManager.getIsimIst(); in isGbaValid()
1099 final TelephonyManager telephonyManager = TelephonyManager.getDefault(); in isGbaValidForSlot() local
1100 String efIst = telephonyManager.getIsimIst(); in isGbaValidForSlot()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DNetworkControllerImpl.java169 TelephonyManager telephonyManager, in NetworkControllerImpl() argument
192 mPhone = telephonyManager; in NetworkControllerImpl()
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/
DGlobalActionsDialog.java148 TelephonyManager telephonyManager = in GlobalActionsDialog() local
150 telephonyManager.listen(mPhoneStateListener, PhoneStateListener.LISTEN_SERVICE_STATE); in GlobalActionsDialog()
/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/services/usage/java/com/android/server/usage/
DUsageStatsService.java1106 TelephonyManager telephonyManager = in fetchCarrierPrivilegedAppsLA() local
1108 mCarrierPrivilegedApps = telephonyManager.getPackagesWithCarrierPrivileges(); in fetchCarrierPrivilegedAppsLA()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiConfigManager.java339 TelephonyManager telephonyManager, WifiKeyStore wifiKeyStore, in WifiConfigManager() argument
349 mTelephonyManager = telephonyManager; in WifiConfigManager()