Home
last modified time | relevance | path

Searched refs:FEATURE_DEVICE_ADMIN (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/packages/SettingsLib/Utils/src/com/android/settingslib/utils/
DWorkPolicyUtils.java160 if (!mPackageManager.hasSystemFeature(PackageManager.FEATURE_DEVICE_ADMIN)) { in getDeviceOwnerComponent()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyManagerServiceMigrationTest.java81 when(getServices().packageManager.hasSystemFeature(eq(PackageManager.FEATURE_DEVICE_ADMIN))) in setUp()
DDevicePolicyManagerTest.java277 when(getServices().packageManager.hasSystemFeature(eq(PackageManager.FEATURE_DEVICE_ADMIN))) in setUp()
420 when(getServices().packageManager.hasSystemFeature(eq(PackageManager.FEATURE_DEVICE_ADMIN))) in testHasNoFeature()
3539 when(getServices().packageManager.hasSystemFeature(PackageManager.FEATURE_DEVICE_ADMIN)) in setup_DeviceAdminFeatureOff()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/
DRestrictedLockUtilsTest.java147 when(mPackageManager.hasSystemFeature(PackageManager.FEATURE_DEVICE_ADMIN)) in checkIfDeviceAdminFeatureDisabled_noEnforceAdminForManagedProfile()
/frameworks/base/core/tests/coretests/src/android/provider/
DSettingsProviderTest.java307 if (mContext.getPackageManager().hasSystemFeature(PackageManager.FEATURE_DEVICE_ADMIN)) { in testSettings()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DRestrictedLockUtilsInternal.java463 if (!pm.hasSystemFeature(PackageManager.FEATURE_DEVICE_ADMIN) || dpm == null) { in checkIfAccountManagementDisabled()
/frameworks/base/apex/jobscheduler/service/java/com/android/server/usage/
DAppStandbyController.java2008 if (mContext.getPackageManager().hasSystemFeature(PackageManager.FEATURE_DEVICE_ADMIN)) { in waitForAdminData()
/frameworks/base/core/java/android/content/pm/
DPackageManager.java4239 public static final String FEATURE_DEVICE_ADMIN = "android.software.device_admin"; field in PackageManager
/frameworks/base/core/java/android/app/admin/
DDevicePolicyManager.java324 @RequiresFeature(PackageManager.FEATURE_DEVICE_ADMIN)
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerService.java6752 if (mContext.getPackageManager().hasSystemFeature(PackageManager.FEATURE_DEVICE_ADMIN)) {
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java1671 return getPackageManager().hasSystemFeature(PackageManager.FEATURE_DEVICE_ADMIN); in hasFeature()
9619 + PackageManager.FEATURE_DEVICE_ADMIN + " feature.");
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt8792 … field public static final java.lang.String FEATURE_DEVICE_ADMIN = "android.software.device_admin";
/frameworks/base/core/api/
Dcurrent.txt13123 field public static final String FEATURE_DEVICE_ADMIN = "android.software.device_admin";