/packages/apps/Settings/src/com/android/settings/slices/ |
D | SliceBroadcastReceiver.java | 114 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()
|
D | SliceBuilderUtils.java | 76 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
|
D | SlicesIndexer.java | 114 values.put(IndexColumns.CONTROLLER, dataRow.getPreferenceController()); in insertSliceData()
|
D | SliceData.java | 110 public String getPreferenceController() { in getPreferenceController() method in SliceData
|
D | SliceDataConverter.java | 203 .getPreferenceController(mContext, controllerClassName, key); in getSliceDataFromXML()
|
D | SettingsSliceProvider.java | 388 final BasePreferenceController controller = SliceBuilderUtils.getPreferenceController( in loadSlice()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/slices/ |
D | SliceBroadcastReceiver.java | 119 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()
|
D | SliceBuilderUtils.java | 78 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
|
D | SlicesIndexer.java | 110 values.put(IndexColumns.CONTROLLER, dataRow.getPreferenceController()); in insertSliceData()
|
D | SliceData.java | 110 public String getPreferenceController() { in getPreferenceController() method in SliceData
|
D | SliceDataConverter.java | 219 SliceBuilderUtils.getPreferenceController(mContext, xmlSlice); in getSliceDataFromXML()
|
D | SettingsSliceProvider.java | 383 final BasePreferenceController controller = SliceBuilderUtils.getPreferenceController( in loadSlice()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/slices/ |
D | SliceDataTest.java | 68 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()
|
D | SlicesDatabaseAccessorTest.java | 104 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()
|
D | SliceDataConverterTest.java | 127 assertThat(fakeSlice.getPreferenceController()).isEqualTo(FAKE_CONTROLLER_NAME); in assertFakeSlice() 143 assertThat(fakeSlice.getPreferenceController()).isEqualTo(A11Y_CONTROLLER_NAME); in assertFakeA11ySlice()
|
D | SliceBuilderUtilsTest.java | 141 SliceBuilderUtils.getPreferenceController(mContext, getDummyData()); in testGetPreferenceController_buildsMatchingController() 149 SliceBuilderUtils.getPreferenceController(mContext, in testGetPreferenceController_contextOnly_buildsMatchingController()
|