Searched refs:isDeviceOwner (Results 1 – 5 of 5) sorted by relevance
58 protected boolean isDeviceOwner() { in isDeviceOwner() method in BaseDeviceAdminTest63 assertTrue("Not device owner", isDeviceOwner()); in assertDeviceOwner()67 assertFalse("Must not be device owner", isDeviceOwner()); in assertNotDeviceOwner()
44 boolean isDeviceOwner = mDevicePolicyManager.isDeviceOwnerApp(mContext.getPackageName()); in assertDeviceOrAffiliatedProfileOwner()48 assertTrue(isDeviceOwner || isAffiliatedProfileOwner); in assertDeviceOrAffiliatedProfileOwner()
192 final boolean isDeviceOwner = mDevicePolicyManager.isDeviceOwnerApp( in testDeviceOwnerOnlyDelegationsOnlyPossibleToBeSetByDeviceOwner()198 if (!isDeviceOwner()) { in testDeviceOwnerOnlyDelegationsOnlyPossibleToBeSetByDeviceOwner()202 if (isDeviceOwner) { in testDeviceOwnerOnlyDelegationsOnlyPossibleToBeSetByDeviceOwner()
128 protected boolean isDeviceOwner() { in isDeviceOwner() method in BaseDeviceAdminTest
554 if (isDeviceOwner()) { in assertAllVariantsOfDeviceIdAttestation()637 if (isDeviceOwner()) { in testProfileOwnerCannotAttestDeviceUniqueIds()