Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/slices/
DSliceBroadcastReceiver.java114 final BasePreferenceController controller = getPreferenceController(context, key); in handleToggleAction()
148 final BasePreferenceController controller = getPreferenceController(context, key); in handleSliderAction()
179 final BasePreferenceController controller = getPreferenceController(context, key); in handleCopyAction()
209 private BasePreferenceController getPreferenceController(Context context, String key) { in getPreferenceController() method in SliceBroadcastReceiver
212 return SliceBuilderUtils.getPreferenceController(context, sliceData); in getPreferenceController()
DSliceBuilderUtils.java76 Log.d(TAG, "Creating slice for: " + sliceData.getPreferenceController()); in buildSlice()
77 final BasePreferenceController controller = getPreferenceController(context, sliceData); in buildSlice()
147 public static BasePreferenceController getPreferenceController(Context context, in getPreferenceController() method in SliceBuilderUtils
149 return getPreferenceController(context, sliceData.getPreferenceController(), in getPreferenceController()
356 static BasePreferenceController getPreferenceController(Context context, in getPreferenceController() method in SliceBuilderUtils
DSlicesIndexer.java114 values.put(IndexColumns.CONTROLLER, dataRow.getPreferenceController()); in insertSliceData()
DSliceData.java110 public String getPreferenceController() { in getPreferenceController() method in SliceData
DSliceDataConverter.java203 .getPreferenceController(mContext, controllerClassName, key); in getSliceDataFromXML()
DSettingsSliceProvider.java388 final BasePreferenceController controller = SliceBuilderUtils.getPreferenceController( in loadSlice()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/slices/
DSliceBroadcastReceiver.java119 final BasePreferenceController controller = getPreferenceController(context, key); in handleToggleAction()
154 final BasePreferenceController controller = getPreferenceController(context, key); in handleSliderAction()
184 final BasePreferenceController controller = getPreferenceController(context, key); in handleCopyAction()
214 private BasePreferenceController getPreferenceController(Context context, String key) { in getPreferenceController() method in SliceBroadcastReceiver
217 return SliceBuilderUtils.getPreferenceController(context, sliceData); in getPreferenceController()
DSliceBuilderUtils.java78 Log.d(TAG, "Creating slice for: " + sliceData.getPreferenceController()); in buildSlice()
79 final BasePreferenceController controller = getPreferenceController(context, sliceData); in buildSlice()
119 BasePreferenceController controller = getPreferenceController(context, controllerClassName, in getSliceType()
160 public static BasePreferenceController getPreferenceController(Context context, in getPreferenceController() method in SliceBuilderUtils
162 return getPreferenceController(context, sliceData.getPreferenceController(), in getPreferenceController()
359 private static BasePreferenceController getPreferenceController(Context context, in getPreferenceController() method in SliceBuilderUtils
DSlicesIndexer.java110 values.put(IndexColumns.CONTROLLER, dataRow.getPreferenceController()); in insertSliceData()
DSliceData.java110 public String getPreferenceController() { in getPreferenceController() method in SliceData
DSliceDataConverter.java219 SliceBuilderUtils.getPreferenceController(mContext, xmlSlice); in getSliceDataFromXML()
DSettingsSliceProvider.java383 final BasePreferenceController controller = SliceBuilderUtils.getPreferenceController( in loadSlice()
/packages/apps/Settings/tests/robotests/src/com/android/settings/slices/
DSliceDataTest.java68 assertThat(data.getPreferenceController()).isEqualTo(PREF_CONTROLLER); in testBuilder_buildsMatchingObject()
146 assertThat(data.getPreferenceController()).isEqualTo(PREF_CONTROLLER); in testBuilder_noSubtitle_buildsMatchingObject()
169 assertThat(data.getPreferenceController()).isEqualTo(PREF_CONTROLLER); in testBuilder_noScreenTitle_buildsMatchingObject()
192 assertThat(data.getPreferenceController()).isEqualTo(PREF_CONTROLLER); in testBuilder_noIcon_buildsMatchingObject()
216 assertThat(data.getPreferenceController()).isEqualTo(PREF_CONTROLLER); in testBuilder_noUri_buildsMatchingObject()
DSlicesDatabaseAccessorTest.java104 assertThat(data.getPreferenceController()).isEqualTo(SliceTestUtils.FAKE_CONTROLLER_NAME); in testGetSliceDataFromKey_validKey_validSliceReturned()
124 assertThat(data.getPreferenceController()).isEqualTo(SliceTestUtils.FAKE_CONTROLLER_NAME); in testGetSliceDataFromKey_allowDynamicSummary_validSliceReturned()
156 assertThat(data.getPreferenceController()).isEqualTo(SliceTestUtils.FAKE_CONTROLLER_NAME); in testGetSliceFromUri_validUri_validSliceReturned()
291 assertThat(data.getPreferenceController()).isEqualTo(SliceTestUtils.FAKE_CONTROLLER_NAME); in testGetSliceDataFromKey_defaultUnavailableSlice_validSliceReturned()
311 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.java141 SliceBuilderUtils.getPreferenceController(mContext, getDummyData()); in testGetPreferenceController_buildsMatchingController()
149 SliceBuilderUtils.getPreferenceController(mContext, in testGetPreferenceController_contextOnly_buildsMatchingController()