Searched refs:FLAG_GUEST (Results 1 – 10 of 10) sorted by relevance
/frameworks/base/core/java/android/content/pm/ |
D | UserInfo.java | 79 public static final int FLAG_GUEST = 0x00000004; field in UserInfo 167 FLAG_GUEST, 299 FLAG_GUEST | FLAG_RESTRICTED | FLAG_MANAGED_PROFILE | FLAG_DEMO; in getDefaultUserType() 302 case FLAG_GUEST: return UserManager.USER_TYPE_FULL_GUEST; in getDefaultUserType()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | UserManagerServiceUserTypeTest.java | 22 import static android.content.pm.UserInfo.FLAG_GUEST; 216 assertTrue(UserManagerService.checkUserTypeConsistency(FLAG_GUEST)); in testCheckUserTypeConsistency() 217 assertTrue(UserManagerService.checkUserTypeConsistency(FLAG_GUEST | FLAG_EPHEMERAL)); in testCheckUserTypeConsistency() 233 UserInfo.getDefaultUserType(FLAG_GUEST | FLAG_EPHEMERAL)); in testGetDefaultUserType() 237 () -> UserInfo.getDefaultUserType(FLAG_MANAGED_PROFILE | FLAG_GUEST)); in testGetDefaultUserType()
|
D | UserManagerTest.java | 149 UserInfo userInfo = createUser("Guest 1", UserInfo.FLAG_GUEST); in testAddGuest() 201 UserInfo user1 = createUser("Guest 1", UserInfo.FLAG_GUEST); in testAdd2Users() 274 UserInfo userInfo = createUser("Guest 1", UserInfo.FLAG_GUEST); in testRemoveUser() 283 UserInfo userInfo = createUser("Guest 1", UserInfo.FLAG_GUEST); in testRemoveUserByHandle() 415 UserInfo.FLAG_GUEST | UserInfo.FLAG_FULL); in testCreateUserViaTypes() 428 createUserWithFlagsAndCheckType(UserInfo.FLAG_GUEST, UserManager.USER_TYPE_FULL_GUEST, in testCreateUserViaFlags() 470 UserInfo userInfo1 = createUser("Guest 1", UserInfo.FLAG_GUEST); in testThereCanBeOnlyOneGuest() 472 UserInfo userInfo2 = createUser("Guest 2", UserInfo.FLAG_GUEST); in testThereCanBeOnlyOneGuest() 479 UserInfo userInfo1 = createUser("Guest", UserInfo.FLAG_GUEST); in testFindExistingGuest_guestExists() 937 UserInfo guest = createUser("Guest", UserInfo.FLAG_GUEST); in testSetDefaultGuestRestrictions()
|
D | UserManagerServiceUserInfoTest.java | 23 import static android.content.pm.UserInfo.FLAG_GUEST; 218 FLAG_GUEST | FLAG_EPHEMERAL | FLAG_FULL, null)); in testUpgradeIfNecessaryLP_9()
|
/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/services/core/java/com/android/server/pm/ |
D | UserTypeFactory.java | 22 import static android.content.pm.UserInfo.FLAG_GUEST; 209 final int flags = FLAG_GUEST | (ephemeralGuests ? FLAG_EPHEMERAL : 0); in getDefaultTypeFullGuest()
|
D | UserManagerService.java | 244 | UserInfo.FLAG_GUEST 4341 final int userTypeFlagMask = UserInfo.FLAG_GUEST | UserInfo.FLAG_DEMO in checkUserTypeConsistency()
|
/frameworks/base/core/tests/coretests/src/android/provider/ |
D | SettingsProviderTest.java | 176 UserInfo otherUser = um.createUser("TestUser1", UserInfo.FLAG_GUEST); in testSettingsChangeForOtherUser() 241 UserInfo user = um.createUser("TestUser1", UserInfo.FLAG_GUEST); in testPerUserSettings()
|
/frameworks/base/core/api/ |
D | test-current.txt | 911 field @Deprecated public static final int FLAG_GUEST = 4; // 0x4
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 13411 Landroid/content/pm/UserInfo;->FLAG_GUEST:I
|