Searched refs:FEATURE_DEVICE_ADMIN (Results 1 – 10 of 10) sorted by relevance
57 private static final String FEATURE_DEVICE_ADMIN = "feature:android.software.device_admin"; field in DirectBootHostTest216 return getDevice().hasFeature(FEATURE_DEVICE_ADMIN); in isSupportedDevice()
55 mPackageManager.hasSystemFeature(PackageManager.FEATURE_DEVICE_ADMIN); in setUp()
221 return mActivity.getPackageManager().hasSystemFeature(PackageManager.FEATURE_DEVICE_ADMIN); in hasDeviceAdminFeature()
77 PackageManager.FEATURE_DEVICE_ADMIN); in setUp()
47 mContext.getPackageManager().hasSystemFeature(PackageManager.FEATURE_DEVICE_ADMIN); in setUp()
81 mContext.getPackageManager().hasSystemFeature(PackageManager.FEATURE_DEVICE_ADMIN); in setUp()
99 mDeviceAdmin = mPackageManager.hasSystemFeature(PackageManager.FEATURE_DEVICE_ADMIN); in setUp()
99 mHasFeature = mPackageManager.hasSystemFeature(PackageManager.FEATURE_DEVICE_ADMIN); in setUp()
190 new Feature(PackageManager.FEATURE_DEVICE_ADMIN, false),
417 if (!mContext.getPackageManager().hasSystemFeature(PackageManager.FEATURE_DEVICE_ADMIN)) { in testDeviceOwner()