Home
last modified time | relevance | path

Searched refs:ensureUserRestrictions (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/devicepolicy/
DDevicePolicyManagerServiceMigrationTest.java183 dpms.getDeviceOwnerAdminLocked().ensureUserRestrictions()); in testMigration()
189 dpms.getProfileOwnerAdminLocked(10).ensureUserRestrictions()); in testMigration()
195 dpms.getProfileOwnerAdminLocked(11).ensureUserRestrictions()); in testMigration()
270 dpms.getProfileOwnerAdminLocked(UserHandle.USER_SYSTEM).ensureUserRestrictions()); in testMigration2_profileOwnerOnUser0()
324 dpms.getProfileOwnerAdminLocked(10).ensureUserRestrictions()); in testMigration3_managedProfileOwner()
DDevicePolicyManagerTest.java1604 dpms.getDeviceOwnerAdminLocked().ensureUserRestrictions() in testSetUserRestriction_asDo()
1643 dpms.getDeviceOwnerAdminLocked().ensureUserRestrictions() in testSetUserRestriction_asDo()
1660 dpms.getDeviceOwnerAdminLocked().ensureUserRestrictions() in testSetUserRestriction_asDo()
1742 .ensureUserRestrictions() in testSetUserRestriction_asPo()
1766 .ensureUserRestrictions() in testSetUserRestriction_asPo()
1788 .ensureUserRestrictions() in testSetUserRestriction_asPo()
1807 .ensureUserRestrictions() in testSetUserRestriction_asPo()
1862 dpms.getDeviceOwnerAdminLocked().ensureUserRestrictions() in testDefaultEnabledUserRestrictions()
1905 dpms.getDeviceOwnerAdminLocked().ensureUserRestrictions() in testDefaultEnabledUserRestrictions()
1936 dpms.getDeviceOwnerAdminLocked().ensureUserRestrictions() in assertNoDeviceOwnerRestrictions()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java1583 Bundle ensureUserRestrictions() { in ensureUserRestrictions() method in DevicePolicyManagerService.ActiveAdmin
2298 profileOwner.ensureUserRestrictions().putBoolean( in ensureUnknownSourcesRestrictionForProfileOwnerLocked()
2327 admin.ensureUserRestrictions().putBoolean(restriction, true); in maybeSetDefaultRestrictionsForAdminLocked()
2494 admin.ensureUserRestrictions().clear(); in migrateUserRestrictionsForUser()
2495 admin.ensureUserRestrictions().putAll(newOwnerRestrictions); in migrateUserRestrictionsForUser()
7218 activeAdmin.ensureUserRestrictions().putBoolean(restriction, true); in setDeviceOwner()
9281 final Bundle restrictions = activeAdmin.ensureUserRestrictions(); in setUserRestriction()