Home
last modified time | relevance | path

Searched refs:assignPreference (Results 1 – 25 of 107) sorted by relevance

12345

/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/profiles/
DProfileDetailsActionButtonsPreferenceControllerTest.java108 PreferenceControllerTestUtil.assignPreference(mPreferenceController, mPreference); in onStart_userIsViewingSelf_renameButtonShown()
120 PreferenceControllerTestUtil.assignPreference(mPreferenceController, mPreference); in onStart_userIsNotViewingSelf_renameButtonHidden()
133 PreferenceControllerTestUtil.assignPreference(mPreferenceController, mPreference); in onStart_isAdminViewingNonAdmin_makeAdminButtonShown()
147 PreferenceControllerTestUtil.assignPreference(mPreferenceController, mPreference); in onStart_isAdminViewingAdmin_makeAdminButtonHidden()
164 PreferenceControllerTestUtil.assignPreference(mPreferenceController, mPreference); in onStart_isAdminViewingSelf_makeManageOtherProfilesButtonShown()
182 PreferenceControllerTestUtil.assignPreference(mPreferenceController, mPreference); in onStart_isAdminViewingOther_makeManageOtherProfilesButtonHidden()
199 PreferenceControllerTestUtil.assignPreference(mPreferenceController, mPreference); in onStart_isNonAdmin_makeManageOtherProfilesButtonHidden()
215 PreferenceControllerTestUtil.assignPreference(mPreferenceController, mPreference); in onStart_isOnlyProfile_makeAddAProfileButtonShown()
227 PreferenceControllerTestUtil.assignPreference(mPreferenceController, mPreference); in onStart_profileIsRemovable_deleteButtonShown()
242 PreferenceControllerTestUtil.assignPreference(mPreferenceController, mPreference); in onStart_profileIsNotRemovable_deleteButtonHidden()
[all …]
DProfileDetailsHeaderPreferenceControllerTest.java80 PreferenceControllerTestUtil.assignPreference(mPreferenceController, mPreference); in onCreate_elementHasTitle()
89 PreferenceControllerTestUtil.assignPreference(mPreferenceController, mPreference); in onCreate_profileNotSetup_setsSummary()
99 PreferenceControllerTestUtil.assignPreference(mPreferenceController, mPreference); in onCreate_profileSetup_noSummary()
110 PreferenceControllerTestUtil.assignPreference(mPreferenceController, mPreference); in onCreate_isAdmin_notCurrentProfile()
122 PreferenceControllerTestUtil.assignPreference(mPreferenceController, mPreference); in onCreate_isAdmin_currentProfile()
DProfileDetailsDeletePreferenceControllerTest.java84 PreferenceControllerTestUtil.assignPreference(mPreferenceController, mPreference); in onCreate_userNotRestricted_deleteButtonShown()
97 PreferenceControllerTestUtil.assignPreference(mPreferenceController, mPreference); in onCreate_userRestricted_deleteButtonHidden()
108 PreferenceControllerTestUtil.assignPreference(mPreferenceController, mPreference); in onCreate_userIsViewingSelf_deleteButtonHidden()
120 PreferenceControllerTestUtil.assignPreference(mPreferenceController, mPreference); in onCreate_userIsNotViewingSelf_deleteButtonHidden()
133 PreferenceControllerTestUtil.assignPreference(mPreferenceController, mPreference); in onCreate_isDemoUser_deleteButtonHidden()
DChooseNewAdminPreferenceControllerTest.java98 PreferenceControllerTestUtil.assignPreference(mController, mPreference); in setUp()
123 () -> PreferenceControllerTestUtil.assignPreference(controller, mPreference)); in testCheckInitialized_noAdminInfoSet_throwsError()
DProfilesEntryPreferenceControllerTest.java66 PreferenceControllerTestUtil.assignPreference(mPreferenceController, mPreference); in setUp()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/applications/managedomainurls/
DDomainUrlsPreferenceControllerTest.java115 PreferenceControllerTestUtil.assignPreference(mPreferenceController, mPreference); in onCreate_isBrowserApp_isDisabled()
126 PreferenceControllerTestUtil.assignPreference(mPreferenceController, mPreference); in onCreate_isNotBrowserApp_isEnabled()
136 PreferenceControllerTestUtil.assignPreference(mPreferenceController, mPreference); in onCreate_hasNoDomains_isDisabled()
147 PreferenceControllerTestUtil.assignPreference(mPreferenceController, mPreference); in onCreate_isBrowserApp_summarySet()
158 PreferenceControllerTestUtil.assignPreference(mPreferenceController, mPreference); in onCreate_isNotBrowserApp_summarySet()
169 PreferenceControllerTestUtil.assignPreference(mPreferenceController, mPreference); in performClick_isNotBrowserApp_opensDialog()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/accounts/
DAccountDetailsBasePreferenceControllerTest.java81 PreferenceControllerTestUtil.assignPreference(mPreferenceController, mPreference); in checkInitialized_accountSetAndUserHandleSet_doesNothing()
88 () -> PreferenceControllerTestUtil.assignPreference(mPreferenceController, in checkInitialized_nullAccount_throwsIllegalStateException()
96 () -> PreferenceControllerTestUtil.assignPreference(mPreferenceController, in checkInitialized_nullUserHandle_throwsIllegalStateException()
104 PreferenceControllerTestUtil.assignPreference(mPreferenceController, mPreference); in onCreate_shouldSetTitle()
115 PreferenceControllerTestUtil.assignPreference(mPreferenceController, mPreference); in onCreate_shouldSetIcon()
DAccountGroupPreferenceControllerTest.java85 PreferenceControllerTestUtil.assignPreference(mController, mPreference); in getAvailabilityStatus_currentUser_cannotModifyAccounts_notAvailable()
98 PreferenceControllerTestUtil.assignPreference(mController, mPreference); in getAvailabilityStatus_currentUser_canModifyAccounts_available()
111 PreferenceControllerTestUtil.assignPreference(mController, mPreference); in getAvailabilityStatus_notCurrentUser_canModifyAccounts_notAvailable()
124 PreferenceControllerTestUtil.assignPreference(mController, mPreference); in getAvailabilityStatus_notCurrentUser_cannotModifyAccounts_notAvailable()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/applications/appinfo/
DHibernationSwitchPreferenceControllerTest.java130 assignPreference(); in updateState_exemptedByDefaultPackage_shouldNotCheck()
143 assignPreference(); in updateState_exemptedPackageOverrideByUser_shouldCheck()
156 assignPreference(); in updateState_unexemptedPackageOverrideByUser_shouldNotCheck()
167 private void assignPreference() { in assignPreference() method in HibernationSwitchPreferenceControllerTest
168 PreferenceControllerTestUtil.assignPreference(mController, in assignPreference()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/applications/
DApplicationPreferenceControllerTest.java80 () -> PreferenceControllerTestUtil.assignPreference(mController, mPreference)); in testCheckInitialized_noAppState_throwException()
87 () -> PreferenceControllerTestUtil.assignPreference(mController, mPreference)); in testCheckInitialized_noAppEntry_throwException()
95 PreferenceControllerTestUtil.assignPreference(mController, mPreference); in testRefreshUi_hasResolveInfo_setTitle()
DHibernatedAppsPreferenceControllerTest.java102 assignPreference(); in onHibernatedAppsCountCallback_setsSummary()
112 private void assignPreference() { in assignPreference() method in HibernatedAppsPreferenceControllerTest
113 PreferenceControllerTestUtil.assignPreference(mController, in assignPreference()
DApplicationActionButtonsPreferenceControllerTest.java130 () -> PreferenceControllerTestUtil.assignPreference(mPreferenceController, in testCheckInitialized_noAppState_throwException()
138 () -> PreferenceControllerTestUtil.assignPreference(mPreferenceController, in testCheckInitialized_noAppEntry_throwException()
146 () -> PreferenceControllerTestUtil.assignPreference(mPreferenceController, in testCheckInitialized_noPackageNameEntry_throwException()
716 PreferenceControllerTestUtil.assignPreference(mPreferenceController, in setupAndAssignPreference()
DRecentAppsViewAllPreferenceControllerTest.java67 PreferenceControllerTestUtil.assignPreference(mPreferenceController, mPreference); in setUp()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/storage/
DStorageApplicationActionButtonsPreferenceControllerTest.java128 () -> PreferenceControllerTestUtil.assignPreference(mPreferenceController, in testCheckInitialized_noAppEntry_throwException()
137 () -> PreferenceControllerTestUtil.assignPreference(mPreferenceController, in testCheckInitialized_noPackageNameEntry_throwException()
146 () -> PreferenceControllerTestUtil.assignPreference(mPreferenceController, in testCheckInitialized_noAppsStorageStatsManagerEntry_throwException()
155 () -> PreferenceControllerTestUtil.assignPreference(mPreferenceController, in testCheckInitialized_noLoaderManager_throwException()
420 PreferenceControllerTestUtil.assignPreference(mPreferenceController, in setupAndAssignPreference()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/wifi/
DWifiEntryGroupPreferenceControllerTest.java78 PreferenceControllerTestUtil.assignPreference(mController, mPreference); in getAvailabilityStatus_wifiAvailable_available()
88 PreferenceControllerTestUtil.assignPreference(mController, mPreference); in getAvailabilityStatus_wifiNotAvailable_unsupportedOnDevice()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/common/
DPreferenceControllerTestUtil.java25 public static void assignPreference(PreferenceController controller, Preference preference) { in assignPreference() method in PreferenceControllerTestUtil
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/system/hardwareinfo/
DSerialNumberPreferenceControllerTest.java61 PreferenceControllerTestUtil.assignPreference(mPreferenceController, mPreference); in setUp()
DHardwareRevisionPreferenceControllerTest.java61 PreferenceControllerTestUtil.assignPreference(mPreferenceController, mPreference); in setUp()
DDeviceModelPreferenceControllerTest.java62 PreferenceControllerTestUtil.assignPreference(mPreferenceController, mPreference); in setUp()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/system/
DKernelVersionPreferenceControllerTest.java61 PreferenceControllerTestUtil.assignPreference(mPreferenceController, mPreference); in setUp()
DAboutSettingsEntryPreferenceControllerTest.java62 PreferenceControllerTestUtil.assignPreference(mPreferenceController, mPreference); in setUp()
DFirmwareVersionPreferenceControllerTest.java62 PreferenceControllerTestUtil.assignPreference(mPreferenceController, mPreference); in setUp()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/wifi/details/
DWifiMacAddressPreferenceControllerTest.java70 PreferenceControllerTestUtil.assignPreference(mPreferenceController, mPreference); in setUp()
DWifiSignalStrengthPreferenceControllerTest.java71 PreferenceControllerTestUtil.assignPreference(mPreferenceController, mPreference); in setUp()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/bluetooth/
DBluetoothAddressPreferenceControllerTest.java73 PreferenceControllerTestUtil.assignPreference(mPreferenceController, mPreference); in setUp()

12345