Home
last modified time | relevance | path

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

/frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/
DDataUsageController.java170 public TelephonyManager getTelephonyManager() { in getTelephonyManager() method in DataUsageController
192 getTelephonyManager().setDataEnabled(enabled); in setMobileDataEnabled()
200 return getTelephonyManager().isDataCapable() in isMobileDataSupported()
201 && getTelephonyManager().getSimState() == SIM_STATE_READY; in isMobileDataSupported()
205 return getTelephonyManager().isDataEnabled(); in isMobileDataEnabled()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/net/
DDataUsageControllerTest.java161 assertThat(mController.getTelephonyManager()).isEqualTo(tmForSub1); in getTelephonyManager_shouldCreateWithExplicitSubId()
173 assertThat(mController.getTelephonyManager()).isEqualTo(tmForDefaultSub); in getTelephonyManager_noExplicitSubId_shouldCreateWithDefaultDataSubId()
190 assertThat(mController.getTelephonyManager()).isEqualTo(tmForActiveSub); in getTelephonyManager_noExplicitSubIdOrDefaultSub_shouldCreateWithActiveSub()
/frameworks/opt/net/ims/src/java/com/android/ims/rcs/uce/presence/publish/
DPublishUtils.java69 TelephonyManager telephonyManager = getTelephonyManager(context, subId); in getDeviceContactUri()
154 private static TelephonyManager getTelephonyManager(Context context, int subId) { in getTelephonyManager() method in PublishUtils
/frameworks/base/services/core/java/com/android/server/vcn/
DVcn.java367 getTelephonyManager().unregisterTelephonyCallback(listener); in handleTeardown()
504 getTelephonyManager().unregisterTelephonyCallback(entry.getValue()); in updateMobileDataStateListeners()
565 private TelephonyManager getTelephonyManager() { in getTelephonyManager() method in Vcn
570 return getTelephonyManager().createForSubscriptionId(subid); in getTelephonyManagerForSubid()
/frameworks/opt/net/ims/src/java/com/android/ims/
DFeatureConnection.java70 protected TelephonyManager getTelephonyManager() { in getTelephonyManager() method in FeatureConnection
/frameworks/base/services/core/java/com/android/server/power/stats/
DMobileRadioPowerStatsCollector.java81 TelephonyManager getTelephonyManager(); in getTelephonyManager() method
140 mTelephonyManager = mInjector.getTelephonyManager(); in ensureInitialized()
DBatteryStatsImpl.java2051 public TelephonyManager getTelephonyManager() { in getTelephonyManager() method in BatteryStatsImpl.PowerStatsCollectorInjector
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DCarrierTextManager.java216 mSimSlotsNumber = getTelephonyManager().getSupportedModemCount(); in CarrierTextManager()
236 private TelephonyManager getTelephonyManager() { in getTelephonyManager() method in CarrierTextManager
255 for (int index = 0; index < getTelephonyManager().getActiveModemCount(); index++) { in updateCarrierTextWithSimIoError()
/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/
DPhoneCallPowerStatsProcessorTest.java126 public TelephonyManager getTelephonyManager() {
DMobileRadioPowerStatsProcessorTest.java142 public TelephonyManager getTelephonyManager() {
DMobileRadioPowerStatsCollectorTest.java151 public TelephonyManager getTelephonyManager() {
/frameworks/base/core/java/com/android/internal/policy/
DPhoneFallbackEventHandler.java286 TelephonyManager getTelephonyManager() { in getTelephonyManager() method in PhoneFallbackEventHandler
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyManagerServiceTestable.java411 TelephonyManager getTelephonyManager() { in getTelephonyManager() method in DevicePolicyManagerServiceTestable.MockInjector
/frameworks/base/services/core/java/com/android/server/
DMmsServiceBroker.java315 private TelephonyManager getTelephonyManager() { in getTelephonyManager() method in MmsServiceBroker
DTelephonyRegistry.java585 int numPhones = getTelephonyManager().getActiveModemCount();
676 private TelephonyManager getTelephonyManager() { in getTelephonyManager() method in TelephonyRegistry
683 mNumPhones = getTelephonyManager().getActiveModemCount(); in onMultiSimConfigChanged()
813 int numPhones = getTelephonyManager().getActiveModemCount(); in TelephonyRegistry()
3551 for (int i = 0; i < getTelephonyManager().getActiveModemCount(); i++) { in dump()
4057 boolean valid = (phoneId >= 0) && (phoneId < getTelephonyManager().getActiveModemCount()); in validatePhoneId()
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/
DDatabaseHelper.java943 if (!getTelephonyManager().isVoiceCapable()) { in onUpgrade()
2540 TelephonyManager telephonyManager = getTelephonyManager(); in loadGlobalSettings()
2656 private TelephonyManager getTelephonyManager() { in getTelephonyManager() method in DatabaseHelper
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/dialog/
DInternetDialogDelegate.java208 mTelephonyManager = mInternetDialogController.getTelephonyManager(); in InternetDialogDelegate()
DInternetDialogController.java895 TelephonyManager getTelephonyManager() {
/frameworks/base/services/core/java/com/android/server/am/
DAppRestrictionController.java3002 final TelephonyManager telephonyManager = mInjector.getTelephonyManager();
3018 final TelephonyManager telephonyManager = mInjector.getTelephonyManager();
3346 TelephonyManager getTelephonyManager() {
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/
DBackgroundRestrictionTest.java350 mInjector.getTelephonyManager(), MOCK_PRIVILEGED_PACKAGES.length); in initController()
3312 TelephonyManager getTelephonyManager() { in getTelephonyManager() method in BackgroundRestrictionTest.TestBgRestrictionInjector
/frameworks/base/apex/jobscheduler/service/java/com/android/server/
DDeviceIdleController.java2549 TelephonyManager getTelephonyManager() { in getTelephonyManager() method in DeviceIdleController.Injector
2801 mInjector.getTelephonyManager().registerTelephonyCallback( in onBootPhase()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/
DDeviceIdleControllerTest.java249 TelephonyManager getTelephonyManager() { in getTelephonyManager() method in DeviceIdleControllerTest.InjectorForTest
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java1751 TelephonyManager getTelephonyManager() { in getTelephonyManager() method in Injector
2087 mTelephonyManager = Objects.requireNonNull(injector.getTelephonyManager()); in DevicePolicyManagerService()
/frameworks/base/services/
Dart-wear-profile2086 PLcom/android/server/DeviceIdleController$Injector;->getTelephonyManager()Landroid/telephony/Teleph…
3013 PLcom/android/server/TelephonyRegistry;->getTelephonyManager()Landroid/telephony/TelephonyManager;
5219 PLcom/android/server/am/AppRestrictionController$Injector;->getTelephonyManager()Landroid/telephony…
9636 PLcom/android/server/devicepolicy/DevicePolicyManagerService$Injector;->getTelephonyManager()Landro…