Home
last modified time | relevance | path

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

12

/packages/apps/Settings/tests/robotests/src/com/android/settings/slices/
DSliceBuilderUtilsTest.java90 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 …]
DFakePreferenceController.java36 return SliceData.SliceType.SLIDER; in getSliceType()
DSliceTestUtils.java74 values.put(SlicesDatabaseHelper.IndexColumns.SLICE_TYPE, SliceData.SliceType.INTENT); in insertSliceToDb()
DSliceDataConverterTest.java128 assertThat(fakeSlice.getSliceType()).isEqualTo(SliceData.SliceType.SLIDER); in assertFakeSlice()
DSlicesIndexerTest.java55 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.java99 case SliceData.SliceType.INTENT: in buildSlice()
101 case SliceData.SliceType.SWITCH: in buildSlice()
103 case SliceData.SliceType.SLIDER: in buildSlice()
DSlicesDatabaseAccessor.java168 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()
/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/core/
DTogglePreferenceController.java78 @SliceData.SliceType
80 return SliceData.SliceType.SWITCH; in getSliceType()
DBasePreferenceController.java292 @SliceData.SliceType
294 return SliceData.SliceType.INTENT; in getSliceType()
DSliderPreferenceController.java71 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.java146 assertThat(mPreferenceController.getSliceType()).isEqualTo(SliceData.SliceType.INTENT); in getSliceType_shouldReturnIntent()

12