/packages/apps/Settings/src/com/android/settings/slices/ |
D | SliceBroadcastReceiver.java | 110 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()
|
D | SliceBuilderUtils.java | 80 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
|
D | SlicesIndexer.java | 114 values.put(IndexColumns.CONTROLLER, dataRow.getPreferenceController()); in insertSliceData()
|
D | SliceData.java | 117 public String getPreferenceController() { in getPreferenceController() method in SliceData
|
D | SliceDataConverter.java | 192 .getPreferenceController(mContext, controllerClassName, key); in getSliceDataFromXML()
|
D | SettingsSliceProvider.java | 419 final BasePreferenceController controller = SliceBuilderUtils.getPreferenceController( in loadSlice()
|
/packages/apps/Settings/tests/unit/src/com/android/settings/slices/ |
D | SliceDataTest.java | 69 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/ |
D | SlicesDatabaseAccessorTest.java | 106 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()
|
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 | 135 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/ |
D | TermsPreferenceControllerTest.java | 26 protected LegalPreferenceController getPreferenceController() { in getPreferenceController() method in TermsPreferenceControllerTest
|
D | WebViewLicensePreferenceControllerTest.java | 26 protected LegalPreferenceController getPreferenceController() { in getPreferenceController() method in WebViewLicensePreferenceControllerTest
|
D | ThirdPartyLicensePreferenceControllerTest.java | 26 protected LegalPreferenceController getPreferenceController() { in getPreferenceController() method in ThirdPartyLicensePreferenceControllerTest
|
D | LegalPreferenceControllerTest.java | 33 protected LegalPreferenceController getPreferenceController() { in getPreferenceController() method in LegalPreferenceControllerTest
|
D | LegalPreferenceControllerTestCase.java | 87 mPreferenceController = getPreferenceController(); in setUp() 91 protected abstract LegalPreferenceController getPreferenceController(); in getPreferenceController() method in LegalPreferenceControllerTestCase
|