/packages/apps/Settings/tests/robotests/src/com/android/settings/slices/ |
D | SliceBuilderUtilsTest.java | 90 final SliceData sliceData = getDummyData(CONTEXT_CONTROLLER, SliceData.SliceType.INTENT); in buildIntentSlice_returnsMatchingSlice() 98 final SliceData dummyData = getDummyData(TOGGLE_CONTROLLER, SliceData.SliceType.SWITCH); in buildToggleSlice_returnsMatchingSlice() 112 final SliceData data = getDummyData(SLIDER_CONTROLLER, SliceData.SliceType.SLIDER); in buildSliderSlice_returnsMatchingSlice() 287 SliceData.SliceType.SWITCH); in testUnsupportedSlice_validTitleSummary() 300 SliceData.SliceType.SWITCH); in testDisabledForUserSlice_validTitleSummary() 313 SliceData.SliceType.INTENT); in testDisabledDependentSettingSlice_validTitleSummary() 333 SliceData.SliceType.SWITCH); in testConditionallyUnavailableSlice_validTitleSummary() 363 final SliceData sliceData = getDummyData(CONTEXT_CONTROLLER, SliceData.SliceType.INTENT, in buildIntentSlice_noIconPassed_returnsSliceWithIcon() 379 SUMMARY, SliceData.SliceType.SWITCH, SCREEN_TITLE, 0 /* icon */, in buildDisabledDependentSlice_noIconPassed_returnsSliceWithIcon() 397 final SliceData dummyData = getDummyData(TOGGLE_CONTROLLER, SliceData.SliceType.SWITCH, in buildToggleSlice_noIconPassed_returnsSliceWithIcon() [all …]
|
D | FakePreferenceController.java | 36 return SliceData.SliceType.SLIDER; in getSliceType()
|
D | SliceTestUtils.java | 74 values.put(SlicesDatabaseHelper.IndexColumns.SLICE_TYPE, SliceData.SliceType.INTENT); in insertSliceToDb()
|
D | SliceDataConverterTest.java | 128 assertThat(fakeSlice.getSliceType()).isEqualTo(SliceData.SliceType.SLIDER); in assertFakeSlice()
|
D | SlicesIndexerTest.java | 55 private final int SLICE_TYPE = SliceData.SliceType.SLIDER;
|
/packages/apps/Settings/src/com/android/settings/slices/ |
D | SliceData.java | 34 @IntDef({SliceType.INTENT, SliceType.SWITCH, SliceType.SLIDER}) 36 public @interface SliceType { annotation in SliceData 71 @SliceType 225 public Builder setSliceType(@SliceType int sliceType) { in setSliceType()
|
D | SliceBuilderUtils.java | 99 case SliceData.SliceType.INTENT: in buildSlice() 101 case SliceData.SliceType.SWITCH: in buildSlice() 103 case SliceData.SliceType.SLIDER: in buildSlice()
|
D | SlicesDatabaseAccessor.java | 168 sliceType = SliceData.SliceType.INTENT; in buildSliceData()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/slices/ |
D | SliceData.java | 34 @IntDef({SliceType.INTENT, SliceType.SWITCH, SliceType.SLIDER}) 36 public @interface SliceType { annotation in SliceData 71 @SliceType 225 public Builder setSliceType(@SliceType int sliceType) { in setSliceType()
|
D | SliceBuilderUtils.java | 101 case SliceData.SliceType.INTENT: in buildSlice() 103 case SliceData.SliceType.SWITCH: in buildSlice() 105 case SliceData.SliceType.SLIDER: in buildSlice() 116 @SliceData.SliceType
|
D | SlicesDatabaseAccessor.java | 174 sliceType = SliceData.SliceType.INTENT; in buildSliceData()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/core/ |
D | TogglePreferenceController.java | 68 @SliceData.SliceType 70 return SliceData.SliceType.SWITCH; in getSliceType()
|
D | BasePreferenceController.java | 225 @SliceData.SliceType 227 return SliceData.SliceType.INTENT; in getSliceType()
|
D | SliderPreferenceController.java | 66 return SliceData.SliceType.SLIDER; in getSliceType()
|
/packages/apps/Settings/src/com/android/settings/core/ |
D | TogglePreferenceController.java | 78 @SliceData.SliceType 80 return SliceData.SliceType.SWITCH; in getSliceType()
|
D | BasePreferenceController.java | 292 @SliceData.SliceType 294 return SliceData.SliceType.INTENT; in getSliceType()
|
D | SliderPreferenceController.java | 71 return SliceData.SliceType.SLIDER; in getSliceType()
|
/packages/apps/Settings/src/com/android/settings/accounts/ |
D | ContactSearchPreferenceController.java | 86 @SliceData.SliceType 88 return SliceData.SliceType.SWITCH; in getSliceType()
|
D | WorkModePreferenceController.java | 143 @SliceData.SliceType 145 return SliceData.SliceType.SWITCH; in getSliceType()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/accounts/ |
D | ContactSearchPreferenceController.java | 86 @SliceData.SliceType 88 return SliceData.SliceType.SWITCH; in getSliceType()
|
D | WorkModePreferenceController.java | 143 @SliceData.SliceType 145 return SliceData.SliceType.SWITCH; in getSliceType()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/core/ |
D | SliderPreferenceControllerTest.java | 67 assertThat(mSliderController.getSliceType()).isEqualTo(SliceData.SliceType.SLIDER); in testSliceType_returnsSliceType()
|
D | SettingsSliderPreferenceControllerTest.java | 69 assertThat(mSliderController.getSliceType()).isEqualTo(SliceData.SliceType.SLIDER); in testSliceType_returnsSliceType()
|
D | TogglePreferenceControllerTest.java | 90 SliceData.SliceType.SWITCH); in testSliceType_returnsSliceType()
|
D | BasePreferenceControllerTest.java | 146 assertThat(mPreferenceController.getSliceType()).isEqualTo(SliceData.SliceType.INTENT); in getSliceType_shouldReturnIntent()
|