Home
last modified time | relevance | path

Searched refs:isDeviceOwner (Results 1 – 5 of 5) sorted by relevance

/cts/hostsidetests/devicepolicy/app/DeviceAdmin/src/com.android.cts.deviceadmin/
DBaseDeviceAdminTest.java58 protected boolean isDeviceOwner() { in isDeviceOwner() method in BaseDeviceAdminTest
63 assertTrue("Not device owner", isDeviceOwner()); in assertDeviceOwner()
67 assertFalse("Must not be device owner", isDeviceOwner()); in assertNotDeviceOwner()
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DBaseAffiliatedProfileOwnerTest.java44 boolean isDeviceOwner = mDevicePolicyManager.isDeviceOwnerApp(mContext.getPackageName()); in assertDeviceOrAffiliatedProfileOwner()
48 assertTrue(isDeviceOwner || isAffiliatedProfileOwner); in assertDeviceOrAffiliatedProfileOwner()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DDelegationTest.java192 final boolean isDeviceOwner = mDevicePolicyManager.isDeviceOwnerApp( in testDeviceOwnerOnlyDelegationsOnlyPossibleToBeSetByDeviceOwner()
198 if (!isDeviceOwner()) { in testDeviceOwnerOnlyDelegationsOnlyPossibleToBeSetByDeviceOwner()
202 if (isDeviceOwner) { in testDeviceOwnerOnlyDelegationsOnlyPossibleToBeSetByDeviceOwner()
DBaseDeviceAdminTest.java128 protected boolean isDeviceOwner() { in isDeviceOwner() method in BaseDeviceAdminTest
DKeyManagementTest.java554 if (isDeviceOwner()) { in assertAllVariantsOfDeviceIdAttestation()
637 if (isDeviceOwner()) { in testProfileOwnerCannotAttestDeviceUniqueIds()