Home
last modified time | relevance | path

Searched refs:FLAG_GUEST (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/core/java/android/content/pm/
DUserInfo.java55 public static final int FLAG_GUEST = 0x00000004; field in UserInfo
141 return (flags & FLAG_GUEST) == FLAG_GUEST; in isGuest()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserManagerTest.java124 UserInfo userInfo = createUser("Guest 1", UserInfo.FLAG_GUEST); in testAddUser()
145 UserInfo user1 = createUser("Guest 1", UserInfo.FLAG_GUEST); in testAdd2Users()
158 UserInfo userInfo = createUser("Guest 1", UserInfo.FLAG_GUEST); in testRemoveUser()
166 UserInfo userInfo1 = createUser("Guest 1", UserInfo.FLAG_GUEST); in testAddGuest()
167 UserInfo userInfo2 = createUser("Guest 2", UserInfo.FLAG_GUEST); in testAddGuest()
491 UserInfo guest = createUser("Guest", UserInfo.FLAG_GUEST); in testSetDefaultGuestRestrictions()
/frameworks/base/core/tests/coretests/src/android/provider/
DSettingsProviderTest.java167 UserInfo otherUser = um.createUser("TestUser1", UserInfo.FLAG_GUEST); in testSettingsChangeForOtherUser()
288 UserInfo user = um.createUser("TestUser1", UserInfo.FLAG_GUEST); in testPerUserSettings()
/frameworks/base/packages/SettingsLib/tests/integ/src/com/android/settingslib/users/
DUserManagerHelperTest.java254 UserInfo guestInfo = new UserInfo(21, "Test Guest", UserInfo.FLAG_GUEST); in startNewGuestSession()
/frameworks/base/core/java/android/os/
DUserManager.java1840 guest = mService.createUser(name, UserInfo.FLAG_GUEST); in createGuest()
/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerService.java201 | UserInfo.FLAG_GUEST
2608 final boolean isGuest = (flags & UserInfo.FLAG_GUEST) != 0; in createUserInternalUnchecked()
DPackageManagerShellCommand.java2030 flags |= UserInfo.FLAG_GUEST; in runCreateUser()