Searched refs:setProfileOwner (Results 1 – 4 of 4) sorted by relevance
84 shadowOf(devicePolicyManager).setProfileOwner(testComponent); in isDeviceOwnerShouldReturnFalseForProfileOwner()170 shadowOf(devicePolicyManager).setProfileOwner(testComponent); in isProfileOwnerShouldReturnTrueForProfileOwner()181 shadowOf(devicePolicyManager).setProfileOwner(testComponent); in getProfileOwnerShouldReturnDeviceOwnerComponentName()229 shadowOf(devicePolicyManager).setProfileOwner(testComponent); in getActiveAdminsShouldReturnProfileOwner()260 shadowOf(devicePolicyManager).setProfileOwner(testComponent); in addUserRestrictionShouldWorkAsIntendedForProfileOwner()515 shadowOf(devicePolicyManager).setProfileOwner(testComponent); in setApplicationRestrictionsShouldWorkAsIntendedForProfileOwner()598 shadowOf(devicePolicyManager).setProfileOwner(testComponent); in setOrganizationNameShouldWorkForPoSinceN()613 shadowOf(devicePolicyManager).setProfileOwner(testComponent); in setOrganizationNameShouldClearNameWithEmptyNameForPoSinceN()661 shadowOf(devicePolicyManager).setProfileOwner(testComponent); in setOrganizationColorShouldWorkForPoSinceN()675 shadowOf(devicePolicyManager).setProfileOwner(testComponent); in getOrganizationColorShouldReturnDefaultColorIfNothingSet()[all …]
2549 .setProfileOwner(new ComponentName("com.profile.owner", "ProfileOwnerClass"));
224 shadowOf(devicePolicyManager).setProfileOwner(null); in setRunningOnPersonalProfile()247 shadowOf(devicePolicyManager).setProfileOwner(profileOwnerComponentName); in setHasProfileOwner()
307 public void setProfileOwner(ComponentName admin) { in setProfileOwner() method in ShadowDevicePolicyManager