Searched refs:FEATURE_DEVICE_ADMIN (Results 1 – 14 of 14) sorted by relevance
160 if (!mPackageManager.hasSystemFeature(PackageManager.FEATURE_DEVICE_ADMIN)) { in getDeviceOwnerComponent()
81 when(getServices().packageManager.hasSystemFeature(eq(PackageManager.FEATURE_DEVICE_ADMIN))) in setUp()
277 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()
147 when(mPackageManager.hasSystemFeature(PackageManager.FEATURE_DEVICE_ADMIN)) in checkIfDeviceAdminFeatureDisabled_noEnforceAdminForManagedProfile()
307 if (mContext.getPackageManager().hasSystemFeature(PackageManager.FEATURE_DEVICE_ADMIN)) { in testSettings()
463 if (!pm.hasSystemFeature(PackageManager.FEATURE_DEVICE_ADMIN) || dpm == null) { in checkIfAccountManagementDisabled()
2008 if (mContext.getPackageManager().hasSystemFeature(PackageManager.FEATURE_DEVICE_ADMIN)) { in waitForAdminData()
4239 public static final String FEATURE_DEVICE_ADMIN = "android.software.device_admin"; field in PackageManager
324 @RequiresFeature(PackageManager.FEATURE_DEVICE_ADMIN)
6752 if (mContext.getPackageManager().hasSystemFeature(PackageManager.FEATURE_DEVICE_ADMIN)) {
1671 return getPackageManager().hasSystemFeature(PackageManager.FEATURE_DEVICE_ADMIN); in hasFeature()9619 + PackageManager.FEATURE_DEVICE_ADMIN + " feature.");
AndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
8792 … field public static final java.lang.String FEATURE_DEVICE_ADMIN = "android.software.device_admin";
13123 field public static final String FEATURE_DEVICE_ADMIN = "android.software.device_admin";