Home
last modified time | relevance | path

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

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/
DDataUsageController.java209 public TelephonyManager getTelephonyManager() { in getTelephonyManager() method in DataUsageController
231 getTelephonyManager().setDataEnabled(enabled); in setMobileDataEnabled()
240 && getTelephonyManager().getSimState() == SIM_STATE_READY; in isMobileDataSupported()
244 return getTelephonyManager().isDataEnabled(); in isMobileDataEnabled()
267 final String actualSubscriberId = getTelephonyManager().getSubscriberId(); in getActiveSubscriberId()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/net/
DDataUsageControllerTest.java167 assertThat(mController.getTelephonyManager()).isEqualTo(tmForSub1); in getTelephonyManager_shouldCreateWithExplicitSubId()
179 assertThat(mController.getTelephonyManager()).isEqualTo(tmForDefaultSub); in getTelephonyManager_noExplicitSubId_shouldCreateWithDefaultDataSubId()
196 assertThat(mController.getTelephonyManager()).isEqualTo(tmForActiveSub); in getTelephonyManager_noExplicitSubIdOrDefaultSub_shouldCreateWithActiveSub()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DCarrierTextController.java158 mIsEmergencyCallCapable = getTelephonyManager().isVoiceCapable(); in CarrierTextController()
166 mSimSlotsNumber = getTelephonyManager().getSupportedModemCount(); in CarrierTextController()
170 private TelephonyManager getTelephonyManager() { in getTelephonyManager() method in CarrierTextController
189 for (int index = 0; index < getTelephonyManager().getActiveModemCount(); index++) { in updateCarrierTextWithSimIoError()
222 TelephonyManager telephonyManager = getTelephonyManager(); in setListening()
DEmergencyButton.java96 mIsVoiceCapable = getTelephonyManager().isVoiceCapable(); in EmergencyButton()
102 private TelephonyManager getTelephonyManager() { in getTelephonyManager() method in EmergencyButton
/frameworks/opt/net/ims/src/java/com/android/ims/
DMmTelFeatureConnection.java212 TelephonyManager tm = serviceProxy.getTelephonyManager(); in create()
253 TelephonyManager tm = getTelephonyManager(); in removeImsFeatureCallback()
266 TelephonyManager tm = getTelephonyManager(); in getConfig()
566 TelephonyManager tm = getTelephonyManager(); in getRegistrationBinder()
DRcsFeatureConnection.java172 TelephonyManager tm = getTelephonyManager(); in removeImsFeatureCallback()
334 TelephonyManager tm = getTelephonyManager(); in getRegistrationBinder()
DFeatureConnection.java89 protected TelephonyManager getTelephonyManager() { in getTelephonyManager() method in FeatureConnection
/frameworks/base/core/java/com/android/internal/policy/
DPhoneFallbackEventHandler.java102 if (getTelephonyManager().getCallState() != TelephonyManager.CALL_STATE_IDLE) { in onKeyDown()
297 TelephonyManager getTelephonyManager() { in getTelephonyManager() method in PhoneFallbackEventHandler
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/hotspot2/
DPasspointNetworkEvaluator.java86 private TelephonyManager getTelephonyManager() { in getTelephonyManager() method in PasspointNetworkEvaluator
185 TelephonyManager telephonyManager = getTelephonyManager(); in createEphemeralProfileForMatchingAp()
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DCarrierNetworkEvaluator.java66 private TelephonyManager getTelephonyManager() { in getTelephonyManager() method in CarrierNetworkEvaluator
DClientModeImpl.java755 private TelephonyManager getTelephonyManager() { in getTelephonyManager() method in ClientModeImpl
4180 TelephonyUtil.getSimIdentity(getTelephonyManager(), in processMessage()
4310 getTelephonyManager()); in processMessage()
4483 .decoratePseudonymWith3GppRealm(getTelephonyManager(), in processMessage()
4764 getTelephonyManager() in handleEapAuthFailure()
6141 TelephonyUtil.getGsmSimAuthResponse(requestData.data, getTelephonyManager()); in handleGsmAuthRequest()
6145 getTelephonyManager()); in handleGsmAuthRequest()
6149 getTelephonyManager()); in handleGsmAuthRequest()
6173 TelephonyUtil.get3GAuthResponse(requestData, getTelephonyManager()); in handle3GAuthRequest()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyManagerServiceTestable.java423 TelephonyManager getTelephonyManager() { in getTelephonyManager() method in DevicePolicyManagerServiceTestable.MockInjector
/frameworks/base/services/core/java/com/android/server/
DTelephonyRegistry.java353 int numPhones = getTelephonyManager().getPhoneCount();
440 private TelephonyManager getTelephonyManager() { in getTelephonyManager() method in TelephonyRegistry
446 mNumPhones = getTelephonyManager().getActiveModemCount(); in onMultiSimConfigChanged()
549 int numPhones = getTelephonyManager().getActiveModemCount(); in TelephonyRegistry()
2347 for (int i = 0; i < getTelephonyManager().getPhoneCount(); i++) { in dump()
DMmsServiceBroker.java310 private TelephonyManager getTelephonyManager() { in getTelephonyManager() method in MmsServiceBroker
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DDatabaseHelper.java953 if (!getTelephonyManager().isVoiceCapable()) { in onUpgrade()
2695 private TelephonyManager getTelephonyManager() { in getTelephonyManager() method in DatabaseHelper
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java1945 TelephonyManager getTelephonyManager() { in getTelephonyManager() method in DevicePolicyManagerService.Injector
2229 mTelephonyManager = Preconditions.checkNotNull(injector.getTelephonyManager()); in DevicePolicyManagerService()
/frameworks/base/services/
Dart-profile6169 HSPLcom/android/server/devicepolicy/DevicePolicyManagerService$Injector;->getTelephonyManager()Land…