/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/slices/ |
D | SliceContextualCardRendererTest.java | 88 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 …]
|
D | SliceFullCardRendererHelperTest.java | 81 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
|
D | SliceDeferredSetupCardRendererHelperTest.java | 80 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
|
D | SliceHalfCardRendererHelperTest.java | 78 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/ |
D | LegacySuggestionContextualCardRendererTest.java | 71 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/ |
D | ContextualCardManagerTest.java | 142 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
|
D | ContextualCardsAdapterTest.java | 135 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/ |
D | HotspotConditionControllerTest.java | 58 final ContextualCard card = mController.buildContextualCard(); in buildContextualCard_hasWifiAp_shouldHaveWifiApSsid() 65 final ContextualCard card = mController.buildContextualCard(); in buildContextualCard_noWifiAp_shouldHaveDefaultSsid()
|
D | DndConditionalCardControllerTest.java | 77 final ContextualCard card = mController.buildContextualCard(); in buildContextualCard_allSoundsMuted_shouldHavePhoneMutedSummary() 87 final ContextualCard card = mController.buildContextualCard(); in buildContextualCard_allowSomeSounds_shouldHaveWittExceptionsSummary()
|
D | AbnormalRingerConditionControllerBaseTest.java | 85 public ContextualCard buildContextualCard() { in buildContextualCard() method in AbnormalRingerConditionControllerBaseTest.TestCondition
|
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/conditional/ |
D | ConditionalCardController.java | 51 ContextualCard buildContextualCard(); in buildContextualCard() method
|
D | RingerMutedConditionController.java | 49 public ContextualCard buildContextualCard() { in buildContextualCard() method in RingerMutedConditionController
|
D | RingerVibrateConditionController.java | 50 public ContextualCard buildContextualCard() { in buildContextualCard() method in RingerVibrateConditionController
|
D | BackgroundDataConditionController.java | 66 public ContextualCard buildContextualCard() { in buildContextualCard() method in BackgroundDataConditionController
|
D | NightDisplayConditionController.java | 73 public ContextualCard buildContextualCard() { in buildContextualCard() method in NightDisplayConditionController
|
D | AirplaneModeConditionController.java | 72 public ContextualCard buildContextualCard() { in buildContextualCard() method in AirplaneModeConditionController
|
D | BatterySaverConditionController.java | 75 public ContextualCard buildContextualCard() { in buildContextualCard() method in BatterySaverConditionController
|
D | CellularDataConditionController.java | 82 public ContextualCard buildContextualCard() { in buildContextualCard() method in CellularDataConditionController
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/homepage/contextualcards/conditional/ |
D | ConditionalCardController.java | 51 ContextualCard buildContextualCard(); in buildContextualCard() method
|
D | RingerVibrateConditionController.java | 50 public ContextualCard buildContextualCard() { in buildContextualCard() method in RingerVibrateConditionController
|
D | RingerMutedConditionController.java | 49 public ContextualCard buildContextualCard() { in buildContextualCard() method in RingerMutedConditionController
|
D | BackgroundDataConditionController.java | 66 public ContextualCard buildContextualCard() { in buildContextualCard() method in BackgroundDataConditionController
|
D | NightDisplayConditionController.java | 73 public ContextualCard buildContextualCard() { in buildContextualCard() method in NightDisplayConditionController
|
D | BatterySaverConditionController.java | 75 public ContextualCard buildContextualCard() { in buildContextualCard() method in BatterySaverConditionController
|
D | AirplaneModeConditionController.java | 72 public ContextualCard buildContextualCard() { in buildContextualCard() method in AirplaneModeConditionController
|