Home
last modified time | relevance | path

Searched refs:buildContextualCard (Results 1 – 25 of 37) sorted by relevance

12

/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/slices/
DSliceContextualCardRendererTest.java88 mRenderer.bindView(viewHolder, buildContextualCard(sliceUri)); in bindView_invalidScheme_sliceShouldBeNull()
97 mRenderer.bindView(getSliceViewHolder(), buildContextualCard(TEST_SLICE_URI)); in bindView_newSliceLiveData_shouldAddDataToMap()
104 mRenderer.bindView(getSliceViewHolder(), buildContextualCard(TEST_SLICE_URI)); in bindView_sliceLiveDataShouldObserveSliceView()
113 mRenderer.bindView(getSliceViewHolder(), buildContextualCard(TEST_SLICE_URI)); in bindView_sliceLiveDataShouldRemoveObservers()
122 final ContextualCard card = buildContextualCard( in bindView_isPendingDismiss_shouldShowDismissalView()
133 final ContextualCard card = buildContextualCard( in bindView_isPendingDismiss_shouldAddViewHolderToSet()
144 final ContextualCard card = buildContextualCard(TEST_SLICE_URI); in bindView_beforeSuccessfulSliceBinding_shouldHideSwipeBackground()
155 final ContextualCard card = buildContextualCard(TEST_SLICE_URI); in bindView_reuseViewHolder_shouldHideSwipeBackgroundBeforeSliceBinding()
168 final ContextualCard card = buildContextualCard(TEST_SLICE_URI); in bindView_deferredSetupCard_shouldNotCrash()
180 final ContextualCard card = buildContextualCard( in viewClick_keepCard_shouldShowSlice()
[all …]
DSliceFullCardRendererHelperTest.java81 mHelper.bindView(viewHolder, buildContextualCard(), buildSlice()); in bindView_shouldSetScrollableToFalse()
89 final ContextualCard card = buildContextualCard(); in bindView_shouldSetTagToSliceUri()
100 mHelper.bindView(viewHolder, buildContextualCard(), buildSlice()); in bindView_shouldSetModeToLarge()
110 mHelper.bindView(viewHolder, buildContextualCard(), buildSlice()); in bindView_shouldSetSlice()
124 private ContextualCard buildContextualCard() { in buildContextualCard() method in SliceFullCardRendererHelperTest
DSliceDeferredSetupCardRendererHelperTest.java80 mHelper.bindView(viewHolder, buildContextualCard(), buildSlice()); in bindView_shouldSetTitle()
89 mHelper.bindView(viewHolder, buildContextualCard(), buildSlice()); in bindView_shouldSetSummary()
103 private ContextualCard buildContextualCard() { in buildContextualCard() method in SliceDeferredSetupCardRendererHelperTest
DSliceHalfCardRendererHelperTest.java78 mHelper.bindView(viewHolder, buildContextualCard(), buildSlice()); in bindView_shouldSetTitle()
92 private ContextualCard buildContextualCard() { in buildContextualCard() method in SliceHalfCardRendererHelperTest
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/legacysuggestion/
DLegacySuggestionContextualCardRendererTest.java71 final ContextualCard card = buildContextualCard(); in bindView_shouldSetListener()
79 mRenderer.bindView(viewHolder, buildContextualCard()); in bindView_shouldSetListener()
89 final ContextualCard card = buildContextualCard(); in viewClick_shouldInvokeControllerPrimaryClick()
97 mRenderer.bindView(viewHolder, buildContextualCard()); in viewClick_shouldInvokeControllerPrimaryClick()
105 private ContextualCard buildContextualCard() { in buildContextualCard() method in LegacySuggestionContextualCardRendererTest
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/
DContextualCardManagerTest.java142 buildContextualCard(TEST_SLICE_URI).mutate().setRankingScore(99.0).build(); in sortCards_shouldBeDescendingOrder()
144 buildContextualCard("context://test/test2").mutate().setRankingScore(88.0).build(); in sortCards_shouldBeDescendingOrder()
157 cards.add(buildContextualCard(TEST_SLICE_URI)); in sortCards_hasConditionalAndSliceCards_conditionalShouldAlwaysBeTheLast()
169 buildContextualCard(TEST_SLICE_URI)); in onContextualCardUpdated_emptyMapWithExistingCards_shouldOnlyKeepConditionalCard()
249 cards.add(buildContextualCard(TEST_SLICE_URI)); in onFinishCardLoading_newLaunch_twoLoadedCards_shouldShowTwoCards()
250 cards.add(buildContextualCard(TEST_SLICE_URI)); in onFinishCardLoading_newLaunch_twoLoadedCards_shouldShowTwoCards()
281 loadedCards.add(buildContextualCard(TEST_SLICE_URI)); in onFinishCardLoading_hasSavedCard_shouldOnlyShowSavedCard()
299 mManager.mContextualCards.add(buildContextualCard(TEST_SLICE_URI)); in onFinishCardLoading_reloadData_hasNewCard_shouldOnlyShowOldCard()
307 loadedCards.add(buildContextualCard(TEST_SLICE_URI)); in onFinishCardLoading_reloadData_hasNewCard_shouldOnlyShowOldCard()
580 private ContextualCard buildContextualCard(String sliceUri) { in buildContextualCard() method in ContextualCardManagerTest
DContextualCardsAdapterTest.java135 newCardList.add(buildContextualCard(TEST_SLICE_URI)); in onContextualCardUpdated_newCardList_shouldUpdateCardList()
170 private ContextualCard buildContextualCard(Uri sliceUri) { in buildContextualCard() method in ContextualCardsAdapterTest
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/conditional/
DHotspotConditionControllerTest.java58 final ContextualCard card = mController.buildContextualCard(); in buildContextualCard_hasWifiAp_shouldHaveWifiApSsid()
65 final ContextualCard card = mController.buildContextualCard(); in buildContextualCard_noWifiAp_shouldHaveDefaultSsid()
DDndConditionalCardControllerTest.java77 final ContextualCard card = mController.buildContextualCard(); in buildContextualCard_allSoundsMuted_shouldHavePhoneMutedSummary()
87 final ContextualCard card = mController.buildContextualCard(); in buildContextualCard_allowSomeSounds_shouldHaveWittExceptionsSummary()
DAbnormalRingerConditionControllerBaseTest.java85 public ContextualCard buildContextualCard() { in buildContextualCard() method in AbnormalRingerConditionControllerBaseTest.TestCondition
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/conditional/
DConditionalCardController.java51 ContextualCard buildContextualCard(); in buildContextualCard() method
DRingerMutedConditionController.java49 public ContextualCard buildContextualCard() { in buildContextualCard() method in RingerMutedConditionController
DRingerVibrateConditionController.java50 public ContextualCard buildContextualCard() { in buildContextualCard() method in RingerVibrateConditionController
DBackgroundDataConditionController.java66 public ContextualCard buildContextualCard() { in buildContextualCard() method in BackgroundDataConditionController
DNightDisplayConditionController.java73 public ContextualCard buildContextualCard() { in buildContextualCard() method in NightDisplayConditionController
DAirplaneModeConditionController.java72 public ContextualCard buildContextualCard() { in buildContextualCard() method in AirplaneModeConditionController
DBatterySaverConditionController.java75 public ContextualCard buildContextualCard() { in buildContextualCard() method in BatterySaverConditionController
DCellularDataConditionController.java82 public ContextualCard buildContextualCard() { in buildContextualCard() method in CellularDataConditionController
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/homepage/contextualcards/conditional/
DConditionalCardController.java51 ContextualCard buildContextualCard(); in buildContextualCard() method
DRingerVibrateConditionController.java50 public ContextualCard buildContextualCard() { in buildContextualCard() method in RingerVibrateConditionController
DRingerMutedConditionController.java49 public ContextualCard buildContextualCard() { in buildContextualCard() method in RingerMutedConditionController
DBackgroundDataConditionController.java66 public ContextualCard buildContextualCard() { in buildContextualCard() method in BackgroundDataConditionController
DNightDisplayConditionController.java73 public ContextualCard buildContextualCard() { in buildContextualCard() method in NightDisplayConditionController
DBatterySaverConditionController.java75 public ContextualCard buildContextualCard() { in buildContextualCard() method in BatterySaverConditionController
DAirplaneModeConditionController.java72 public ContextualCard buildContextualCard() { in buildContextualCard() method in AirplaneModeConditionController

12