Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DSuspendPackagesTest.java515 assumeTrue(mPackageManager.hasSystemFeature(PackageManager.FEATURE_DEVICE_ADMIN)); in testCanSuspendWhenProfileOwner()
522 assumeTrue(mPackageManager.hasSystemFeature(PackageManager.FEATURE_DEVICE_ADMIN)); in testCanSuspendWhenDeviceOwner()
529 assumeTrue(mPackageManager.hasSystemFeature(PackageManager.FEATURE_DEVICE_ADMIN)); in testPackageUnsuspendedOnAddingDeviceOwner()
543 assumeTrue(mPackageManager.hasSystemFeature(PackageManager.FEATURE_DEVICE_ADMIN)); in testPackageUnsuspendedOnAddingProfileOwner()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNavigationModeController.java24 import static android.content.pm.PackageManager.FEATURE_DEVICE_ADMIN;
300 return mContext.getPackageManager().hasSystemFeature(FEATURE_DEVICE_ADMIN); in supportsDeviceAdmin()
/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyManagerServiceMigrationTest.java50 when(getServices().packageManager.hasSystemFeature(eq(PackageManager.FEATURE_DEVICE_ADMIN))) in setUp()
DDevicePolicyManagerTest.java185 when(getServices().packageManager.hasSystemFeature(eq(PackageManager.FEATURE_DEVICE_ADMIN))) in setUp()
287 when(getServices().packageManager.hasSystemFeature(eq(PackageManager.FEATURE_DEVICE_ADMIN))) in testHasNoFeature()
2766 when(getServices().packageManager.hasSystemFeature(PackageManager.FEATURE_DEVICE_ADMIN)) in setup_DeviceAdminFeatureOff()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/
DRestrictedLockUtilsTest.java136 when(mPackageManager.hasSystemFeature(PackageManager.FEATURE_DEVICE_ADMIN)) in checkIfDeviceAdminFeatureDisabled_noEnforceAdminForManagedProfile()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DRestrictedLockUtilsInternal.java372 if (!pm.hasSystemFeature(PackageManager.FEATURE_DEVICE_ADMIN) || dpm == null) { in checkIfAccountManagementDisabled()
/frameworks/base/core/tests/coretests/src/android/provider/
DSettingsProviderTest.java363 if (mContext.getPackageManager().hasSystemFeature(PackageManager.FEATURE_DEVICE_ADMIN)) { in testSettings()
/frameworks/base/services/usage/java/com/android/server/usage/
DAppStandbyController.java1311 if (mContext.getPackageManager().hasSystemFeature(PackageManager.FEATURE_DEVICE_ADMIN)) { in waitForAdminData()
/frameworks/base/core/java/android/content/pm/
DPackageManager.java2549 public static final String FEATURE_DEVICE_ADMIN = "android.software.device_admin"; field in PackageManager
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiConfigManager.java893 if (mContext.getPackageManager().hasSystemFeature(PackageManager.FEATURE_DEVICE_ADMIN) in canModifyNetwork()
/frameworks/base/core/java/android/app/admin/
DDevicePolicyManager.java140 @RequiresFeature(PackageManager.FEATURE_DEVICE_ADMIN)
/frameworks/base/services/core/java/com/android/server/net/
DNetworkPolicyManagerService.java5383 if (mContext.getPackageManager().hasSystemFeature(PackageManager.FEATURE_DEVICE_ADMIN)) { in waitForAdminData()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java1872 return getPackageManager().hasSystemFeature(PackageManager.FEATURE_DEVICE_ADMIN); in hasFeature()
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt8792 … field public static final java.lang.String FEATURE_DEVICE_ADMIN = "android.software.device_admin";
/frameworks/base/non-updatable-api/
Dcurrent.txt11705 field public static final String FEATURE_DEVICE_ADMIN = "android.software.device_admin";
/frameworks/base/api/
Dcurrent.txt11705 field public static final String FEATURE_DEVICE_ADMIN = "android.software.device_admin";