/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/emergencynumber/ |
D | EmergencyNumberUtilsTest.java | 84 when(mPackageManager.hasSystemFeature(PackageManager.FEATURE_TELEPHONY)).thenReturn(false); in getDefaultPoliceNumber_noTelephony_shouldReturnDefault() 93 when(mPackageManager.hasSystemFeature(PackageManager.FEATURE_TELEPHONY)).thenReturn(true); in getDefaultPoliceNumber_hasTelephony_shouldLoadFromTelephony() 104 when(mPackageManager.hasSystemFeature(PackageManager.FEATURE_TELEPHONY)).thenReturn(true); in getPoliceNumber_hasUserOverride_shouldLoadFromUserOverride() 119 when(mPackageManager.hasSystemFeature(PackageManager.FEATURE_TELEPHONY)).thenReturn(true); in getPoliceNumber_noUserOverride_shouldLoadFromTelephony() 130 when(mPackageManager.hasSystemFeature(PackageManager.FEATURE_TELEPHONY)).thenReturn(true); in getPoliceNumber_hasCarrierPrefix_shouldRemovePrefix()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/connectivity/ |
D | ConnectivitySubsystemsRecoveryManagerTest.java | 55 when(mPackageManager.hasSystemFeature(PackageManager.FEATURE_TELEPHONY)).thenReturn(true); in setUp() 78 when(mPackageManager.hasSystemFeature(PackageManager.FEATURE_TELEPHONY)).thenReturn(false); in startTrackingTelephonyRestart_hasNoTelephonyFeature_shouldNotCrash() 87 when(mPackageManager.hasSystemFeature(PackageManager.FEATURE_TELEPHONY)).thenReturn(false); in stopTrackingTelephonyRestart_hasNoTelephonyFeature_shouldNotCrash()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/telephony/data/repository/ |
D | TelephonyRepository.kt | 99 applicationContext.packageManager.hasSystemFeature(PackageManager.FEATURE_TELEPHONY)
|
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/ |
D | EmergencyButtonControllerTest.kt | 96 Mockito.`when`(packageManager.hasSystemFeature(PackageManager.FEATURE_TELEPHONY)) in testUpdateEmergencyButton()
|
D | CarrierTextManagerTest.java | 149 when(mPackageManager.hasSystemFeature(PackageManager.FEATURE_TELEPHONY)).thenReturn(true); in setUp()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/connectivity/ |
D | ConnectivitySubsystemsRecoveryManager.java | 107 if (mContext.getPackageManager().hasSystemFeature(PackageManager.FEATURE_TELEPHONY)) { in ConnectivitySubsystemsRecoveryManager()
|
/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/ |
D | PhoneCallPowerStatsProcessorTest.java | 146 when(mPackageManager.hasSystemFeature(PackageManager.FEATURE_TELEPHONY)).thenReturn(true); in setup()
|
D | MobileRadioPowerStatsProcessorTest.java | 162 when(mPackageManager.hasSystemFeature(PackageManager.FEATURE_TELEPHONY)).thenReturn(true); in setup()
|
D | MobileRadioPowerStatsCollectorTest.java | 170 when(mPackageManager.hasSystemFeature(PackageManager.FEATURE_TELEPHONY)).thenReturn(true); in setup()
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/fuelgauge/ |
D | PowerAllowlistBackendTest.java | 78 mPackageManager.setSystemFeature(PackageManager.FEATURE_TELEPHONY, true); in setUp()
|
/frameworks/base/packages/SettingsLib/EmergencyNumber/src/com/android/settingslib/emergencynumber/ |
D | EmergencyNumberUtils.java | 80 if (context.getPackageManager().hasSystemFeature(PackageManager.FEATURE_TELEPHONY)) { in EmergencyNumberUtils()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | EmergencyButtonController.java | 152 .hasSystemFeature(PackageManager.FEATURE_TELEPHONY), in updateEmergencyCallButton()
|
D | CarrierTextManager.java | 224 .hasSystemFeature(PackageManager.FEATURE_TELEPHONY); in CarrierTextManager()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/fuelgauge/ |
D | PowerAllowlistBackend.java | 298 PackageManager.FEATURE_TELEPHONY); in refreshList()
|
/frameworks/base/services/core/java/com/android/server/timedetector/ |
D | ServiceConfigAccessorImpl.java | 314 .hasSystemFeature(PackageManager.FEATURE_TELEPHONY); in isAutoDetectionSupported()
|
/frameworks/base/services/core/java/com/android/server/power/stats/ |
D | MobileRadioPowerStatsCollector.java | 122 && packageManager.hasSystemFeature(PackageManager.FEATURE_TELEPHONY)); in setEnabled()
|
/frameworks/base/services/core/java/com/android/server/timezonedetector/ |
D | ServiceConfigAccessorImpl.java | 439 && mContext.getPackageManager().hasSystemFeature(PackageManager.FEATURE_TELEPHONY); in isTelephonyTimeZoneDetectionFeatureSupported()
|
/frameworks/base/services/core/java/com/android/server/policy/ |
D | AppOpsPolicy.java | 198 if (!pm.hasSystemFeature(PackageManager.FEATURE_TELEPHONY) in AppOpsPolicy()
|
D | LegacyGlobalActions.java | 145 context.getPackageManager().hasSystemFeature(PackageManager.FEATURE_TELEPHONY); in LegacyGlobalActions()
|
/frameworks/base/telephony/java/android/telephony/ |
D | TelephonyManager.java | 187 @RequiresFeature(PackageManager.FEATURE_TELEPHONY) 2151 @RequiresFeature(PackageManager.FEATURE_TELEPHONY) 2172 @RequiresFeature(PackageManager.FEATURE_TELEPHONY) 2698 @RequiresFeature(PackageManager.FEATURE_TELEPHONY) 2717 @RequiresFeature(PackageManager.FEATURE_TELEPHONY) 2768 @RequiresFeature(PackageManager.FEATURE_TELEPHONY) 12032 @RequiresFeature(PackageManager.FEATURE_TELEPHONY) 12859 @RequiresFeature(PackageManager.FEATURE_TELEPHONY) 12982 @RequiresFeature(PackageManager.FEATURE_TELEPHONY) 15613 @RequiresFeature(PackageManager.FEATURE_TELEPHONY) [all …]
|
/frameworks/base/packages/SettingsProvider/src/com/android/providers/settings/ |
D | SettingsBackupAgent.java | 1401 if (packageManager.hasSystemFeature(PackageManager.FEATURE_TELEPHONY)) { in getSimSpecificSettingsData() 1413 boolean hasTelephony = packageManager.hasSystemFeature(PackageManager.FEATURE_TELEPHONY); in restoreSimSpecificSettings()
|
/frameworks/base/services/java/com/android/server/ |
D | SystemServer.java | 1526 || mPackageManager.hasSystemFeature(PackageManager.FEATURE_TELEPHONY)) { in startOtherServices() 2770 if (mPackageManager.hasSystemFeature(PackageManager.FEATURE_TELEPHONY)) { in startOtherServices() 3259 if (mPackageManager.hasSystemFeature(PackageManager.FEATURE_TELEPHONY)) { in startOtherServices()
|
/frameworks/base/core/java/android/telephony/ |
D | TelephonyRegistryManager.java | 87 @RequiresFeature(PackageManager.FEATURE_TELEPHONY)
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | NotificationAttentionHelper.java | 272 if (mPackageManager.hasSystemFeature(PackageManager.FEATURE_TELEPHONY)) { in registerBroadcastListeners()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/globalactions/ |
D | GlobalActionsDialogLite.java | 427 mHasTelephony = packageManager.hasSystemFeature(PackageManager.FEATURE_TELEPHONY); in GlobalActionsDialogLite()
|