Searched refs:checkUserTypeConsistency (Results 1 – 3 of 3) sorted by relevance
177 assertTrue(UserManagerService.checkUserTypeConsistency(FLAG_GUEST)); in testCheckUserTypeConsistency()178 assertTrue(UserManagerService.checkUserTypeConsistency(FLAG_GUEST | FLAG_EPHEMERAL)); in testCheckUserTypeConsistency()179 assertTrue(UserManagerService.checkUserTypeConsistency(FLAG_PROFILE)); in testCheckUserTypeConsistency()181 assertFalse(UserManagerService.checkUserTypeConsistency(FLAG_DEMO | FLAG_RESTRICTED)); in testCheckUserTypeConsistency()182 assertFalse(UserManagerService.checkUserTypeConsistency(FLAG_PROFILE | FLAG_SYSTEM)); in testCheckUserTypeConsistency()183 assertFalse(UserManagerService.checkUserTypeConsistency(FLAG_PROFILE | FLAG_FULL)); in testCheckUserTypeConsistency()
3343 if (!checkUserTypeConsistency(flags)) { in createUserInternalUncheckedNoTracing()3575 if (!checkUserTypeConsistency(newFlags)) { in convertPreCreatedUserIfPossible()3603 static boolean checkUserTypeConsistency(@UserInfoFlag int flags) { in checkUserTypeConsistency() method in UserManagerService
26499 PLcom/android/server/pm/UserManagerService;->checkUserTypeConsistency(I)Z