Searched refs:ACTIVE_USER_ID (Results 1 – 1 of 1) sorted by relevance
91 private static final int ACTIVE_USER_ID = 0; field in UserSettingsTest176 assertThat(UserSettings.assignDefaultPhoto(null, ACTIVE_USER_ID)).isFalse(); in testAssignDefaultPhoto_ContextNull_ReturnFalseAndNotCrash()493 assertThat(userPreferences.get(0).getUserId()).isEqualTo(ACTIVE_USER_ID); in updateUserList_existingManagedUser_shouldNotAddUserPreference()572 assertThat(userPref.getUserId()).isEqualTo(ACTIVE_USER_ID); in updateUserList_activeUserWithoutInitializedFlag_shouldNotSetSummary()591 mFragment.mUserIcons.put(ACTIVE_USER_ID, in updateUserList_userIconLoaded_shouldNotLoadIcon()609 doReturn(userIcon).when(mUserManager).getUserIcon(ACTIVE_USER_ID); in updateUserList_userIconMissing_shouldLoadIcon()613 verify(mUserManager).getUserIcon(ACTIVE_USER_ID); in updateUserList_userIconMissing_shouldLoadIcon()704 return new UserInfo(active ? ACTIVE_USER_ID : INACTIVE_ADMIN_USER_ID, ADMIN_USER_NAME, in getAdminUser()711 return new UserInfo(active ? ACTIVE_USER_ID : INACTIVE_SECONDARY_USER_ID, in getSecondaryUser()718 return new UserInfo(active ? ACTIVE_USER_ID : INACTIVE_RESTRICTED_USER_ID, in getRestrictedUser()[all …]