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.java57 public static final int FLAG_GUEST = 0x00000004; field in UserInfo
158 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 userInfo = createUser("Guest 1", UserInfo.FLAG_GUEST); in testRemoveUserByHandle()
201 UserInfo userInfo1 = createUser("Guest 1", UserInfo.FLAG_GUEST); in testAddGuest()
202 UserInfo userInfo2 = createUser("Guest 2", UserInfo.FLAG_GUEST); in testAddGuest()
526 UserInfo guest = createUser("Guest", UserInfo.FLAG_GUEST); in testSetDefaultGuestRestrictions()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DTaskPersisterTest.java61 mTestUserId = createUser(TEST_USER_NAME, UserInfo.FLAG_GUEST); in setUp()
/frameworks/base/core/tests/coretests/src/android/provider/
DSettingsProviderTest.java176 UserInfo otherUser = um.createUser("TestUser1", UserInfo.FLAG_GUEST); in testSettingsChangeForOtherUser()
297 UserInfo user = um.createUser("TestUser1", UserInfo.FLAG_GUEST); in testPerUserSettings()
/frameworks/base/core/java/android/os/
DUserManager.java2042 guest = mService.createUser(name, UserInfo.FLAG_GUEST); in createGuest()
/frameworks/base/services/core/java/com/android/server/pm/
DUserManagerService.java203 | UserInfo.FLAG_GUEST
2686 final boolean isGuest = (flags & UserInfo.FLAG_GUEST) != 0; in createUserInternalUnchecked()
DPackageManagerShellCommand.java2270 flags |= UserInfo.FLAG_GUEST; in runCreateUser()