Searched refs:adminUserId (Results 1 – 2 of 2) sorted by relevance
107 int adminUserId = 10; in testStartsLastActiveUserOnReboot() local109 new UserInfo(adminUserId, DEFAULT_NAME, UserInfo.FLAG_ADMIN); in testStartsLastActiveUserOnReboot()
106 final int adminUserId = enforcingUsers.get(0).getUserHandle().getIdentifier(); in checkIfRestrictionEnforced() local109 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()