Home
last modified time | relevance | path

Searched refs:buildSlice (Results 1 – 9 of 9) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/slices/
DSliceBuilderUtilsTest.java92 final Slice slice = SliceBuilderUtils.buildSlice(mContext, sliceData); in buildIntentSlice_returnsMatchingSlice()
101 final Slice slice = SliceBuilderUtils.buildSlice(mContext, dummyData); in buildToggleSlice_returnsMatchingSlice()
115 final Slice slice = SliceBuilderUtils.buildSlice(mContext, data); in buildSliderSlice_returnsMatchingSlice()
129 final Slice slice = SliceBuilderUtils.buildSlice(mContext, dummyData); in buildCopyableSlice_returnsMatchingSlice()
345 final Slice slice = SliceBuilderUtils.buildSlice(mContext, data); in testUnsupportedSlice_validTitleSummary()
358 final Slice slice = SliceBuilderUtils.buildSlice(mContext, data); in testDisabledForUserSlice_validTitleSummary()
371 final Slice slice = SliceBuilderUtils.buildSlice(mContext, data); in testDisabledDependentSettingSlice_validTitleSummary()
391 final Slice slice = SliceBuilderUtils.buildSlice(mContext, data); in testConditionallyUnavailableSlice_validTitleSummary()
419 final Slice slice = SliceBuilderUtils.buildSlice(mContext, sliceData); in buildIntentSlice_noIconPassed_returnsSliceWithIcon()
438 final Slice slice = SliceBuilderUtils.buildSlice(mContext, data); in buildDisabledDependentSlice_noIconPassed_returnsSliceWithIcon()
[all …]
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/slices/
DSliceFullCardRendererHelperTest.java81 mHelper.bindView(viewHolder, buildContextualCard(), buildSlice()); in bindView_shouldSetScrollableToFalse()
91 mHelper.bindView(viewHolder, card, buildSlice()); in bindView_shouldSetTagToSliceUri()
100 mHelper.bindView(viewHolder, buildContextualCard(), buildSlice()); in bindView_shouldSetModeToLarge()
110 mHelper.bindView(viewHolder, buildContextualCard(), buildSlice()); in bindView_shouldSetSlice()
134 private Slice buildSlice() { in buildSlice() method in SliceFullCardRendererHelperTest
DSliceDeferredSetupCardRendererHelperTest.java80 mHelper.bindView(viewHolder, buildContextualCard(), buildSlice()); in bindView_shouldSetTitle()
89 mHelper.bindView(viewHolder, buildContextualCard(), buildSlice()); in bindView_shouldSetSummary()
113 private Slice buildSlice() { in buildSlice() method in SliceDeferredSetupCardRendererHelperTest
DSliceHalfCardRendererHelperTest.java78 mHelper.bindView(viewHolder, buildContextualCard(), buildSlice()); in bindView_shouldSetTitle()
102 private Slice buildSlice() { in buildSlice() method in SliceHalfCardRendererHelperTest
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/
DContextualCardFeatureProviderImplTest.java83 final Slice slice = buildSlice(CONTEXTUAL_NOTIFICATION_CHANNEL_SLICE_URI, packageName); in logNotificationPackage_isContextualNotificationChannel_shouldLogPackage()
95 final Slice slice = buildSlice(FLASHLIGHT_SLICE_URI, packageName); in logNotificationPackage_isNotContextualNotificationChannel_shouldNotLogPackage()
104 private Slice buildSlice(Uri sliceUri, String packageName) { in buildSlice() method in ContextualCardFeatureProviderImplTest
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/slices/
DSettingsSliceProvider.java226 return SliceBuilderUtils.buildSlice(getContext(), cachedSliceData); in onBindSlice()
DSliceBuilderUtils.java77 public static Slice buildSlice(Context context, SliceData sliceData) { in buildSlice() method in SliceBuilderUtils
/packages/apps/Settings/src/com/android/settings/slices/
DSettingsSliceProvider.java230 return SliceBuilderUtils.buildSlice(getContext(), cachedSliceData); in onBindSlice()
DSliceBuilderUtils.java77 public static Slice buildSlice(Context context, SliceData sliceData) { in buildSlice() method in SliceBuilderUtils