/packages/apps/TvSettings/Settings/src/com/android/tv/settings/ |
D | PreferenceControllerFragment.java | 29 import com.android.settingslib.core.AbstractPreferenceController; 45 private final Set<AbstractPreferenceController> mPreferenceControllers = new ArraySet<>(); 50 List<AbstractPreferenceController> controllers = onCreatePreferenceControllers(context); in onAttach() 79 Collection<AbstractPreferenceController> controllers = in onPreferenceTreeClick() 83 for (AbstractPreferenceController controller : controllers) { in onPreferenceTreeClick() 92 protected <T extends AbstractPreferenceController> T getOnePreferenceController( in getOnePreferenceController() 94 final List<AbstractPreferenceController> foundControllers = in getOnePreferenceController() 105 protected <T extends AbstractPreferenceController> Collection<T> getPreferenceControllers( in getPreferenceControllers() 111 protected void addPreferenceController(AbstractPreferenceController controller) { in addPreferenceController() 119 Collection<AbstractPreferenceController> controllers = in updatePreferenceStates() [all …]
|
/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/ |
D | PreferenceControllerFragmentTest.java | 33 import com.android.settingslib.core.AbstractPreferenceController; 59 final AbstractPreferenceController mockController = in testPreferenceControllerGetterSetter_shouldAddAndGetProperly() 60 mock(AbstractPreferenceController.class); in testPreferenceControllerGetterSetter_shouldAddAndGetProperly() 63 final AbstractPreferenceController retrievedController = in testPreferenceControllerGetterSetter_shouldAddAndGetProperly() 71 final AbstractPreferenceController mockController = in testOnPreferenceTreeClick_shouldCallPreferenceController() 72 mock(AbstractPreferenceController.class); in testOnPreferenceTreeClick_shouldCallPreferenceController() 83 final AbstractPreferenceController mockController = in testUpdatePreferenceStates_shouldCallUpdateState() 84 mock(AbstractPreferenceController.class); in testUpdatePreferenceStates_shouldCallUpdateState() 101 final AbstractPreferenceController mockController = in testUpdatePreferenceStates_shouldNotCallUnavailable() 102 mock(AbstractPreferenceController.class); in testUpdatePreferenceStates_shouldNotCallUnavailable() [all …]
|
/packages/apps/TvSettings/SettingsAPI/java/com/android/tv/settings/library/data/ |
D | PreferenceControllerState.java | 25 import com.android.tv.settings.library.util.AbstractPreferenceController; 42 protected List<AbstractPreferenceController> mPreferenceControllers = new ArrayList<>(); 60 List<AbstractPreferenceController> controllers = onCreatePreferenceControllers(mContext); in onCreate() 101 Collection<AbstractPreferenceController> controllers = in onPreferenceTreeClick() 103 for (AbstractPreferenceController controller : controllers) { in onPreferenceTreeClick() 113 Collection<AbstractPreferenceController> controllers = in onPreferenceChange() 115 for (AbstractPreferenceController controller : controllers) { in onPreferenceChange() 132 Collection<AbstractPreferenceController> controllers = in initAllPreferenceControllers() 134 for (AbstractPreferenceController controller : controllers) { in initAllPreferenceControllers() 145 Collection<AbstractPreferenceController> controllers = in updateAllPreferenceControllers() [all …]
|
/packages/apps/Settings/src/com/android/settings/network/telephony/ |
D | AbstractMobileNetworkSettings.java | 26 import com.android.settingslib.core.AbstractPreferenceController; 36 private List<AbstractPreferenceController> mHiddenControllerList = 37 new ArrayList<AbstractPreferenceController>(); 50 List<AbstractPreferenceController> getPreferenceControllersAsList() { in getPreferenceControllersAsList() 51 final List<AbstractPreferenceController> result = in getPreferenceControllersAsList() 52 new ArrayList<AbstractPreferenceController>(); in getPreferenceControllersAsList() 58 AbstractPreferenceController controller) { in searchForPreference() 67 Collection<AbstractPreferenceController> listOfPrefControllers) { in setTelephonyAvailabilityStatus() 116 AbstractPreferenceController controller) { in updateVisiblePreferenceControllers() 142 final List<AbstractPreferenceController> controllers = in redrawPreferenceControllers()
|
/packages/apps/Settings/src/com/android/settings/dashboard/ |
D | DashboardFragment.java | 52 import com.android.settingslib.core.AbstractPreferenceController; 82 private final Map<Class, List<AbstractPreferenceController>> mPreferenceControllers = 85 private final List<AbstractPreferenceController> mControllers = new ArrayList<>(); 101 final List<AbstractPreferenceController> controllersFromCode = in onAttach() 136 for (AbstractPreferenceController controller : mControllers) { in onAttach() 142 void checkUiBlocker(List<AbstractPreferenceController> controllers) { in checkUiBlocker() 180 for (AbstractPreferenceController controller : mControllers) { in onViewCreated() 248 final Collection<List<AbstractPreferenceController>> controllers = in onPreferenceTreeClick() 250 for (List<AbstractPreferenceController> controllerList : controllers) { in onPreferenceTreeClick() 251 for (AbstractPreferenceController controller : controllerList) { in onPreferenceTreeClick() [all …]
|
/packages/apps/Settings/src/com/android/settings/search/ |
D | BaseSearchIndexProvider.java | 38 import com.android.settingslib.core.AbstractPreferenceController; 78 final List<AbstractPreferenceController> controllers = getPreferenceControllers(context); in getRawDataToIndex() 82 for (AbstractPreferenceController controller : controllers) { in getRawDataToIndex() 100 final List<AbstractPreferenceController> controllers = getPreferenceControllers(context); in getDynamicRawDataToIndex() 104 for (AbstractPreferenceController controller : controllers) { in getDynamicRawDataToIndex() 134 final List<AbstractPreferenceController> controllers = getPreferenceControllers(context); in getNonIndexableKeys() 136 for (AbstractPreferenceController controller : controllers) { in getNonIndexableKeys() 154 public List<AbstractPreferenceController> getPreferenceControllers(Context context) { in getPreferenceControllers() 155 List<AbstractPreferenceController> controllersFromCode = new ArrayList<>(); in getPreferenceControllers() 173 final List<AbstractPreferenceController> allControllers = new ArrayList<>(); in getPreferenceControllers() [all …]
|
/packages/apps/Settings/tests/unit/src/com/android/settings/security/ |
D | SecuritySettingsTest.java | 54 import com.android.settingslib.core.AbstractPreferenceController; 164 final List<AbstractPreferenceController> controllers = in preferenceController_containsFaceWhenAvailable() 177 final List<AbstractPreferenceController> controllers = in preferenceController_containsFingerprintWhenAvailable() 190 final List<AbstractPreferenceController> controllers = in preferenceController_containsCombinedBiometricWhenAvailable() 203 final List<AbstractPreferenceController> controllers = in preferenceLifecycle_faceShowsThenCombined() 239 final List<AbstractPreferenceController> controllers = in preferenceLifecycle_fingerprintShowsThenCombined() 275 final List<AbstractPreferenceController> controllers = in preferenceLifecycle_combinedShowsThenFace() 311 final List<AbstractPreferenceController> controllers = in preferenceLifecycle_combinedShowsThenFingerprint() 342 boolean isFacePrefAvailable(List<AbstractPreferenceController> controllers) { in isFacePrefAvailable() 348 boolean isFingerprintPrefAvailable(List<AbstractPreferenceController> controllers) { in isFingerprintPrefAvailable() [all …]
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/search/ |
D | BaseSearchIndexProviderTest.java | 30 import com.android.settingslib.core.AbstractPreferenceController; 66 extends AbstractPreferenceController 91 List<AbstractPreferenceController> controllers = new ArrayList<>(); in getNonIndexableKeys_preferenceIsAvailable_shouldReturnEmptyList() 112 public List<AbstractPreferenceController> createPreferenceControllers(Context context) { in getAllPreferenceControllers_shouldCreateControllerFromCodeAndXml() 113 final List<AbstractPreferenceController> controllersFromCode = new ArrayList<>(); in getAllPreferenceControllers_shouldCreateControllerFromCodeAndXml() 124 final List<AbstractPreferenceController> controllers = in getAllPreferenceControllers_shouldCreateControllerFromCodeAndXml() 131 extends AbstractPreferenceController 151 List<AbstractPreferenceController> controllers = new ArrayList<>(); in getNonIndexableKeys_preferenceIsNotAvailable_shouldReturnKey() 219 List<AbstractPreferenceController> controllers = new ArrayList<>(); in getDynamicRawDataToIndex_disablePageSearch_shouldReturnEmptyList() 229 List<AbstractPreferenceController> controllers = new ArrayList<>(); in getDynamicRawDataToIndex_hasDynamicRaw_shouldNotEmpty()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/widget/ |
D | PreferenceCategoryControllerTest.java | 29 import com.android.settingslib.core.AbstractPreferenceController; 43 private List<AbstractPreferenceController> mChildren; 59 final AbstractPreferenceController child = mock(AbstractPreferenceController.class); in isAvailable_childrenAvailable_true() 69 final AbstractPreferenceController child = mock(AbstractPreferenceController.class); in isAvailable_childrenUnavailable_false()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/enterprise/ |
D | PreferenceCategoryController.java | 21 import com.android.settingslib.core.AbstractPreferenceController; 26 public class PreferenceCategoryController extends AbstractPreferenceController { 29 private final List<AbstractPreferenceController> mChildren; 43 for (AbstractPreferenceController controller : mChildren) { in isAvailable() 57 List<AbstractPreferenceController> childrenController) { in setChildren()
|
/packages/services/Car/packages/CarDeveloperOptions/src/com/android/car/developeroptions/ |
D | CarDevelopmentSettingsDashboardFragment.java | 37 import com.android.settingslib.core.AbstractPreferenceController; 107 protected List<AbstractPreferenceController> createPreferenceControllers(Context context) { in createPreferenceControllers() 108 List<AbstractPreferenceController> controllers = super.createPreferenceControllers(context); in createPreferenceControllers() 143 private void removeControllers(List<AbstractPreferenceController> controllers) { in removeControllers() 144 List<AbstractPreferenceController> controllersToBeRemoved = new ArrayList<>(); in removeControllers() 145 for (AbstractPreferenceController controller : controllers) { in removeControllers() 154 List<AbstractPreferenceController> controllers) { in addHiddenControllers() 161 List<AbstractPreferenceController> controllers) { in addCarControllers()
|
/packages/apps/Settings/src/com/android/settings/language/ |
D | LanguageSettings.java | 30 import com.android.settingslib.core.AbstractPreferenceController; 74 protected List<AbstractPreferenceController> createPreferenceControllers(Context context) { in createPreferenceControllers() 78 private static List<AbstractPreferenceController> buildPreferenceControllers( in buildPreferenceControllers() 80 final List<AbstractPreferenceController> controllers = new ArrayList<>(); in buildPreferenceControllers() 91 List<AbstractPreferenceController> speechCategoryChildren = new ArrayList<>( in buildPreferenceControllers() 108 public List<AbstractPreferenceController> createPreferenceControllers(
|
/packages/apps/Settings/src/com/android/settings/gestures/ |
D | GesturesSettingPreferenceController.java | 25 import com.android.settingslib.core.AbstractPreferenceController; 31 private List<AbstractPreferenceController> mGestureControllers; 45 for (AbstractPreferenceController controller : mGestureControllers) { in getAvailabilityStatus() 57 private static List<AbstractPreferenceController> buildAllPreferenceControllers( in buildAllPreferenceControllers() 61 final List<AbstractPreferenceController> controllers = new ArrayList<>(); in buildAllPreferenceControllers()
|
D | PreventRingingGestureSettings.java | 26 import com.android.settingslib.core.AbstractPreferenceController; 45 protected List<AbstractPreferenceController> createPreferenceControllers(Context context) { in createPreferenceControllers() 49 private static List<AbstractPreferenceController> buildPreferenceControllers(Context context, in buildPreferenceControllers() 51 List<AbstractPreferenceController> controllers = new ArrayList<>(); in buildPreferenceControllers() 81 public List<AbstractPreferenceController> createPreferenceControllers(
|
/packages/apps/Settings/src/com/android/settings/location/ |
D | BluetoothScanningFragment.java | 25 import com.android.settingslib.core.AbstractPreferenceController; 54 protected List<AbstractPreferenceController> createPreferenceControllers(Context context) { in createPreferenceControllers() 63 private static List<AbstractPreferenceController> buildPreferenceControllers(Context context) { in buildPreferenceControllers() 64 final List<AbstractPreferenceController> controllers = new ArrayList<>(); in buildPreferenceControllers() 76 public List<AbstractPreferenceController> createPreferenceControllers(Context
|
D | WifiScanningFragment.java | 25 import com.android.settingslib.core.AbstractPreferenceController; 54 protected List<AbstractPreferenceController> createPreferenceControllers(Context context) { in createPreferenceControllers() 63 private static List<AbstractPreferenceController> buildPreferenceControllers(Context context) { in buildPreferenceControllers() 64 final List<AbstractPreferenceController> controllers = new ArrayList<>(); in buildPreferenceControllers() 76 public List<AbstractPreferenceController> createPreferenceControllers(Context
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/ |
D | DashboardFragmentTest.java | 61 import com.android.settingslib.core.AbstractPreferenceController; 100 private List<AbstractPreferenceController> mControllers; 262 final AbstractPreferenceController controller = mTestFragment.use( in onAttach_shouldCreatePlaceholderPreferenceController() 293 final List<AbstractPreferenceController> preferenceControllers = mTestFragment.mControllers; in updateState_skipUnavailablePrefs() 294 final AbstractPreferenceController mockController1 = in updateState_skipUnavailablePrefs() 295 mock(AbstractPreferenceController.class); in updateState_skipUnavailablePrefs() 296 final AbstractPreferenceController mockController2 = in updateState_skipUnavailablePrefs() 297 mock(AbstractPreferenceController.class); in updateState_skipUnavailablePrefs() 313 final AbstractPreferenceController mockController1 = in updateState_doesNotSkipControllersOfSameClass() 314 mock(AbstractPreferenceController.class); in updateState_doesNotSkipControllersOfSameClass() [all …]
|
/packages/apps/Settings/src/com/android/settings/security/ |
D | InstallCertificateFromStorage.java | 26 import com.android.settingslib.core.AbstractPreferenceController; 57 protected List<AbstractPreferenceController> createPreferenceControllers(Context context) { in createPreferenceControllers() 61 private static List<AbstractPreferenceController> buildPreferenceControllers(Context context, in buildPreferenceControllers() 63 final List<AbstractPreferenceController> controllers = new ArrayList<>(); in buildPreferenceControllers() 81 public List<AbstractPreferenceController> createPreferenceControllers(
|
D | SecuritySettings.java | 32 import com.android.settingslib.core.AbstractPreferenceController; 70 protected List<AbstractPreferenceController> createPreferenceControllers(Context context) { in createPreferenceControllers() 98 private static List<AbstractPreferenceController> buildPreferenceControllers(Context context, in buildPreferenceControllers() 100 final List<AbstractPreferenceController> controllers = new ArrayList<>(); in buildPreferenceControllers() 101 final List<AbstractPreferenceController> securityPreferenceControllers = new ArrayList<>(); in buildPreferenceControllers() 122 public List<AbstractPreferenceController> createPreferenceControllers(Context
|
/packages/apps/Settings/src/com/android/settings/notification/zen/ |
D | ZenModeSoundVibrationSettings.java | 24 import com.android.settingslib.core.AbstractPreferenceController; 39 protected List<AbstractPreferenceController> createPreferenceControllers(Context context) { in createPreferenceControllers() 43 private static List<AbstractPreferenceController> buildPreferenceControllers(Context context, in buildPreferenceControllers() 45 List<AbstractPreferenceController> controllers = new ArrayList<>(); in buildPreferenceControllers() 78 public List<AbstractPreferenceController> createPreferenceControllers(Context context) {
|
D | ZenModeMessagesSettings.java | 26 import com.android.settingslib.core.AbstractPreferenceController; 41 protected List<AbstractPreferenceController> createPreferenceControllers(Context context) { in createPreferenceControllers() 45 private static List<AbstractPreferenceController> buildPreferenceControllers(Context context, in buildPreferenceControllers() 47 List<AbstractPreferenceController> controllers = new ArrayList<>(); in buildPreferenceControllers() 83 public List<AbstractPreferenceController> createPreferenceControllers(
|
D | ZenModeRestrictNotificationsSettings.java | 26 import com.android.settingslib.core.AbstractPreferenceController; 43 protected List<AbstractPreferenceController> createPreferenceControllers(Context context) { in createPreferenceControllers() 52 private static List<AbstractPreferenceController> buildPreferenceControllers(Context context, in buildPreferenceControllers() 54 List<AbstractPreferenceController> controllers = new ArrayList<>(); in buildPreferenceControllers() 83 public List<AbstractPreferenceController> createPreferenceControllers(Context context) {
|
D | ZenModeCallsSettings.java | 26 import com.android.settingslib.core.AbstractPreferenceController; 40 protected List<AbstractPreferenceController> createPreferenceControllers(Context context) { in createPreferenceControllers() 44 private static List<AbstractPreferenceController> buildPreferenceControllers(Context context, in buildPreferenceControllers() 46 List<AbstractPreferenceController> controllers = new ArrayList<>(); in buildPreferenceControllers() 85 public List<AbstractPreferenceController> createPreferenceControllers(
|
/packages/apps/Settings/src/com/android/settings/applications/assist/ |
D | ManageAssist.java | 25 import com.android.settingslib.core.AbstractPreferenceController; 52 protected List<AbstractPreferenceController> createPreferenceControllers(Context context) { in createPreferenceControllers() 61 private static List<AbstractPreferenceController> buildPreferenceControllers(Context context, in buildPreferenceControllers() 63 final List<AbstractPreferenceController> controllers = new ArrayList<>(); in buildPreferenceControllers() 76 public List<AbstractPreferenceController> createPreferenceControllers(
|
/packages/apps/Settings/src/com/android/settings/notification/modes/ |
D | ZenModeSelectBypassingAppsFragment.java | 30 import com.android.settingslib.core.AbstractPreferenceController; 43 protected List<AbstractPreferenceController> createPreferenceControllers(Context context) { in createPreferenceControllers() 54 private static List<AbstractPreferenceController> buildPreferenceControllers(Context context, in buildPreferenceControllers() 57 final List<AbstractPreferenceController> controllers = new ArrayList<>(); in buildPreferenceControllers() 88 public List<AbstractPreferenceController> createPreferenceControllers(
|