Home
last modified time | relevance | path

Searched refs:preferenceControllers (Results 1 – 16 of 16) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/display/
DDeviceStateAutoRotateDetailsFragmentTest.java82 List<AbstractPreferenceController> preferenceControllers = in createPreferenceControllers_settableDeviceStates_returnsDeviceStateControllers() local
85 assertThat(preferenceControllers).hasSize(2); in createPreferenceControllers_settableDeviceStates_returnsDeviceStateControllers()
86 assertThat(preferenceControllers.get(0)).isInstanceOf( in createPreferenceControllers_settableDeviceStates_returnsDeviceStateControllers()
88 assertThat(preferenceControllers.get(1)).isInstanceOf( in createPreferenceControllers_settableDeviceStates_returnsDeviceStateControllers()
96 List<AbstractPreferenceController> preferenceControllers = in createPreferenceControllers_noSettableDeviceStates_returnsEmptyList() local
99 assertThat(preferenceControllers).isEmpty(); in createPreferenceControllers_noSettableDeviceStates_returnsEmptyList()
DSmartAutoRotatePreferenceFragmentTest.java188 List<AbstractPreferenceController> preferenceControllers = in createPreferenceControllers_noSettableDeviceStates_returnsEmptyList() local
191 assertThat(preferenceControllers).isEmpty(); in createPreferenceControllers_noSettableDeviceStates_returnsEmptyList()
203 List<AbstractPreferenceController> preferenceControllers = in createPreferenceControllers_settableDeviceStates_returnsDeviceStateControllers() local
206 assertThat(preferenceControllers).hasSize(2); in createPreferenceControllers_settableDeviceStates_returnsDeviceStateControllers()
207 assertThat(preferenceControllers.get(0)) in createPreferenceControllers_settableDeviceStates_returnsDeviceStateControllers()
209 assertThat(preferenceControllers.get(1)) in createPreferenceControllers_settableDeviceStates_returnsDeviceStateControllers()
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/device/display/daydream/
DEnergySaverState.java206 List<AbstractPreferenceController> preferenceControllers = new ArrayList<>(); in onCreatePreferenceControllers() local
211 preferenceControllers.add(mAllowTurnScreenOffWithWakeLockPC); in onCreatePreferenceControllers()
212 preferenceControllers.add(mSleepTimePC); in onCreatePreferenceControllers()
213 return preferenceControllers; in onCreatePreferenceControllers()
/packages/apps/Settings/src/com/android/settings/core/
DPreferenceControllerListHelper.java108 List<BasePreferenceController> preferenceControllers = in areAllPreferencesUnavailable() local
110 if (screen.getPreferenceCount() != preferenceControllers.size()) { in areAllPreferencesUnavailable()
114 return preferenceControllers.stream().noneMatch(BasePreferenceController::isAvailable); in areAllPreferencesUnavailable()
/packages/apps/Settings/tests/robotests/src/com/android/settings/security/screenlock/
DScreenLockSettingsTest.java58 final Map<Class, List<AbstractPreferenceController>> preferenceControllers = in onOwnerInfoUpdated_shouldUpdateOwnerInfoController() local
63 preferenceControllers.put(OwnerInfoPreferenceController.class, controllerList); in onOwnerInfoUpdated_shouldUpdateOwnerInfoController()
/packages/apps/Car/Settings/src/com/android/car/settings/applications/managedomainurls/
DApplicationLaunchSettingsFragment.java72 List<AppLaunchSettingsBasePreferenceController> preferenceControllers = Arrays.asList( in onAttach() local
80 for (AppLaunchSettingsBasePreferenceController controller : preferenceControllers) { in onAttach()
/packages/apps/Car/Settings/src/com/android/car/settings/datausage/
DDataWarningAndLimitFragment.java84 List<DataWarningAndLimitBasePreferenceController> preferenceControllers = in onAttach() local
92 preferenceControllers) { in onAttach()
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/privacy/
DLocationState.java222 List<AbstractPreferenceController> preferenceControllers = new ArrayList<>(); in onCreatePreferenceControllers() local
225 preferenceControllers.add(mLocationMode); in onCreatePreferenceControllers()
226 return preferenceControllers; in onCreatePreferenceControllers()
/packages/apps/Car/Settings/src/com/android/car/settings/storage/
DAppStorageSettingsDetailsFragment.java104 List<? extends StorageSizeBasePreferenceController> preferenceControllers = Arrays.asList( in onAttach() local
115 for (StorageSizeBasePreferenceController pc : preferenceControllers) { in onAttach()
/packages/apps/Car/Settings/src/com/android/car/settings/network/
DMobileNetworkFragment.java97 List<NetworkBasePreferenceController> preferenceControllers = in onAttach() local
109 preferenceControllers) { in onAttach()
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/device/display/displaysound/
DHdrFormatSelectionState.java207 List<AbstractPreferenceController> preferenceControllers = new ArrayList<>(); in createFormatInfoOnManual() local
215 preferenceControllers.add(hdrFormatPC); in createFormatInfoOnManual()
228 mPreferenceControllers.addAll(preferenceControllers); in createFormatInfoOnManual()
DAdvancedVolumeState.java259 List<AbstractPreferenceController> preferenceControllers = new ArrayList<>(); in createFormatInfoPreferencesOnManual() local
268 preferenceControllers.add(soundFormatPC); in createFormatInfoPreferencesOnManual()
281 mPreferenceControllers.addAll(preferenceControllers); in createFormatInfoPreferencesOnManual()
/packages/apps/Settings/tests/robotests/src/com/android/settings/biometrics/combination/
DCombinedBiometricProfileSettingsTest.java121 final Map<Class<?>, List<AbstractPreferenceController>> preferenceControllers = in setUp() local
125 preferenceControllers.put(BiometricSettingsAppPreferenceController.class, controllerList); in setUp()
127 preferenceControllers.put(FingerprintStatusPreferenceController.class, controllerList); in setUp()
129 preferenceControllers.put(FaceStatusPreferenceController.class, controllerList); in setUp()
/packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/
DDashboardFragmentTest.java293 final List<AbstractPreferenceController> preferenceControllers = mTestFragment.mControllers; in updateState_skipUnavailablePrefs() local
300 preferenceControllers.add(mockController1); in updateState_skipUnavailablePrefs()
301 preferenceControllers.add(mockController2); in updateState_skipUnavailablePrefs()
/packages/apps/Settings/src/com/android/settings/dashboard/
DDashboardFragment.java472 Map<Class, List<AbstractPreferenceController>> preferenceControllers) { in updatePreferenceVisibility() argument
474 if (screen == null || preferenceControllers == null || mBlockerController == null) { in updatePreferenceVisibility()
480 preferenceControllers.values()) { in updatePreferenceVisibility()
/packages/apps/Settings/src/com/android/settings/gestures/
DSystemNavigationGestureSettings.java154 final List<BasePreferenceController> preferenceControllers = PreferenceControllerListHelper in updateCandidates() local
156 preferenceControllers.forEach(controller -> { in updateCandidates()