Home
last modified time | relevance | path

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

12345

/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/profiles/
DProfileDetailsActionButtonsPreferenceControllerTest.java47 import com.android.car.settings.common.PreferenceControllerTestUtil;
108 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()
[all …]
DProfileDetailsHeaderPreferenceControllerTest.java36 import com.android.car.settings.common.PreferenceControllerTestUtil;
80 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.java36 import com.android.car.settings.common.PreferenceControllerTestUtil;
84 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.java43 import com.android.car.settings.common.PreferenceControllerTestUtil;
98 PreferenceControllerTestUtil.assignPreference(mController, mPreference); in setUp()
123 () -> PreferenceControllerTestUtil.assignPreference(controller, mPreference)); in testCheckInitialized_noAdminInfoSet_throwsError()
DProfilesEntryPreferenceControllerTest.java36 import com.android.car.settings.common.PreferenceControllerTestUtil;
66 PreferenceControllerTestUtil.assignPreference(mPreferenceController, mPreference); in setUp()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/applications/managedomainurls/
DDomainUrlsPreferenceControllerTest.java41 import com.android.car.settings.common.PreferenceControllerTestUtil;
115 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.java35 import com.android.car.settings.common.PreferenceControllerTestUtil;
81 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.java40 import com.android.car.settings.common.PreferenceControllerTestUtil;
85 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/
DApplicationPreferenceControllerTest.java34 import com.android.car.settings.common.PreferenceControllerTestUtil;
80 () -> 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()
DRecentAppsViewAllPreferenceControllerTest.java33 import com.android.car.settings.common.PreferenceControllerTestUtil;
67 PreferenceControllerTestUtil.assignPreference(mPreferenceController, mPreference); in setUp()
DRecentAppsGroupPreferenceControllerTest.java37 import com.android.car.settings.common.PreferenceControllerTestUtil;
73 PreferenceControllerTestUtil.assignPreference(mPreferenceController, mPreference); in setUp()
DApplicationActionButtonsPreferenceControllerTest.java67 import com.android.car.settings.common.PreferenceControllerTestUtil;
130 () -> 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()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/storage/
DStorageApplicationActionButtonsPreferenceControllerTest.java52 import com.android.car.settings.common.PreferenceControllerTestUtil;
128 () -> 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.java38 import com.android.car.settings.common.PreferenceControllerTestUtil;
78 PreferenceControllerTestUtil.assignPreference(mController, mPreference); in getAvailabilityStatus_wifiAvailable_available()
88 PreferenceControllerTestUtil.assignPreference(mController, mPreference); in getAvailabilityStatus_wifiNotAvailable_unsupportedOnDevice()
DWifiStateSwitchPreferenceControllerTest.java34 import com.android.car.settings.common.PreferenceControllerTestUtil;
67 PreferenceControllerTestUtil.assignPreference(mPreferenceController, mSwitchPreference); in setUp()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/system/hardwareinfo/
DSerialNumberPreferenceControllerTest.java31 import com.android.car.settings.common.PreferenceControllerTestUtil;
61 PreferenceControllerTestUtil.assignPreference(mPreferenceController, mPreference); in setUp()
DHardwareRevisionPreferenceControllerTest.java31 import com.android.car.settings.common.PreferenceControllerTestUtil;
61 PreferenceControllerTestUtil.assignPreference(mPreferenceController, mPreference); in setUp()
DDeviceModelPreferenceControllerTest.java31 import com.android.car.settings.common.PreferenceControllerTestUtil;
62 PreferenceControllerTestUtil.assignPreference(mPreferenceController, mPreference); in setUp()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/system/
DKernelVersionPreferenceControllerTest.java30 import com.android.car.settings.common.PreferenceControllerTestUtil;
61 PreferenceControllerTestUtil.assignPreference(mPreferenceController, mPreference); in setUp()
DAboutSettingsEntryPreferenceControllerTest.java32 import com.android.car.settings.common.PreferenceControllerTestUtil;
62 PreferenceControllerTestUtil.assignPreference(mPreferenceController, mPreference); in setUp()
DFirmwareVersionPreferenceControllerTest.java32 import com.android.car.settings.common.PreferenceControllerTestUtil;
62 PreferenceControllerTestUtil.assignPreference(mPreferenceController, mPreference); in setUp()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/wifi/details/
DWifiMacAddressPreferenceControllerTest.java31 import com.android.car.settings.common.PreferenceControllerTestUtil;
70 PreferenceControllerTestUtil.assignPreference(mPreferenceController, mPreference); in setUp()
DWifiSignalStrengthPreferenceControllerTest.java32 import com.android.car.settings.common.PreferenceControllerTestUtil;
71 PreferenceControllerTestUtil.assignPreference(mPreferenceController, mPreference); in setUp()
DWifiFrequencyPreferenceControllerTest.java31 import com.android.car.settings.common.PreferenceControllerTestUtil;
69 PreferenceControllerTestUtil.assignPreference(mPreferenceController, mPreference); in setUp()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/bluetooth/
DBluetoothAddressPreferenceControllerTest.java35 import com.android.car.settings.common.PreferenceControllerTestUtil;
73 PreferenceControllerTestUtil.assignPreference(mPreferenceController, mPreference); in setUp()

12345