Searched refs:userPref (Results 1 – 2 of 2) sorted by relevance
456 assertThat(userPref.getIcon()).isNotNull(); in updateUserList_existingSecondaryUser_shouldAddSecondaryUserPreference()458 assertThat(userPref.isEnabled()).isEqualTo(true); in updateUserList_existingSecondaryUser_shouldAddSecondaryUserPreference()475 assertThat(userPref.getIcon()).isNotNull(); in updateUserList_existingRestrictedUser_shouldAddRestrictedUserPreference()478 assertThat(userPref.isEnabled()).isEqualTo(true); in updateUserList_existingRestrictedUser_shouldAddRestrictedUserPreference()512 assertThat(userPref.getIcon()).isNotNull(); in updateUserList_uninitializedRestrictedUser_shouldAddUserPreference()515 assertThat(userPref.isEnabled()).isEqualTo(true); in updateUserList_uninitializedRestrictedUser_shouldAddUserPreference()537 assertThat(userPref.getIcon()).isNotNull(); in updateUserList_uninitializedUserAndCanNotSwitchUser_shouldDisablePref()540 assertThat(userPref.isEnabled()).isEqualTo(false); in updateUserList_uninitializedUserAndCanNotSwitchUser_shouldDisablePref()558 assertThat(userPref.getSummary()).isNull(); in updateUserList_guestWithoutInitializedFlag_shouldNotSetSummary()571 UserPreference userPref = captor.getValue(); in updateUserList_activeUserWithoutInitializedFlag_shouldNotSetSummary() local[all …]
407 int userPref = getDefaultInstallLoc(); in getInstallLoc() local408 if (userPref == APP_INSTALL_DEVICE) { in getInstallLoc()413 } else if (userPref == APP_INSTALL_SDCARD) { in getInstallLoc()