Home
last modified time | relevance | path

Searched refs:SliceType (Results 1 – 25 of 29) sorted by relevance

12

/packages/apps/Settings/tests/robotests/src/com/android/settings/slices/
DSliceBuilderUtilsTest.java91 final SliceData sliceData = getDummyData(CONTEXT_CONTROLLER, SliceData.SliceType.INTENT); in buildIntentSlice_returnsMatchingSlice()
99 final SliceData dummyData = getDummyData(TOGGLE_CONTROLLER, SliceData.SliceType.SWITCH); in buildToggleSlice_returnsMatchingSlice()
113 final SliceData data = getDummyData(SLIDER_CONTROLLER, SliceData.SliceType.SLIDER); in buildSliderSlice_returnsMatchingSlice()
340 SliceData.SliceType.SWITCH); in testUnsupportedSlice_validTitleSummary()
353 SliceData.SliceType.SWITCH); in testDisabledForUserSlice_validTitleSummary()
366 SliceData.SliceType.INTENT); in testDisabledDependentSettingSlice_validTitleSummary()
386 SliceData.SliceType.SWITCH); in testConditionallyUnavailableSlice_validTitleSummary()
416 final SliceData sliceData = getDummyData(CONTEXT_CONTROLLER, SliceData.SliceType.INTENT, in buildIntentSlice_noIconPassed_returnsSliceWithIcon()
432 SUMMARY, SliceData.SliceType.SWITCH, SCREEN_TITLE, 0 /* icon */, in buildDisabledDependentSlice_noIconPassed_returnsSliceWithIcon()
450 final SliceData dummyData = getDummyData(TOGGLE_CONTROLLER, SliceData.SliceType.SWITCH, in buildToggleSlice_noIconPassed_returnsSliceWithIcon()
[all …]
DFakePreferenceController.java36 return SliceData.SliceType.SLIDER; in getSliceType()
DSliceDataConverterTest.java125 assertThat(fakeSlice.getSliceType()).isEqualTo(SliceData.SliceType.SLIDER); in assertFakeSlice()
DSlicesIndexerTest.java56 private final int SLICE_TYPE = SliceData.SliceType.SLIDER;
/packages/apps/Settings/src/com/android/settings/slices/
DSliceData.java34 @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()
DSliceBuilderUtils.java101 case SliceData.SliceType.INTENT: in buildSlice()
103 case SliceData.SliceType.SWITCH: in buildSlice()
105 case SliceData.SliceType.SLIDER: in buildSlice()
116 @SliceData.SliceType
DSlicesDatabaseAccessor.java174 sliceType = SliceData.SliceType.INTENT; in buildSliceData()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/slices/
DSliceData.java34 @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()
DSliceBuilderUtils.java101 case SliceData.SliceType.INTENT: in buildSlice()
103 case SliceData.SliceType.SWITCH: in buildSlice()
105 case SliceData.SliceType.SLIDER: in buildSlice()
116 @SliceData.SliceType
DSlicesDatabaseAccessor.java174 sliceType = SliceData.SliceType.INTENT; in buildSliceData()
DSliceDataConverter.java280 .setSliceType(SliceData.SliceType.SWITCH); in getAccessibilitySliceData()
/packages/apps/Settings/src/com/android/settings/core/
DTogglePreferenceController.java68 @SliceData.SliceType
70 return SliceData.SliceType.SWITCH; in getSliceType()
DBasePreferenceController.java225 @SliceData.SliceType
227 return SliceData.SliceType.INTENT; in getSliceType()
DSliderPreferenceController.java71 return SliceData.SliceType.SLIDER; in getSliceType()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/core/
DTogglePreferenceController.java68 @SliceData.SliceType
70 return SliceData.SliceType.SWITCH; in getSliceType()
DBasePreferenceController.java225 @SliceData.SliceType
227 return SliceData.SliceType.INTENT; in getSliceType()
DSliderPreferenceController.java66 return SliceData.SliceType.SLIDER; in getSliceType()
/packages/apps/Settings/src/com/android/settings/accounts/
DContactSearchPreferenceController.java86 @SliceData.SliceType
88 return SliceData.SliceType.SWITCH; in getSliceType()
DWorkModePreferenceController.java143 @SliceData.SliceType
145 return SliceData.SliceType.SWITCH; in getSliceType()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/accounts/
DContactSearchPreferenceController.java86 @SliceData.SliceType
88 return SliceData.SliceType.SWITCH; in getSliceType()
DWorkModePreferenceController.java143 @SliceData.SliceType
145 return SliceData.SliceType.SWITCH; in getSliceType()
/packages/apps/Settings/tests/robotests/src/com/android/settings/core/
DSliderPreferenceControllerTest.java67 assertThat(mSliderController.getSliceType()).isEqualTo(SliceData.SliceType.SLIDER); in testSliceType_returnsSliceType()
DSettingsSliderPreferenceControllerTest.java69 assertThat(mSliderController.getSliceType()).isEqualTo(SliceData.SliceType.SLIDER); in testSliceType_returnsSliceType()
DTogglePreferenceControllerTest.java90 SliceData.SliceType.SWITCH); in testSliceType_returnsSliceType()
DBasePreferenceControllerTest.java145 assertThat(mPreferenceController.getSliceType()).isEqualTo(SliceData.SliceType.INTENT); in getSliceType_shouldReturnIntent()

12