Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserManagerServiceUserPropertiesTest.java189 assertEqualGetterOrThrows(orig::getInheritDevicePolicy, in verifyTestCopyLacksPermissions()
190 copy::getInheritDevicePolicy, exposeAll); in verifyTestCopyLacksPermissions()
266 assertThat(expected.getInheritDevicePolicy()).isEqualTo(actual.getInheritDevicePolicy()); in assertUserPropertiesEquals()
DUserManagerServiceUserTypeTest.java179 .getInheritDevicePolicy()); in testUserTypeBuilder_createUserType()
385 .getInheritDevicePolicy()); in testUserTypeFactoryCustomize_profile()
446 .getInheritDevicePolicy()); in testUserTypeFactoryCustomize_profile()
DUserManagerTest.java1056 assertThrows(SecurityException.class, userProps::getInheritDevicePolicy); in testUserProperties()
/frameworks/base/core/java/android/content/pm/
DUserProperties.java532 setInheritDevicePolicy(orig.getInheritDevicePolicy()); in UserProperties()
752 public @InheritDevicePolicy int getInheritDevicePolicy() { in getInheritDevicePolicy() method in UserProperties
1061 + ", mInheritDevicePolicy=" + getInheritDevicePolicy() in toString()
1094 pw.println(prefix + " mInheritDevicePolicy=" + getInheritDevicePolicy()); in println()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyEngine.java438 .getInheritDevicePolicy() == INHERIT_DEVICE_POLICY_FROM_PARENT; in isInheritDevicePolicyFromParent()
1361 if (userProperties == null || userProperties.getInheritDevicePolicy() in enforcePoliciesOnInheritableProfilesIfApplicable()