Home
last modified time | relevance | path

Searched refs:enforcingUser (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/
DRestrictedLockUtilsTest.java91 UserManager.EnforcingUser enforcingUser = new UserManager.EnforcingUser(mUserId, in checkIfRestrictionEnforced_deviceOwner() local
96 thenReturn(Collections.singletonList(enforcingUser)); in checkIfRestrictionEnforced_deviceOwner()
109 UserManager.EnforcingUser enforcingUser = new UserManager.EnforcingUser(mUserId, in checkIfRestrictionEnforced_profileOwner() local
114 thenReturn(Collections.singletonList(enforcingUser)); in checkIfRestrictionEnforced_profileOwner()
/frameworks/base/services/devicepolicy/java/com/android/server/devicepolicy/
DDevicePolicyManagerService.java11320 final UserManager.EnforcingUser enforcingUser = sources.get(0); in createUserRestrictionSupportIntent() local
11321 final int sourceType = enforcingUser.getUserRestrictionSource(); in createUserRestrictionSupportIntent()
11322 final int enforcingUserId = enforcingUser.getUserHandle().getIdentifier(); in createUserRestrictionSupportIntent()