Home
last modified time | relevance | path

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

/frameworks/opt/car/services/tests/src/com/android/internal/car/
DCarHelperServiceTest.java107 int adminUserId = 10; in testStartsLastActiveUserOnReboot() local
109 new UserInfo(adminUserId, DEFAULT_NAME, UserInfo.FLAG_ADMIN); in testStartsLastActiveUserOnReboot()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
DRestrictedLockUtilsInternal.java106 final int adminUserId = enforcingUsers.get(0).getUserHandle().getIdentifier(); in checkIfRestrictionEnforced() local
109 if (adminUserId == userId) { in checkIfRestrictionEnforced()
110 return getProfileOwner(context, userRestriction, adminUserId); in checkIfRestrictionEnforced()
114 final UserInfo parentUser = um.getProfileParent(adminUserId); in checkIfRestrictionEnforced()
116 ? getProfileOwner(context, userRestriction, adminUserId) in checkIfRestrictionEnforced()
122 return adminUserId == userId in checkIfRestrictionEnforced()