Home
last modified time | relevance | path

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

123456

/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/applications/assist/
DDefaultVoiceInputPickerEntryPreferenceControllerTest.java19 import static com.android.car.settings.common.PreferenceController.CONDITIONALLY_UNAVAILABLE;
40 import com.android.car.settings.common.PreferenceController;
121 PreferenceController.AVAILABLE); in getAvailabilityStatus_differentComponents_returnsAvailable()
128 PreferenceController.AVAILABLE); in getAvailabilityStatus_assistNull_returnsAvailable()
135 PreferenceController.AVAILABLE); in getAvailabilityStatus_voiceInputNull_returnsAvailable()
160 assertThat(mController.getAvailabilityStatus()).isEqualTo(PreferenceController.AVAILABLE); in onChange_changeRegisteredSetting_callsRefreshUi()
169 PreferenceController.CONDITIONALLY_UNAVAILABLE); in onChange_changeRegisteredSetting_callsRefreshUi()
/packages/apps/Car/Settings/src/com/android/car/settings/common/
DSettingsFragment.java73 private final Map<Class, List<PreferenceController>> mPreferenceControllersLookup =
75 private final List<PreferenceController> mPreferenceControllers = new ArrayList<>();
116 protected <T extends PreferenceController> T use(Class<T> clazz, in use()
118 List<PreferenceController> controllerList = mPreferenceControllersLookup.get(clazz); in use()
121 for (PreferenceController controller : controllerList) { in use()
178 for (PreferenceController controller : mPreferenceControllers) { in onCreatePreferences()
233 for (PreferenceController controller : mPreferenceControllers) { in onUxRestrictionsChanged()
DPreferenceControllerListHelper.java59 static List<PreferenceController> getPreferenceControllersFromXml(Context context, in getPreferenceControllersFromXml()
62 List<PreferenceController> controllers = new ArrayList<>(); in getPreferenceControllersFromXml()
89 private static PreferenceController createInstance(String controllerName, in createInstance()
97 return (PreferenceController) preferenceConstructor.newInstance(params); in createInstance()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/bluetooth/
DBluetoothPreferenceControllerTest.java22 import static com.android.car.settings.common.PreferenceController.AVAILABLE;
23 import static com.android.car.settings.common.PreferenceController.CONDITIONALLY_UNAVAILABLE;
24 import static com.android.car.settings.common.PreferenceController.DISABLED_FOR_USER;
25 import static com.android.car.settings.common.PreferenceController.UNSUPPORTED_ON_DEVICE;
DBluetoothEntryPreferenceControllerTest.java22 import static com.android.car.settings.common.PreferenceController.AVAILABLE;
23 import static com.android.car.settings.common.PreferenceController.DISABLED_FOR_USER;
24 import static com.android.car.settings.common.PreferenceController.UNSUPPORTED_ON_DEVICE;
DPairNewDevicePreferenceControllerTest.java23 import static com.android.car.settings.common.PreferenceController.AVAILABLE;
24 import static com.android.car.settings.common.PreferenceController.DISABLED_FOR_USER;
25 import static com.android.car.settings.common.PreferenceController.UNSUPPORTED_ON_DEVICE;
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/common/
DPreferenceControllerTest.java19 import static com.android.car.settings.common.PreferenceController.AVAILABLE;
20 import static com.android.car.settings.common.PreferenceController.AVAILABLE_FOR_VIEWING;
21 import static com.android.car.settings.common.PreferenceController.CONDITIONALLY_UNAVAILABLE;
22 import static com.android.car.settings.common.PreferenceController.UNSUPPORTED_ON_DEVICE;
398 PreferenceController<PreferenceGroup> {
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/units/
DUnitsBasePreferenceControllerTest.java33 import com.android.car.settings.common.PreferenceController;
120 .isEqualTo(PreferenceController.CONDITIONALLY_UNAVAILABLE); in onCreate_preferenceIsConditionallyUnavailable()
127 assertThat(mController.getAvailabilityStatus()).isEqualTo(PreferenceController.AVAILABLE); in onCarServiceConnected_availableUnitsExist_preferenceIsAvailable()
136 .isEqualTo(PreferenceController.CONDITIONALLY_UNAVAILABLE); in onCarServiceConnected_noAvailableUnits_preferenceIsConditionallyUnavailable()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/security/
DAddTrustedDevicePreferenceControllerTest.java23 import static com.android.car.settings.common.PreferenceController.AVAILABLE;
24 import static com.android.car.settings.common.PreferenceController.DISABLED_FOR_USER;
25 import static com.android.car.settings.common.PreferenceController.UNSUPPORTED_ON_DEVICE;
/packages/apps/Car/Settings/src/com/android/car/settings/accounts/
DAccountsEntryPreferenceController.java26 import com.android.car.settings.common.PreferenceController;
32 public class AccountsEntryPreferenceController extends PreferenceController<Preference> {
/packages/apps/Car/Settings/src/com/android/car/settings/security/
DSecurityEntryPreferenceController.java26 import com.android.car.settings.common.PreferenceController;
32 public class SecurityEntryPreferenceController extends PreferenceController<Preference> {
DChooseDeviceInstructionPreferenceController.java27 import com.android.car.settings.common.PreferenceController;
32 public class ChooseDeviceInstructionPreferenceController extends PreferenceController<Preference> {
DCredentialsResetPreferenceController.java28 import com.android.car.settings.common.PreferenceController;
31 public class CredentialsResetPreferenceController extends PreferenceController<Preference> {
/packages/apps/Car/Settings/src/com/android/car/settings/system/
DSecurityPatchPreferenceController.java25 import com.android.car.settings.common.PreferenceController;
29 public class SecurityPatchPreferenceController extends PreferenceController<Preference> {
DMasterClearOtherUsersPresentPreferenceController.java26 import com.android.car.settings.common.PreferenceController;
33 PreferenceController<Preference> {
DKernelVersionPreferenceController.java25 import com.android.car.settings.common.PreferenceController;
29 public class KernelVersionPreferenceController extends PreferenceController<Preference> {
DDeveloperOptionsEntryPreferenceController.java26 import com.android.car.settings.common.PreferenceController;
30 public class DeveloperOptionsEntryPreferenceController extends PreferenceController<Preference> {
DAboutSettingsEntryPreferenceController.java27 import com.android.car.settings.common.PreferenceController;
30 public class AboutSettingsEntryPreferenceController extends PreferenceController<Preference> {
DModelInfoPreferenceController.java26 import com.android.car.settings.common.PreferenceController;
30 public class ModelInfoPreferenceController extends PreferenceController<Preference> {
DResetNetworkEntryPreferenceController.java28 import com.android.car.settings.common.PreferenceController;
31 public class ResetNetworkEntryPreferenceController extends PreferenceController<Preference> {
DFirmwareVersionPreferenceController.java27 import com.android.car.settings.common.PreferenceController;
30 public class FirmwareVersionPreferenceController extends PreferenceController<Preference> {
/packages/apps/Car/Settings/src/com/android/car/settings/wifi/
DWifiTetherPreferenceController.java26 import com.android.car.settings.common.PreferenceController;
31 public class WifiTetherPreferenceController extends PreferenceController<Preference> {
/packages/apps/Car/Settings/src/com/android/car/settings/applications/specialaccess/
DPremiumSmsAccessEntryPreferenceController.java26 import com.android.car.settings.common.PreferenceController;
32 public class PremiumSmsAccessEntryPreferenceController extends PreferenceController<Preference> {
/packages/apps/Car/Settings/src/com/android/car/settings/datausage/
DDataWarningAndLimitBasePreferenceController.java26 import com.android.car.settings.common.PreferenceController;
37 PreferenceController<V> {
/packages/apps/Car/Settings/src/com/android/car/settings/language/
DLanguageSettingsEntryPreferenceController.java25 import com.android.car.settings.common.PreferenceController;
32 public class LanguageSettingsEntryPreferenceController extends PreferenceController<Preference> {

123456