Home
last modified time | relevance | path

Searched refs:PreferenceControllerTestHelper (Results 1 – 25 of 140) sorted by relevance

123456

/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/applications/specialaccess/
DMoreSpecialAccessPreferenceControllerTest.java34 import com.android.car.settings.common.PreferenceControllerTestHelper;
84 PreferenceControllerTestHelper<MoreSpecialAccessPreferenceController> controllerHelper = in getAvailabilityStatus_noPermissionController_returnsUnsupportedOnDevice()
85 new PreferenceControllerTestHelper<>(mContext, in getAvailabilityStatus_noPermissionController_returnsUnsupportedOnDevice()
96 PreferenceControllerTestHelper<MoreSpecialAccessPreferenceController> controllerHelper = in getAvailabilityStatus_noResolvedActivity_returnsUnsupportedOnDevice()
97 new PreferenceControllerTestHelper<>(mContext, in getAvailabilityStatus_noResolvedActivity_returnsUnsupportedOnDevice()
110 PreferenceControllerTestHelper<MoreSpecialAccessPreferenceController> controllerHelper = in getAvailabilityStatus_resolvedActivity_returnsAvailable()
111 new PreferenceControllerTestHelper<>(mContext, in getAvailabilityStatus_resolvedActivity_returnsAvailable()
124 PreferenceControllerTestHelper<MoreSpecialAccessPreferenceController> controllerHelper = in preferenceClicked_startsResolvedActivity()
125 new PreferenceControllerTestHelper<>(mContext, in preferenceClicked_startsResolvedActivity()
DAppOpsPreferenceControllerTest.java40 import com.android.car.settings.common.PreferenceControllerTestHelper;
80 private PreferenceControllerTestHelper<AppOpsPreferenceController> mControllerHelper;
91 mControllerHelper = new PreferenceControllerTestHelper<>(mContext, in setUp()
109 mControllerHelper = new PreferenceControllerTestHelper<>(mContext, in checkInitialized_noOpCode_throwsIllegalStateException()
121 mControllerHelper = new PreferenceControllerTestHelper<>(mContext, in checkInitialized_noPermission_throwsIllegalStateException()
133 mControllerHelper = new PreferenceControllerTestHelper<>(mContext, in checkInitialized_noNegativeOpMode_throwsIllegalStateException()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/accounts/
DAccountDetailsPreferenceControllerTest.java34 import com.android.car.settings.common.PreferenceControllerTestHelper;
62 PreferenceControllerTestHelper<AccountDetailsPreferenceController> helper = in setUp()
63 new PreferenceControllerTestHelper<>(application, in setUp()
81 mController = new PreferenceControllerTestHelper<>(application, in checkInitialized_accountSetAndUserHandleSet_doesNothing()
91 mController = new PreferenceControllerTestHelper<>(application, in checkInitialized_nullAccount_throwsIllegalStateException()
100 mController = new PreferenceControllerTestHelper<>(application, in checkInitialized_nullUserHandle_throwsIllegalStateException()
DAccountDetailsSettingControllerTest.java38 import com.android.car.settings.common.PreferenceControllerTestHelper;
77 PreferenceControllerTestHelper<AccountDetailsSettingController> mHelper;
84 mHelper = new PreferenceControllerTestHelper<>(application, in setUp()
99 mAccountDetailsSettingController = new PreferenceControllerTestHelper<>(application, in checkInitialized_accountSetAndUserHandleSet_doesNothing()
109 () -> new PreferenceControllerTestHelper<>(mContext, in checkInitialized_nullAccount_throwsIllegalStateException()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/suggestions/
DSuggestionsPreferenceControllerTest.java37 import com.android.car.settings.common.PreferenceControllerTestHelper;
67 private PreferenceControllerTestHelper<SuggestionsPreferenceController> mControllerHelper;
77 mControllerHelper = new PreferenceControllerTestHelper<>(mContext, in setUp()
89 PreferenceControllerTestHelper<SuggestionsPreferenceController> helper = in setPreference_loaderManagerSet_doesNothing()
90 new PreferenceControllerTestHelper<>(mContext, in setPreference_loaderManagerSet_doesNothing()
100 PreferenceControllerTestHelper<SuggestionsPreferenceController> helper = in checkInitialized_nullLoaderManager_throwsIllegalStateException()
101 new PreferenceControllerTestHelper<>(mContext, in checkInitialized_nullLoaderManager_throwsIllegalStateException()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/common/
DPreferenceControllerTest.java72 private PreferenceControllerTestHelper<FakePreferenceController> mControllerHelper;
83 mControllerHelper = new PreferenceControllerTestHelper<>(mContext, in setUp()
90 PreferenceControllerTestHelper<WrongTypePreferenceController> controllerHelper = in setPreference_wrongType_throwsIllegalArgumentException()
91 new PreferenceControllerTestHelper<>(mContext, WrongTypePreferenceController.class); in setPreference_wrongType_throwsIllegalArgumentException()
188 mControllerHelper = new PreferenceControllerTestHelper<>(mContext, in onUxRestrictionsChanged_restricted_allPreferencesIgnore_preferenceEnabled()
205 mControllerHelper = new PreferenceControllerTestHelper<>(mContext, in onUxRestrictionsChanged_restricted_thisPreferenceIgnores_preferenceEnabled()
210 preferencesIgnoringUxRestrictions.add(PreferenceControllerTestHelper.getKey()); in onUxRestrictionsChanged_restricted_thisPreferenceIgnores_preferenceEnabled()
223 mControllerHelper = new PreferenceControllerTestHelper<>(mContext, in onUxRestrictionsChanged_restricted_uxRestrictionsNotIgnored_preferenceDisabled()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/applications/defaultapps/
DDefaultAutofillPickerEntryPreferenceControllerTest.java37 import com.android.car.settings.common.PreferenceControllerTestHelper;
71 private PreferenceControllerTestHelper<DefaultAutofillPickerEntryPreferenceController>
83 mControllerHelper = new PreferenceControllerTestHelper<>(mContext, in setUp()
104 PreferenceControllerTestHelper<DefaultAutofillPickerEntryPreferenceController> helper = in getAvailabilityStatus_autofillManagerIsNull_unsupportedOnDevice()
105 new PreferenceControllerTestHelper<>(mContext, in getAvailabilityStatus_autofillManagerIsNull_unsupportedOnDevice()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/users/
DChooseNewAdminPreferenceControllerTest.java40 import com.android.car.settings.common.PreferenceControllerTestHelper;
63 private PreferenceControllerTestHelper<ChooseNewAdminPreferenceController> mControllerHelper;
74 mControllerHelper = new PreferenceControllerTestHelper<>(mContext, in setUp()
99 () -> new PreferenceControllerTestHelper<>(mContext, in testCheckInitialized_noAdminInfoSet_throwsError()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/bluetooth/
DBluetoothDevicePreferenceControllerTest.java41 import com.android.car.settings.common.PreferenceControllerTestHelper;
70 private PreferenceControllerTestHelper<TestBluetoothDevicePreferenceController>
85 mControllerHelper = new PreferenceControllerTestHelper<>(mContext, in setUp()
99 mControllerHelper = new PreferenceControllerTestHelper<>(mContext, in setPreference_deviceNotSet_throwsIllegalStateException()
DPairNewDevicePreferenceControllerTest.java42 import com.android.car.settings.common.PreferenceControllerTestHelper;
74 private PreferenceControllerTestHelper<PairNewDevicePreferenceController> mControllerHelper;
93 mControllerHelper = new PreferenceControllerTestHelper<>(mContext, in setUp()
109 () -> new PreferenceControllerTestHelper<>(mContext, in checkInitialized_noFragmentOrIntent_throwsIllegalStateException()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/storage/
DStorageMediaCategoryPreferenceControllerTest.java28 import com.android.car.settings.common.PreferenceControllerTestHelper;
43 PreferenceControllerTestHelper<StorageMediaCategoryPreferenceController> helper = in handlePreferenceClicked_shouldLaunchAccountSyncDetailsFragment()
44 new PreferenceControllerTestHelper<>(context, in handlePreferenceClicked_shouldLaunchAccountSyncDetailsFragment()
DStorageSystemCategoryPreferenceControllerTest.java28 import com.android.car.settings.common.PreferenceControllerTestHelper;
45 PreferenceControllerTestHelper<StorageSystemCategoryPreferenceController> in handlePreferenceClicked_openAlertDialog()
46 preferenceControllerHelper = new PreferenceControllerTestHelper<>(context, in handlePreferenceClicked_openAlertDialog()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/applications/managedomainurls/
DDomainAppPreferenceControllerTest.java40 import com.android.car.settings.common.PreferenceControllerTestHelper;
74 private PreferenceControllerTestHelper<DomainAppPreferenceController> mControllerHelper;
97 mControllerHelper = new PreferenceControllerTestHelper<>(mContext, in setUp()
117 mControllerHelper = new PreferenceControllerTestHelper<>(mContext, in checkInitialized_noLifecycle_throwsError()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/applications/
DVersionPreferenceControllerTest.java31 import com.android.car.settings.common.PreferenceControllerTestHelper;
44 private PreferenceControllerTestHelper<VersionPreferenceController> mPreferenceControllerHelper;
52 mPreferenceControllerHelper = new PreferenceControllerTestHelper<>(mContext, in setUp()
DPermissionsPreferenceControllerTest.java30 import com.android.car.settings.common.PreferenceControllerTestHelper;
48 private PreferenceControllerTestHelper<PermissionsPreferenceController>
56 mPreferenceControllerHelper = new PreferenceControllerTestHelper<>(mContext, in setUp()
DApplicationPreferenceControllerTest.java29 import com.android.car.settings.common.PreferenceControllerTestHelper;
45 private PreferenceControllerTestHelper<ApplicationPreferenceController>
60 mPreferenceControllerHelper = new PreferenceControllerTestHelper<>(context, in setUp()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/wifi/
DAddWifiPreferenceControllerTest.java28 import com.android.car.settings.common.PreferenceControllerTestHelper;
56 PreferenceControllerTestHelper<AddWifiPreferenceController> controllerHelper = in setUp()
57 new PreferenceControllerTestHelper<>(context, AddWifiPreferenceController.class, in setUp()
DWifiTetherNamePreferenceControllerTest.java27 import com.android.car.settings.common.PreferenceControllerTestHelper;
44 private PreferenceControllerTestHelper<WifiTetherNamePreferenceController> mControllerHelper;
62 new PreferenceControllerTestHelper<WifiTetherNamePreferenceController>(mContext, in onStart_wifiConfigHasSSID_setsSummary()
DNetworkNamePreferenceControllerTest.java29 import com.android.car.settings.common.PreferenceControllerTestHelper;
55 PreferenceControllerTestHelper<NetworkNamePreferenceController> controllerHelper = in setUp()
56 new PreferenceControllerTestHelper<>(mContext, in setUp()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/security/
DCredentialsResetPreferenceControllerTest.java32 import com.android.car.settings.common.PreferenceControllerTestHelper;
53 private PreferenceControllerTestHelper<CredentialsResetPreferenceController> mControllerHelper;
61 mControllerHelper = new PreferenceControllerTestHelper<>(context, in setUp()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/datetime/
DTimePickerPreferenceControllerTest.java30 import com.android.car.settings.common.PreferenceControllerTestHelper;
42 private PreferenceControllerTestHelper<TimePickerPreferenceController>
50 mPreferenceControllerHelper = new PreferenceControllerTestHelper<>(mContext, in setUp()
DDatePickerPreferenceControllerTest.java30 import com.android.car.settings.common.PreferenceControllerTestHelper;
42 private PreferenceControllerTestHelper<DatePickerPreferenceController>
50 mPreferenceControllerHelper = new PreferenceControllerTestHelper<>(mContext, in setUp()
DTimeZonePickerPreferenceControllerTest.java30 import com.android.car.settings.common.PreferenceControllerTestHelper;
42 private PreferenceControllerTestHelper<TimeZonePickerPreferenceController>
50 mPreferenceControllerHelper = new PreferenceControllerTestHelper<>(mContext, in setUp()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/system/
DMasterClearOtherUsersPresentPreferenceControllerTest.java31 import com.android.car.settings.common.PreferenceControllerTestHelper;
62 PreferenceControllerTestHelper<MasterClearOtherUsersPresentPreferenceController> in setUp()
63 controllerHelper = new PreferenceControllerTestHelper<>(context, in setUp()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/display/
DAdaptiveBrightnessTogglePreferenceControllerTest.java29 import com.android.car.settings.common.PreferenceControllerTestHelper;
47 PreferenceControllerTestHelper<AdaptiveBrightnessTogglePreferenceController> in setUp()
48 preferenceControllerHelper = new PreferenceControllerTestHelper<>(mContext, in setUp()

123456