/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/accounts/ |
D | AccountGroupPreferenceControllerTest.java | 19 import static android.content.pm.UserInfo.FLAG_INITIALIZED; 91 UserInfo userInfo = new UserInfo(/* id= */ 10, TEST_USERNAME, FLAG_INITIALIZED); in getAvailabilityStatus_currentUser_noRestriction_available() 104 UserInfo userInfo = new UserInfo(/* id= */ 10, TEST_USERNAME, FLAG_INITIALIZED); in getAvailabilityStatus_currentUser_noRestriction_available_zoneWrite() 119 UserInfo userInfo = new UserInfo(/* id= */ 10, TEST_USERNAME, FLAG_INITIALIZED); in getAvailabilityStatus_currentUser_noRestriction_available_zoneRead() 134 UserInfo userInfo = new UserInfo(/* id= */ 10, TEST_USERNAME, FLAG_INITIALIZED); in getAvailabilityStatus_currentUser_noRestriction_available_zoneHidden() 149 UserInfo userInfo = new UserInfo(/* id= */ 10, TEST_USERNAME, FLAG_INITIALIZED); in getAvailabilityStatus_notCurrentUser_notAvailable() 161 UserInfo userInfo = new UserInfo(/* id= */ 10, TEST_USERNAME, FLAG_INITIALIZED); in getAvailabilityStatus_notCurrentUser_notAvailable_zoneWrite() 175 UserInfo userInfo = new UserInfo(/* id= */ 10, TEST_USERNAME, FLAG_INITIALIZED); in getAvailabilityStatus_notCurrentUser_notAvailable_zoneRead() 189 UserInfo userInfo = new UserInfo(/* id= */ 10, TEST_USERNAME, FLAG_INITIALIZED); in getAvailabilityStatus_notCurrentUser_notAvailable_zoneHidden() 203 UserInfo userInfo = new UserInfo(/* id= */ 10, TEST_USERNAME, FLAG_INITIALIZED); in getAvailabilityStatus_currentUser_restricedByUserType_notAvailable() [all …]
|
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/profiles/ |
D | ProfileDetailsActionButtonsPreferenceControllerTest.java | 20 import static android.content.pm.UserInfo.FLAG_INITIALIZED; 108 UserInfo userInfo = new UserInfo(/* id= */ 10, TEST_PROFILE_NAME, FLAG_INITIALIZED); in onStart_userIsViewingSelf_renameButtonShown() 120 UserInfo userInfo = new UserInfo(/* id= */ 10, TEST_PROFILE_NAME, FLAG_INITIALIZED); in onStart_userIsNotViewingSelf_renameButtonHidden() 132 UserInfo userInfo = new UserInfo(/* id= */ 10, TEST_PROFILE_NAME, FLAG_INITIALIZED); in onStart_isAdminViewingNonAdmin_makeAdminButtonShown() 146 FLAG_INITIALIZED | FLAG_ADMIN); in onStart_isAdminViewingAdmin_makeAdminButtonHidden() 160 FLAG_INITIALIZED | FLAG_ADMIN); in onStart_isAdminViewingSelf_manageOtherProfilesButtonShown() 180 FLAG_INITIALIZED | FLAG_ADMIN); in onStart_isAdminViewingOther_manageOtherProfilesButtonHidden() 197 FLAG_INITIALIZED | FLAG_ADMIN); in onStart_isNonAdmin_addAProfileButtonShown() 216 FLAG_INITIALIZED | FLAG_ADMIN); in onStart_isAdmin_isOnlyProfile_makeAddAProfileButtonShown() 233 UserInfo userInfo = new UserInfo(/* id= */ 10, TEST_PROFILE_NAME, FLAG_INITIALIZED); in onStart_profileIsRemovable_deleteButtonShown() [all …]
|
D | ProfileDetailsDeletePreferenceControllerTest.java | 19 import static android.content.pm.UserInfo.FLAG_INITIALIZED; 92 UserInfo userInfo = new UserInfo(/* id= */ 10, TEST_PROFILE_NAME, FLAG_INITIALIZED); in onCreate_userNotRestricted_deleteButtonShown() 103 UserInfo userInfo = new UserInfo(/* id= */ 10, TEST_PROFILE_NAME, FLAG_INITIALIZED); in onCreate_userRestrictedByUm_deleteButtonHidden() 116 UserInfo userInfo = new UserInfo(/* id= */ 10, TEST_PROFILE_NAME, FLAG_INITIALIZED); in onCreate_userRestrictedByDpm_deleteButtonVisible() 130 UserInfo userInfo = new UserInfo(/* id= */ 0, TEST_PROFILE_NAME, FLAG_INITIALIZED); in onCreate_userIsViewingSelf_deleteButtonHidden() 142 UserInfo userInfo = new UserInfo(/* id= */ 0, TEST_PROFILE_NAME, FLAG_INITIALIZED); in onCreate_userIsNotViewingSelf_deleteButtonHidden() 154 UserInfo userInfo = new UserInfo(/* id= */ 10, TEST_PROFILE_NAME, FLAG_INITIALIZED); in onCreate_isDemoUser_deleteButtonHidden() 166 UserInfo userInfo = new UserInfo(/* id= */ 10, TEST_PROFILE_NAME, FLAG_INITIALIZED); in onCreate_isDemoUserAndRestrictedByDpm_deleteButtonHidden() 182 UserInfo userInfo = new UserInfo(/* id= */ 10, TEST_PROFILE_NAME, FLAG_INITIALIZED); in disabledClick_restrictedByDpm_dialog()
|
D | ProfileDetailsHeaderPreferenceControllerTest.java | 20 import static android.content.pm.UserInfo.FLAG_INITIALIZED; 97 UserInfo userInfo = new UserInfo(/* id= */ 10, TEST_PROFILE_NAME, FLAG_INITIALIZED); in onCreate_profileSetup_noSummary() 107 FLAG_INITIALIZED | FLAG_ADMIN); in onCreate_isAdmin_notCurrentProfile() 119 FLAG_INITIALIZED | FLAG_ADMIN); in onCreate_isAdmin_currentProfile()
|
D | RemoveProfileHandlerTest.java | 19 import static android.content.pm.UserInfo.FLAG_INITIALIZED; 142 UserInfo userInfo = new UserInfo(FOREGROUND_USER_ID, TEST_PROFILE_NAME, FLAG_INITIALIZED); in hasPreviousDeleteDialog_dialogListenerSet() 238 UserInfo userInfo = new UserInfo(userId, TEST_PROFILE_NAME, FLAG_INITIALIZED); in mockCurrentUserInfo()
|
/packages/apps/Settings/tests/legacy_unit/src/com/android/settings/ |
D | UtilsTest.java | 50 UserInfo.FLAG_INITIALIZED | UserInfo.FLAG_PRIMARY); in setUp() 53 UserInfo.FLAG_INITIALIZED | UserInfo.FLAG_MANAGED_PROFILE); in setUp()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/users/ |
D | UserSettingsTest.java | 612 removeFlag(restrictedUser, UserInfo.FLAG_INITIALIZED); in updateUserList_uninitializedRestrictedUser_shouldAddUserPreference() 636 removeFlag(uninitializedUser, UserInfo.FLAG_INITIALIZED); in updateUserList_uninitializedUserAndCanNotSwitchUser_shouldDisablePref() 661 removeFlag(guest, UserInfo.FLAG_INITIALIZED); in updateUserList_guestWithoutInitializedFlag_shouldNotSetSummary() 677 removeFlag(activeUser, UserInfo.FLAG_INITIALIZED); in updateUserList_activeUserWithoutInitializedFlag_shouldNotSetSummary() 736 removeFlag(createdGuest, UserInfo.FLAG_INITIALIZED); in onPreferenceClick_addGuestClicked_createGuestAndOpenDetails() 878 UserInfo.FLAG_FULL | UserInfo.FLAG_INITIALIZED | UserInfo.FLAG_ADMIN, in getAdminUser() 885 UserInfo.FLAG_FULL | UserInfo.FLAG_INITIALIZED, in getSecondaryUser() 892 UserInfo.FLAG_FULL | UserInfo.FLAG_INITIALIZED | UserInfo.FLAG_RESTRICTED, in getRestrictedUser() 899 UserInfo.FLAG_PROFILE | UserInfo.FLAG_INITIALIZED | UserInfo.FLAG_MANAGED_PROFILE, in getManagedUser() 906 UserInfo.FLAG_FULL | UserInfo.FLAG_INITIALIZED | UserInfo.FLAG_GUEST, in getGuest()
|
D | UserDetailsSettingsTest.java | 779 UserInfo.FLAG_FULL | UserInfo.FLAG_INITIALIZED, in setupSelectedUser() 788 UserInfo.FLAG_FULL | UserInfo.FLAG_INITIALIZED | UserInfo.FLAG_MAIN, in setupSelectedMainUser() 797 UserInfo.FLAG_FULL | UserInfo.FLAG_INITIALIZED | UserInfo.FLAG_ADMIN, in setupSelectedAdminUser() 806 UserInfo.FLAG_FULL | UserInfo.FLAG_INITIALIZED | UserInfo.FLAG_GUEST, in setupSelectedGuest() 815 UserInfo.FLAG_FULL | UserInfo.FLAG_INITIALIZED | UserInfo.FLAG_RESTRICTED, in setupSelectedRestrictedUser()
|
/packages/modules/IntentResolver/tests/shared/src/com/android/intentresolver/platform/ |
D | FakeUserManager.kt | 22 import android.content.pm.UserInfo.FLAG_INITIALIZED in <lambda>() 147 UserInfo(id, "", "", FLAG_INITIALIZED or FLAG_FULL, USER_TYPE_FULL_SYSTEM) in <lambda>() 181 UserInfo(id, "", "", FLAG_INITIALIZED or FLAG_PROFILE, type.toUserType()).apply { in <lambda>()
|
/packages/services/Car/car-builtin-lib/src/android/car/builtin/os/ |
D | UserManagerHelper.java | 56 public static final int FLAG_INITIALIZED = UserInfo.FLAG_INITIALIZED; field in UserManagerHelper
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | GLRootView.java | 78 private static final int FLAG_INITIALIZED = 1; field in GLRootView 120 mFlags |= FLAG_INITIALIZED; in GLRootView() 218 if ((mFlags & FLAG_INITIALIZED) == 0) return; in requestLayoutContentPane()
|
/packages/apps/Settings/src/com/android/settings/users/ |
D | UserDetailsSettings.java | 131 mRemoveUserPref.setEnabled((mUserInfo.flags & UserInfo.FLAG_INITIALIZED) != 0); in onResume() 399 mRemoveUserPref.setEnabled((mUserInfo.flags & UserInfo.FLAG_INITIALIZED) != 0);
|
/packages/services/Car/libs/car-test-lib/src/android/car/test/util/ |
D | UserTestingHelper.java | 310 flags |= UserInfo.FLAG_INITIALIZED; in build()
|
/packages/apps/Settings/tests/robotests/testutils/com/android/settings/testutils/shadow/ |
D | ShadowUserManager.java | 309 UserInfo.FLAG_INITIALIZED | UserInfo.FLAG_ADMIN | UserInfo.FLAG_PRIMARY); in getPrimaryUser()
|
/packages/services/Car/tools/GenericCarApiBuilder/ |
D | complete_car_built_in_api_list.txt | 311 field TIRAMISU_0 int FLAG_INITIALIZED = UserInfo.FLAG_INITIALIZED;
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | ContactsActor.java | 169 final UserInfo ui = new UserInfo(id, name, flags | UserInfo.FLAG_INITIALIZED); in createUserInfo()
|
/packages/services/Car/car-builtin-lib/api/ |
D | module-lib-current.txt | 344 field public static final int FLAG_INITIALIZED = 16; // 0x10
|
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/user/ |
D | CarUserServiceTest.java | 2291 createUserWithRestrictionsInvalidTypes(UserManagerHelper.FLAG_INITIALIZED); in testCreateUserWithRestrictions_invalidFlags()
|