Searched refs:FLAG_GUEST (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/core/java/android/content/pm/ |
D | UserInfo.java | 57 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/ |
D | UserManagerTest.java | 124 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/ |
D | TaskPersisterTest.java | 61 mTestUserId = createUser(TEST_USER_NAME, UserInfo.FLAG_GUEST); in setUp()
|
/frameworks/base/core/tests/coretests/src/android/provider/ |
D | SettingsProviderTest.java | 176 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/ |
D | UserManager.java | 2042 guest = mService.createUser(name, UserInfo.FLAG_GUEST); in createGuest()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | UserManagerService.java | 203 | UserInfo.FLAG_GUEST 2686 final boolean isGuest = (flags & UserInfo.FLAG_GUEST) != 0; in createUserInternalUnchecked()
|
D | PackageManagerShellCommand.java | 2270 flags |= UserInfo.FLAG_GUEST; in runCreateUser()
|