Searched refs:FLAG_GUEST (Results 1 – 11 of 11) sorted by relevance
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
D | UserInfoTest.java | 34 final UserInfo ui = new UserInfo(10, "Test", UserInfo.FLAG_GUEST); in testSimple() 66 final UserInfo ui = new UserInfo(10, "Test", UserInfo.FLAG_GUEST); in testDebug()
|
/frameworks/base/core/java/android/content/pm/ |
D | UserInfo.java | 89 public static final int FLAG_GUEST = 0x00000004; field in UserInfo 205 FLAG_GUEST, 345 FLAG_GUEST | FLAG_RESTRICTED | FLAG_MANAGED_PROFILE | FLAG_DEMO; in getDefaultUserType() 348 case FLAG_GUEST: return UserManager.USER_TYPE_FULL_GUEST; in getDefaultUserType()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
D | UserManagerTest.java | 154 UserInfo userInfo = createUser("Guest 1", UserInfo.FLAG_GUEST); in testAddGuest() 386 UserInfo user1 = createUser("Guest 1", UserInfo.FLAG_GUEST); in testGetProfileAccessibilityString_throwsExceptionForNonProfileUser() 397 UserInfo user1 = createUser("Guest 1", UserInfo.FLAG_GUEST); in testAdd2Users() 472 UserInfo userInfo = createUser("Guest 1", UserInfo.FLAG_GUEST); in testRemoveUser() 481 UserInfo userInfo = createUser("Guest 1", UserInfo.FLAG_GUEST); in testRemoveUserByHandle() 766 UserInfo.FLAG_GUEST | UserInfo.FLAG_FULL); in testCreateUserViaTypes() 779 createUserWithFlagsAndCheckType(UserInfo.FLAG_GUEST, UserManager.USER_TYPE_FULL_GUEST, in testCreateUserViaFlags() 834 UserInfo userInfo1 = createUser("Guest 1", UserInfo.FLAG_GUEST); in testThereCanBeOnlyOneGuest_singleGuest() 837 UserInfo userInfo2 = createUser("Guest 2", UserInfo.FLAG_GUEST); in testThereCanBeOnlyOneGuest_singleGuest() 846 UserInfo userInfo1 = createUser("Guest 1", UserInfo.FLAG_GUEST); in testThereCanBeMultipleGuests_multipleGuests() [all …]
|
D | UserManagerServiceUserTypeTest.java | 22 import static android.content.pm.UserInfo.FLAG_GUEST; 287 assertTrue(UserManagerService.checkUserTypeConsistency(FLAG_GUEST)); in testCheckUserTypeConsistency() 288 assertTrue(UserManagerService.checkUserTypeConsistency(FLAG_GUEST | FLAG_EPHEMERAL)); in testCheckUserTypeConsistency() 304 UserInfo.getDefaultUserType(FLAG_GUEST | FLAG_EPHEMERAL)); in testGetDefaultUserType() 308 () -> UserInfo.getDefaultUserType(FLAG_MANAGED_PROFILE | FLAG_GUEST)); in testGetDefaultUserType()
|
D | UserManagerServiceUserInfoTest.java | 23 import static android.content.pm.UserInfo.FLAG_GUEST; 290 FLAG_GUEST | FLAG_EPHEMERAL | FLAG_FULL, null)); in testUpgradeIfNecessaryLP_9()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | TaskPersisterTest.java | 59 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() 241 UserInfo user = um.createUser("TestUser1", UserInfo.FLAG_GUEST); in testPerUserSettings()
|
/frameworks/base/services/core/java/com/android/server/pm/ |
D | UserTypeFactory.java | 23 import static android.content.pm.UserInfo.FLAG_GUEST; 358 final int flags = FLAG_GUEST | (ephemeralGuests ? FLAG_EPHEMERAL : 0); in getDefaultTypeFullGuest()
|
D | UserManagerService.java | 294 | UserInfo.FLAG_GUEST 5798 final int userTypeFlagMask = UserInfo.FLAG_GUEST | UserInfo.FLAG_DEMO
|
/frameworks/base/core/api/ |
D | test-current.txt | 1202 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
|