Home
last modified time | relevance | path

Searched refs:getPreferenceController (Results 1 – 15 of 15) sorted by relevance

/packages/apps/Settings/src/com/android/settings/slices/
DSliceBroadcastReceiver.java110 final BasePreferenceController controller = getPreferenceController(context, key); in handleToggleAction()
144 final BasePreferenceController controller = getPreferenceController(context, key); in handleSliderAction()
182 private BasePreferenceController getPreferenceController(Context context, String key) { in getPreferenceController() method in SliceBroadcastReceiver
185 return SliceBuilderUtils.getPreferenceController(context, sliceData); in getPreferenceController()
DSliceBuilderUtils.java80 Log.d(TAG, "Creating slice for: " + sliceData.getPreferenceController()); in buildSlice()
81 final BasePreferenceController controller = getPreferenceController(context, sliceData); in buildSlice()
151 public static BasePreferenceController getPreferenceController(Context context, in getPreferenceController() method in SliceBuilderUtils
153 return getPreferenceController(context, sliceData.getPreferenceController(), in getPreferenceController()
359 static BasePreferenceController getPreferenceController(Context context, in getPreferenceController() method in SliceBuilderUtils
DSlicesIndexer.java114 values.put(IndexColumns.CONTROLLER, dataRow.getPreferenceController()); in insertSliceData()
DSliceData.java117 public String getPreferenceController() { in getPreferenceController() method in SliceData
DSliceDataConverter.java192 .getPreferenceController(mContext, controllerClassName, key); in getSliceDataFromXML()
DSettingsSliceProvider.java419 final BasePreferenceController controller = SliceBuilderUtils.getPreferenceController( in loadSlice()
/packages/apps/Settings/tests/unit/src/com/android/settings/slices/
DSliceDataTest.java69 assertThat(data.getPreferenceController()).isEqualTo(PREF_CONTROLLER); in testBuilder_buildsMatchingObject()
147 assertThat(data.getPreferenceController()).isEqualTo(PREF_CONTROLLER); in testBuilder_noSubtitle_buildsMatchingObject()
170 assertThat(data.getPreferenceController()).isEqualTo(PREF_CONTROLLER); in testBuilder_noScreenTitle_buildsMatchingObject()
193 assertThat(data.getPreferenceController()).isEqualTo(PREF_CONTROLLER); in testBuilder_noIcon_buildsMatchingObject()
217 assertThat(data.getPreferenceController()).isEqualTo(PREF_CONTROLLER); in testBuilder_noUri_buildsMatchingObject()
/packages/apps/Settings/tests/robotests/src/com/android/settings/slices/
DSlicesDatabaseAccessorTest.java106 assertThat(data.getPreferenceController()).isEqualTo(SliceTestUtils.FAKE_CONTROLLER_NAME); in testGetSliceDataFromKey_validKey_validSliceReturned()
128 assertThat(data.getPreferenceController()).isEqualTo(SliceTestUtils.FAKE_CONTROLLER_NAME); in testGetSliceDataFromKey_allowDynamicSummary_validSliceReturned()
163 assertThat(data.getPreferenceController()).isEqualTo(SliceTestUtils.FAKE_CONTROLLER_NAME); in testGetSliceFromUri_validUri_validSliceReturned()
308 assertThat(data.getPreferenceController()).isEqualTo(SliceTestUtils.FAKE_CONTROLLER_NAME); in testGetSliceDataFromKey_defaultUnavailableSlice_validSliceReturned()
330 assertThat(data.getPreferenceController()).isEqualTo(SliceTestUtils.FAKE_CONTROLLER_NAME); in testGetSliceDataFromKey_customizeSubtitleOfUnavailableSlice_validSliceReturned()
DSliceDataConverterTest.java127 assertThat(fakeSlice.getPreferenceController()).isEqualTo(FAKE_CONTROLLER_NAME); in assertFakeSlice()
143 assertThat(fakeSlice.getPreferenceController()).isEqualTo(A11Y_CONTROLLER_NAME); in assertFakeA11ySlice()
DSliceBuilderUtilsTest.java135 SliceBuilderUtils.getPreferenceController(mContext, getMockData()); in testGetPreferenceController_buildsMatchingController()
143 SliceBuilderUtils.getPreferenceController(mContext, in testGetPreferenceController_contextOnly_buildsMatchingController()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/system/legal/
DTermsPreferenceControllerTest.java26 protected LegalPreferenceController getPreferenceController() { in getPreferenceController() method in TermsPreferenceControllerTest
DWebViewLicensePreferenceControllerTest.java26 protected LegalPreferenceController getPreferenceController() { in getPreferenceController() method in WebViewLicensePreferenceControllerTest
DThirdPartyLicensePreferenceControllerTest.java26 protected LegalPreferenceController getPreferenceController() { in getPreferenceController() method in ThirdPartyLicensePreferenceControllerTest
DLegalPreferenceControllerTest.java33 protected LegalPreferenceController getPreferenceController() { in getPreferenceController() method in LegalPreferenceControllerTest
DLegalPreferenceControllerTestCase.java87 mPreferenceController = getPreferenceController(); in setUp()
91 protected abstract LegalPreferenceController getPreferenceController(); in getPreferenceController() method in LegalPreferenceControllerTestCase