/packages/apps/Settings/src/com/android/settings/development/ |
D | DevelopmentSettingsDashboardFragment.java | 539 // We do not break early because it is possible for multiple controllers to in onActivityResult() 653 final List<AbstractPreferenceController> controllers = new ArrayList<>(); in buildPreferenceControllers() local 654 controllers.add(new MemoryUsagePreferenceController(context)); in buildPreferenceControllers() 655 controllers.add(new BugReportPreferenceController(context)); in buildPreferenceControllers() 656 controllers.add(new BugReportHandlerPreferenceController(context)); in buildPreferenceControllers() 657 controllers.add(new SystemServerHeapDumpPreferenceController(context)); in buildPreferenceControllers() 658 controllers.add(new DevelopmentMemtagPagePreferenceController(context)); in buildPreferenceControllers() 659 controllers.add(new LocalBackupPasswordPreferenceController(context)); in buildPreferenceControllers() 660 controllers.add(new StayAwakePreferenceController(context, lifecycle)); in buildPreferenceControllers() 661 controllers.add(new HdcpCheckingPreferenceController(context)); in buildPreferenceControllers() [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/enterprise/ |
D | AbsBasePrivacySettingsPreference.java | 40 List<AbstractPreferenceController> controllers) { in verifyEnterprisePreferenceControllers() argument 41 assertThat(controllers).isNotNull(); in verifyEnterprisePreferenceControllers() 42 assertThat(controllers.size()).isEqualTo(17); in verifyEnterprisePreferenceControllers() 44 assertThat(controllers.get(position++)).isInstanceOf(NetworkLogsPreferenceController.class); in verifyEnterprisePreferenceControllers() 45 assertThat(controllers.get(position++)).isInstanceOf(BugReportsPreferenceController.class); in verifyEnterprisePreferenceControllers() 46 assertThat(controllers.get(position++)).isInstanceOf( in verifyEnterprisePreferenceControllers() 48 assertThat(controllers.get(position++)).isInstanceOf( in verifyEnterprisePreferenceControllers() 50 assertThat(controllers.get(position++)).isInstanceOf( in verifyEnterprisePreferenceControllers() 52 assertThat(controllers.get(position++)).isInstanceOf( in verifyEnterprisePreferenceControllers() 54 assertThat(controllers.get(position++)).isInstanceOf( in verifyEnterprisePreferenceControllers() [all …]
|
/packages/apps/Settings/tests/unit/src/com/android/settings/security/ |
D | SecuritySettingsTest.java | 164 final List<AbstractPreferenceController> controllers = in preferenceController_containsFaceWhenAvailable() local 167 assertThat(isFacePrefAvailable(controllers)).isTrue(); in preferenceController_containsFaceWhenAvailable() 168 assertThat(isFingerprintPrefAvailable(controllers)).isFalse(); in preferenceController_containsFaceWhenAvailable() 169 assertThat(isCombinedPrefAvailable(controllers)).isFalse(); in preferenceController_containsFaceWhenAvailable() 177 final List<AbstractPreferenceController> controllers = in preferenceController_containsFingerprintWhenAvailable() local 180 assertThat(isFacePrefAvailable(controllers)).isFalse(); in preferenceController_containsFingerprintWhenAvailable() 181 assertThat(isFingerprintPrefAvailable(controllers)).isTrue(); in preferenceController_containsFingerprintWhenAvailable() 182 assertThat(isCombinedPrefAvailable(controllers)).isFalse(); in preferenceController_containsFingerprintWhenAvailable() 190 final List<AbstractPreferenceController> controllers = in preferenceController_containsCombinedBiometricWhenAvailable() local 193 assertThat(isFacePrefAvailable(controllers)).isFalse(); in preferenceController_containsCombinedBiometricWhenAvailable() [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/core/ |
D | PreferenceControllerListHelperTest.java | 54 final List<BasePreferenceController> controllers = in getControllers_shouldReturnAList() local 58 assertThat(controllers).isNotEmpty(); in getControllers_shouldReturnAList() 59 for (BasePreferenceController controller : controllers) { in getControllers_shouldReturnAList() 67 final List<BasePreferenceController> controllers = in getControllers_partialFailure_shouldReturnTheRest() local 71 assertThat(controllers).hasSize(1); in getControllers_partialFailure_shouldReturnTheRest() 72 assertThat(controllers.get(0)).isInstanceOf(FakePreferenceController.class); in getControllers_partialFailure_shouldReturnTheRest() 78 // All preferences have controllers indicating they are available. in areAllPreferencesUnavailable_allAvailable() 86 // All preferences have controllers indicating they are unavailable. (note the qualifier) in areAllPreferencesUnavailable_allUnavailable() 94 // None of the preferences have controllers, so they are assumed available. in areAllPreferencesUnavailable_noControllersShouldAssumeAvailable() 101 final List<BasePreferenceController> controllers = new ArrayList<>(); in filterControllers_noFilter_shouldReturnSameList() local [all …]
|
/packages/apps/Settings/src/com/android/settings/accounts/ |
D | AccountDashboardFragment.java | 100 final List<AbstractPreferenceController> controllers = new ArrayList<>(); in createPreferenceControllers() local 101 buildAutofillPreferenceControllers(context, controllers); in createPreferenceControllers() 103 buildAccountPreferenceControllers(context, this /* parent */, authorities, controllers); in createPreferenceControllers() 104 return controllers; in createPreferenceControllers() 113 Context context, List<AbstractPreferenceController> controllers) { in buildAutofillPreferenceControllers() argument 115 controllers.add(new DefaultCombinedPreferenceController(context)); in buildAutofillPreferenceControllers() 116 controllers.add(new DefaultWorkCombinedPreferenceController(context)); in buildAutofillPreferenceControllers() 117 controllers.add(new DefaultPrivateCombinedPreferenceController(context)); in buildAutofillPreferenceControllers() 119 controllers.add(new DefaultAutofillPreferenceController(context)); in buildAutofillPreferenceControllers() 120 controllers.add(new DefaultWorkAutofillPreferenceController(context)); in buildAutofillPreferenceControllers() [all …]
|
D | AccountPrivateDashboardFragment.java | 88 final List<AbstractPreferenceController> controllers = new ArrayList<>(); in createPreferenceControllers() local 89 buildAutofillPreferenceControllers(context, controllers); in createPreferenceControllers() 91 buildAccountPreferenceControllers(context, authorities, controllers); in createPreferenceControllers() 92 return controllers; in createPreferenceControllers() 98 List<AbstractPreferenceController> controllers) { in buildAccountPreferenceControllers() argument 105 controllers.add(accountPrefController); in buildAccountPreferenceControllers() 106 controllers.add(new AutoSyncDataPreferenceController(context, this)); in buildAccountPreferenceControllers() 107 controllers.add(new AutoSyncPrivateDataPreferenceController(context, this)); in buildAccountPreferenceControllers()
|
/packages/apps/Settings/src/com/android/settings/gestures/ |
D | GesturesSettingPreferenceController.java | 52 * Get all controllers for their availability status when doing getAvailabilityStatus. 53 * Do not use this method to add controllers into fragment, most of below controllers already 55 * The key is fake because those controllers won't be use to control preference. 61 final List<AbstractPreferenceController> controllers = new ArrayList<>(); in buildAllPreferenceControllers() local 63 controllers.add(new SwipeToNotificationPreferenceController(context, FAKE_PREF_KEY)); in buildAllPreferenceControllers() 64 controllers.add(new DoubleTwistPreferenceController(context, FAKE_PREF_KEY)); in buildAllPreferenceControllers() 65 controllers.add(new DoubleTapPowerPreferenceController(context, FAKE_PREF_KEY)); in buildAllPreferenceControllers() 66 controllers.add(new PickupGesturePreferenceController(context, FAKE_PREF_KEY) in buildAllPreferenceControllers() 68 controllers.add(new DoubleTapScreenPreferenceController(context, FAKE_PREF_KEY) in buildAllPreferenceControllers() 70 controllers.add(new PreventRingingParentPreferenceController(context, FAKE_PREF_KEY)); in buildAllPreferenceControllers() [all …]
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/ |
D | TaskbarInsetsController.kt | 87 private lateinit var controllers: TaskbarControllers in <lambda>() variable in com.android.launcher3.taskbar.TaskbarInsetsController 90 fun init(controllers: TaskbarControllers) { in <lambda>() 91 this.controllers = controllers in <lambda>() 105 val tappableHeight = controllers.taskbarStashController.tappableHeightToReportToApps in <lambda>() 116 if (enableTaskbarNoRecreate() && controllers.sharedState != null) { in <lambda>() 118 controllers.sharedState!!.insetsFrameProviders, in <lambda>() 131 val taskbarTouchableHeight = controllers.taskbarStashController.touchableHeight in <lambda>() 133 if (controllers.bubbleControllers.isPresent) { in <lambda>() 134 controllers.bubbleControllers.get().bubbleStashController.touchableHeight in <lambda>() 141 controllers.bubbleControllers.isPresent && in <lambda>() [all …]
|
D | VoiceInteractionWindowController.kt | 53 private lateinit var controllers: TaskbarControllers variable in com.android.launcher3.taskbar.VoiceInteractionWindowController 61 fun init(controllers: TaskbarControllers) { in init() 62 this.controllers = controllers in init() 76 if (controllers.taskbarStashController.isTaskbarVisibleAndNotStashing) { in init() 120 controllers.taskbarViewController.taskbarIconAlpha in setIsVoiceInteractionWindowVisible() 125 controllers.stashedHandleViewController.stashedHandleAlpha in setIsVoiceInteractionWindowVisible() 134 controllers.taskbarDragLayerController.assistantBgTaskbar in setIsVoiceInteractionWindowVisible() 167 { controllers.taskbarDragLayerController.setIsBackgroundDrawnElsewhere(true) } in moveTaskbarBackgroundToAppropriateLayer() 170 controllers.taskbarDragLayerController.setIsBackgroundDrawnElsewhere(false); in moveTaskbarBackgroundToAppropriateLayer()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/about/ |
D | StatusFragment.java | 53 final List<AbstractPreferenceController> controllers = new ArrayList<>(10); in onCreatePreferenceControllers() local 57 controllers.add(new NopePreferenceController(context, KEY_BATTERY_LEVEL)); in onCreatePreferenceControllers() 58 controllers.add(new NopePreferenceController(context, KEY_BATTERY_STATUS)); in onCreatePreferenceControllers() 60 controllers.add(new SerialNumberPreferenceController(context)); in onCreatePreferenceControllers() 61 controllers.add(new UptimePreferenceController(context, lifecycle)); in onCreatePreferenceControllers() 62 controllers.add(new BluetoothAddressPreferenceController(context, lifecycle)); in onCreatePreferenceControllers() 63 controllers.add(new IpAddressPreferenceController(context, lifecycle)); in onCreatePreferenceControllers() 64 controllers.add(new MacAddressPreferenceController(context, lifecycle)); in onCreatePreferenceControllers() 65 controllers.add(new ImsStatusPreferenceController(context, lifecycle)); in onCreatePreferenceControllers() 67 return controllers; in onCreatePreferenceControllers()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/search/ |
D | BaseSearchIndexProviderTest.java | 91 List<AbstractPreferenceController> controllers = new ArrayList<>(); in getNonIndexableKeys_preferenceIsAvailable_shouldReturnEmptyList() local 92 controllers.add(new AvailablePreferenceController(mContext)); in getNonIndexableKeys_preferenceIsAvailable_shouldReturnEmptyList() 93 doReturn(controllers).when(mIndexProvider).createPreferenceControllers(mContext); in getNonIndexableKeys_preferenceIsAvailable_shouldReturnEmptyList() 124 final List<AbstractPreferenceController> controllers = in getAllPreferenceControllers_shouldCreateControllerFromCodeAndXml() local 127 assertThat(controllers).hasSize(2); in getAllPreferenceControllers_shouldCreateControllerFromCodeAndXml() 151 List<AbstractPreferenceController> controllers = new ArrayList<>(); in getNonIndexableKeys_preferenceIsNotAvailable_shouldReturnKey() local 152 controllers.add(new NotAvailablePreferenceController(mContext)); in getNonIndexableKeys_preferenceIsNotAvailable_shouldReturnKey() 153 doReturn(controllers).when(mIndexProvider).createPreferenceControllers(mContext); in getNonIndexableKeys_preferenceIsNotAvailable_shouldReturnKey() 219 List<AbstractPreferenceController> controllers = new ArrayList<>(); in getDynamicRawDataToIndex_disablePageSearch_shouldReturnEmptyList() local 220 controllers.add(new AvailablePreferenceController(mContext)); in getDynamicRawDataToIndex_disablePageSearch_shouldReturnEmptyList() [all …]
|
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/data/ |
D | PreferenceControllerState.java | 60 List<AbstractPreferenceController> controllers = onCreatePreferenceControllers(mContext); in onCreate() local 61 if (controllers == null) { in onCreate() 62 controllers = new ArrayList<>(); in onCreate() 64 mPreferenceControllers.addAll(controllers); in onCreate() 101 Collection<AbstractPreferenceController> controllers = in onPreferenceTreeClick() local 103 for (AbstractPreferenceController controller : controllers) { in onPreferenceTreeClick() 113 Collection<AbstractPreferenceController> controllers = in onPreferenceChange() local 115 for (AbstractPreferenceController controller : controllers) { in onPreferenceChange() 132 Collection<AbstractPreferenceController> controllers = in initAllPreferenceControllers() local 134 for (AbstractPreferenceController controller : controllers) { in initAllPreferenceControllers() [all …]
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/enterprise/ |
D | PrivacySettingsEnterprisePreference.java | 62 * Returns the preference controllers used to populate the privacy preferences in the Privacy 67 final List<AbstractPreferenceController> controllers = new ArrayList<>(); in createPreferenceControllers() local 68 controllers.add(new NetworkLogsPreferenceController(mContext)); in createPreferenceControllers() 69 controllers.add(new BugReportsPreferenceController(mContext)); in createPreferenceControllers() 70 controllers.add(new SecurityLogsPreferenceController(mContext)); in createPreferenceControllers() 93 controllers.addAll(exposureChangesCategoryControllers); in createPreferenceControllers() 94 controllers.add(new PreferenceCategoryController(mContext, KEY_EXPOSURE_CHANGES_CATEGORY) in createPreferenceControllers() 96 controllers.add(new FailedPasswordWipeCurrentUserPreferenceController(mContext)); in createPreferenceControllers() 97 controllers.add(new FailedPasswordWipeManagedProfilePreferenceController(mContext)); in createPreferenceControllers() 98 return controllers; in createPreferenceControllers()
|
/packages/apps/Settings/src/com/android/settings/enterprise/ |
D | PrivacySettingsEnterprisePreference.java | 59 * Returns the preference controllers used to populate the privacy preferences in the Privacy 64 final List<AbstractPreferenceController> controllers = new ArrayList<>(); in createPreferenceControllers() local 65 controllers.add(new NetworkLogsPreferenceController(mContext)); in createPreferenceControllers() 66 controllers.add(new BugReportsPreferenceController(mContext)); in createPreferenceControllers() 67 controllers.add(new SecurityLogsPreferenceController(mContext)); in createPreferenceControllers() 90 controllers.addAll(exposureChangesCategoryControllers); in createPreferenceControllers() 91 controllers.add(new PreferenceCategoryController(mContext, KEY_EXPOSURE_CHANGES_CATEGORY) in createPreferenceControllers() 93 controllers.add(new FailedPasswordWipeCurrentUserPreferenceController(mContext)); in createPreferenceControllers() 94 controllers.add(new FailedPasswordWipeManagedProfilePreferenceController(mContext)); in createPreferenceControllers() 95 return controllers; in createPreferenceControllers()
|
/packages/services/Car/packages/CarDeveloperOptions/src/com/android/car/developeroptions/ |
D | CarDevelopmentSettingsDashboardFragment.java | 108 List<AbstractPreferenceController> controllers = super.createPreferenceControllers(context); in createPreferenceControllers() local 109 removeControllers(controllers); in createPreferenceControllers() 110 addHiddenControllers(context, controllers); in createPreferenceControllers() 111 addCarControllers(context, controllers); in createPreferenceControllers() 112 return controllers; in createPreferenceControllers() 143 private void removeControllers(List<AbstractPreferenceController> controllers) { in removeControllers() argument 145 for (AbstractPreferenceController controller : controllers) { in removeControllers() 150 controllers.removeAll(controllersToBeRemoved); in removeControllers() 154 List<AbstractPreferenceController> controllers) { in addHiddenControllers() argument 156 controllers.add(new HiddenPreferenceController(context, key)); in addHiddenControllers() [all …]
|
/packages/apps/Settings/src/com/android/settings/deviceinfo/aboutphone/ |
D | MyDeviceInfoFragment.java | 111 final List<AbstractPreferenceController> controllers = new ArrayList<>(); in buildPreferenceControllers() local 119 controllers.add(new IpAddressPreferenceController(context, lifecycle)); in buildPreferenceControllers() 120 controllers.add(new WifiMacAddressPreferenceController(context, lifecycle)); in buildPreferenceControllers() 121 controllers.add(new BluetoothAddressPreferenceController(context, lifecycle)); in buildPreferenceControllers() 122 controllers.add(new RegulatoryInfoPreferenceController(context)); in buildPreferenceControllers() 123 controllers.add(new SafetyInfoPreferenceController(context)); in buildPreferenceControllers() 124 controllers.add(new ManualPreferenceController(context)); in buildPreferenceControllers() 125 controllers.add(new FeedbackPreferenceController(fragment, context)); in buildPreferenceControllers() 126 controllers.add(new FccEquipmentIdPreferenceController(context)); in buildPreferenceControllers() 127 controllers.add(new UptimePreferenceController(context, lifecycle)); in buildPreferenceControllers() [all …]
|
/packages/apps/Settings/src/com/android/settings/ |
D | DisplaySettings.java | 75 final List<AbstractPreferenceController> controllers = new ArrayList<>(); in buildPreferenceControllers() local 76 controllers.add(new CameraGesturePreferenceController(context)); in buildPreferenceControllers() 77 controllers.add(new LiftToWakePreferenceController(context)); in buildPreferenceControllers() 78 controllers.add(new TapToWakePreferenceController(context)); in buildPreferenceControllers() 79 controllers.add(new VrDisplayPreferenceController(context)); in buildPreferenceControllers() 80 controllers.add(new ShowOperatorNamePreferenceController(context)); in buildPreferenceControllers() 81 controllers.add(new ThemePreferenceController(context)); in buildPreferenceControllers() 82 controllers.add(new BrightnessLevelPreferenceController(context, lifecycle)); in buildPreferenceControllers() 83 return controllers; in buildPreferenceControllers()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/ |
D | PreferenceControllerFragment.java | 50 List<AbstractPreferenceController> controllers = onCreatePreferenceControllers(context); in onAttach() local 51 if (controllers == null) { in onAttach() 52 controllers = new ArrayList<>(); in onAttach() 54 mPreferenceControllers.addAll(controllers); in onAttach() 79 Collection<AbstractPreferenceController> controllers = in onPreferenceTreeClick() local 82 // Give all controllers a chance to handle click. in onPreferenceTreeClick() 83 for (AbstractPreferenceController controller : controllers) { in onPreferenceTreeClick() 119 Collection<AbstractPreferenceController> controllers = in updatePreferenceStates() local 122 for (AbstractPreferenceController controller : controllers) { in updatePreferenceStates() 140 Collection<AbstractPreferenceController> controllers = in refreshAllPreferences() local [all …]
|
/packages/apps/Settings/src/com/android/settings/notification/ |
D | SoundSettings.java | 253 final List<AbstractPreferenceController> controllers = new ArrayList<>(); in buildPreferenceControllers() local 258 controllers.add(new PhoneRingtonePreferenceController(context)); in buildPreferenceControllers() 259 controllers.add(new AlarmRingtonePreferenceController(context)); in buildPreferenceControllers() 260 controllers.add(new NotificationRingtonePreferenceController(context)); in buildPreferenceControllers() 282 controllers.add(dialPadTonePreferenceController); in buildPreferenceControllers() 283 controllers.add(screenLockSoundPreferenceController); in buildPreferenceControllers() 284 controllers.add(chargingSoundPreferenceController); in buildPreferenceControllers() 285 controllers.add(dockingSoundPreferenceController); in buildPreferenceControllers() 286 controllers.add(touchSoundPreferenceController); in buildPreferenceControllers() 287 controllers.add(vibrateIconPreferenceController); in buildPreferenceControllers() [all …]
|
/packages/apps/Settings/src/com/android/settings/notification/zen/ |
D | ZenModeBlockedEffectsSettings.java | 56 List<AbstractPreferenceController> controllers = new ArrayList<>(); in buildPreferenceControllers() local 57 controllers.add(new ZenModeVisEffectPreferenceController(context, lifecycle, in buildPreferenceControllers() 60 controllers.add(new ZenModeVisEffectPreferenceController(context, lifecycle, in buildPreferenceControllers() 63 controllers.add(new ZenModeVisEffectPreferenceController(context, lifecycle, in buildPreferenceControllers() 66 controllers.add(new ZenModeVisEffectPreferenceController(context, lifecycle, in buildPreferenceControllers() 70 controllers.add(new ZenModeVisEffectPreferenceController(context, lifecycle, in buildPreferenceControllers() 73 controllers.add(new ZenModeVisEffectPreferenceController(context, lifecycle, in buildPreferenceControllers() 76 controllers.add(new ZenModeVisEffectPreferenceController(context, lifecycle, in buildPreferenceControllers() 79 return controllers; in buildPreferenceControllers()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/deviceinfo/storage/ |
D | NonCurrentUserControllerTest.java | 128 final List<NonCurrentUserController> controllers = in noNonCurrentUserAddedIfNoneExist() local 130 assertThat(controllers).hasSize(0); in noNonCurrentUserAddedIfNoneExist() 145 final List<NonCurrentUserController> controllers = in getNonCurrentUserControllers_notWorkProfile_addNonCurrentUserController() local 148 assertThat(controllers).hasSize(1); in getNonCurrentUserControllers_notWorkProfile_addNonCurrentUserController() 163 final List<NonCurrentUserController> controllers = in getNonCurrentUserControllers_workProfileOfNonCurrentUser() local 166 assertThat(controllers).hasSize(0); in getNonCurrentUserControllers_workProfileOfNonCurrentUser() 180 final List<NonCurrentUserController> controllers = in profilesOfCurrentUserAreIgnored() local 183 assertThat(controllers).hasSize(0); in profilesOfCurrentUserAreIgnored() 226 final List<NonCurrentUserController> controllers = in dontAddPrimaryProfileAsASecondaryProfile() local 229 assertThat(controllers).hasSize(0); in dontAddPrimaryProfileAsASecondaryProfile() [all …]
|
/packages/apps/Settings/src/com/android/settings/search/ |
D | BaseSearchIndexProvider.java | 78 final List<AbstractPreferenceController> controllers = getPreferenceControllers(context); in getRawDataToIndex() local 79 if (controllers == null || controllers.isEmpty()) { in getRawDataToIndex() 82 for (AbstractPreferenceController controller : controllers) { in getRawDataToIndex() 100 final List<AbstractPreferenceController> controllers = getPreferenceControllers(context); in getDynamicRawDataToIndex() local 101 if (controllers == null || controllers.isEmpty()) { in getDynamicRawDataToIndex() 104 for (AbstractPreferenceController controller : controllers) { in getDynamicRawDataToIndex() 134 final List<AbstractPreferenceController> controllers = getPreferenceControllers(context); in getNonIndexableKeys() local 135 if (controllers != null && !controllers.isEmpty()) { in getNonIndexableKeys() 136 for (AbstractPreferenceController controller : controllers) { in getNonIndexableKeys() 184 * This list should create controllers that are not defined in xml as a Slice controller.
|
/packages/apps/Settings/src/com/android/settings/inputmethod/ |
D | KeyboardSettings.java | 87 final List<AbstractPreferenceController> controllers = new ArrayList<>(); in buildPreferenceControllers() local 93 controllers.add(virtualKeyboardPreferenceController); in buildPreferenceControllers() 94 controllers.add(physicalKeyboardPreferenceController); in buildPreferenceControllers() 95 controllers.add(new PreferenceCategoryController(context, in buildPreferenceControllers() 102 controllers.add(pointerController); in buildPreferenceControllers() 103 controllers.add(new PreferenceCategoryController(context, in buildPreferenceControllers() 107 controllers.add(new SpellCheckerPreferenceController(context)); in buildPreferenceControllers() 109 return controllers; in buildPreferenceControllers()
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
D | BluetoothDeviceDetailsFragment.java | 362 ArrayList<AbstractPreferenceController> controllers = new ArrayList<>(); in createPreferenceControllers() local 366 controllers.add(new BluetoothDetailsHeaderController(context, this, mCachedDevice, in createPreferenceControllers() 368 controllers.add(new BluetoothDetailsButtonsController(context, this, mCachedDevice, in createPreferenceControllers() 370 controllers.add(new BluetoothDetailsCompanionAppsController(context, this, in createPreferenceControllers() 372 controllers.add(new BluetoothDetailsAudioDeviceTypeController(context, this, mManager, in createPreferenceControllers() 374 controllers.add(new BluetoothDetailsSpatialAudioController(context, this, mCachedDevice, in createPreferenceControllers() 376 controllers.add(new BluetoothDetailsProfilesController(context, this, mManager, in createPreferenceControllers() 378 controllers.add(new BluetoothDetailsMacAddressController(context, this, mCachedDevice, in createPreferenceControllers() 380 controllers.add(new StylusDevicesController(context, mInputDevice, mCachedDevice, in createPreferenceControllers() 382 controllers.add(new BluetoothDetailsRelatedToolsController(context, this, mCachedDevice, in createPreferenceControllers() [all …]
|
/packages/apps/Settings/src/com/android/settings/safetycenter/ |
D | SafetyCenterUtils.java | 60 * Returns preference controllers related to advanced security entries. This is used in {@link 68 final List<AbstractPreferenceController> controllers = new ArrayList<>(); in getControllersForAdvancedSecurity() local 69 controllers.add(new TrustAgentListPreferenceController(context, host, lifecycle)); in getControllersForAdvancedSecurity() 81 controllers.add(new PreferenceCategoryController(context, WORK_PROFILE_SECURITY_CATEGORY) in getControllersForAdvancedSecurity() 83 controllers.addAll(profileSecurityControllers); in getControllersForAdvancedSecurity() 84 return controllers; in getControllersForAdvancedSecurity() 88 * Returns preference controllers for advanced privacy entries. This is used in {@link 93 final List<AbstractPreferenceController> controllers = new ArrayList<>(); in getControllersForAdvancedPrivacy() local 103 controllers.add(notificationController); in getControllersForAdvancedPrivacy() 104 return controllers; in getControllersForAdvancedPrivacy()
|