Searched refs:setProfileOwner (Results 1 – 3 of 3) 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 …]
2509 .setProfileOwner(new ComponentName("com.profile.owner", "ProfileOwnerClass"));
304 public void setProfileOwner(ComponentName admin) { in setProfileOwner() method in ShadowDevicePolicyManager