Home
last modified time | relevance | path

Searched refs:FLAG_INITIALIZED (Results 1 – 18 of 18) sorted by relevance

/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/accounts/
DAccountGroupPreferenceControllerTest.java19 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/
DProfileDetailsActionButtonsPreferenceControllerTest.java20 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 …]
DProfileDetailsDeletePreferenceControllerTest.java19 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()
DProfileDetailsHeaderPreferenceControllerTest.java20 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()
DRemoveProfileHandlerTest.java19 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/
DUtilsTest.java50 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/
DUserSettingsTest.java612 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()
DUserDetailsSettingsTest.java779 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/
DFakeUserManager.kt22 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/
DUserManagerHelper.java56 public static final int FLAG_INITIALIZED = UserInfo.FLAG_INITIALIZED; field in UserManagerHelper
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DGLRootView.java78 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/
DUserDetailsSettings.java131 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/
DUserTestingHelper.java310 flags |= UserInfo.FLAG_INITIALIZED; in build()
/packages/apps/Settings/tests/robotests/testutils/com/android/settings/testutils/shadow/
DShadowUserManager.java309 UserInfo.FLAG_INITIALIZED | UserInfo.FLAG_ADMIN | UserInfo.FLAG_PRIMARY); in getPrimaryUser()
/packages/services/Car/tools/GenericCarApiBuilder/
Dcomplete_car_built_in_api_list.txt311 field TIRAMISU_0 int FLAG_INITIALIZED = UserInfo.FLAG_INITIALIZED;
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DContactsActor.java169 final UserInfo ui = new UserInfo(id, name, flags | UserInfo.FLAG_INITIALIZED); in createUserInfo()
/packages/services/Car/car-builtin-lib/api/
Dmodule-lib-current.txt344 field public static final int FLAG_INITIALIZED = 16; // 0x10
/packages/services/Car/tests/carservice_unit_test/src/com/android/car/user/
DCarUserServiceTest.java2291 createUserWithRestrictionsInvalidTypes(UserManagerHelper.FLAG_INITIALIZED); in testCreateUserWithRestrictions_invalidFlags()