Home
last modified time | relevance | path

Searched refs:ContextualCardLookupTable (Results 1 – 6 of 6) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/
DContextualCardLookupTableTest.java21 import com.android.settings.homepage.contextualcards.ContextualCardLookupTable.ControllerRendererMa…
43 ContextualCardLookupTable.LOOKUP_TABLE.stream() in setUp()
49 ContextualCardLookupTable.LOOKUP_TABLE.clear(); in reset()
50 ContextualCardLookupTable.LOOKUP_TABLE.addAll(mOriginalLookupTable); in reset()
55 for (ControllerRendererMapping mapping : ContextualCardLookupTable.LOOKUP_TABLE) { in getCardControllerClass_hasSupportedCardType_shouldGetCorrespondingController()
56 assertThat(ContextualCardLookupTable.getCardControllerClass(mapping.mCardType)) in getCardControllerClass_hasSupportedCardType_shouldGetCorrespondingController()
63 assertThat(ContextualCardLookupTable.getCardControllerClass(UNSUPPORTED_CARD_TYPE)) in getCardControllerClass_hasUnsupportedCardType_shouldAlwaysGetNull()
70 for (ControllerRendererMapping mapping : ContextualCardLookupTable.LOOKUP_TABLE) { in getCardRendererClassByViewType_hasSupportedViewType_shouldGetCorrespondingRenderer()
71 assertThat(ContextualCardLookupTable.getCardRendererClassByViewType(mapping.mViewType)) in getCardRendererClassByViewType_hasSupportedViewType_shouldGetCorrespondingRenderer()
78 assertThat(ContextualCardLookupTable.getCardRendererClassByViewType( in getCardRendererClassByViewType_hasUnsupportedViewType_shouldAlwaysGetNull()
[all …]
DControllerRendererPoolTest.java82 ContextualCardLookupTable.LOOKUP_TABLE.stream().forEach(mapping -> assertThat( in getController_hasSupportedCardType_shouldReturnCorrespondingController()
89 final long count = ContextualCardLookupTable.LOOKUP_TABLE.stream().map( in getController_hasSupportedCardType_shouldHaveTwoControllersInPool()
92 ContextualCardLookupTable.LOOKUP_TABLE.stream().forEach( in getController_hasSupportedCardType_shouldHaveTwoControllersInPool()
109 ContextualCardLookupTable.LOOKUP_TABLE.stream().forEach(mapping -> assertThat( in getRenderer_hasSupportedViewType_shouldReturnCorrespondingRenderer()
116 final long count = ContextualCardLookupTable.LOOKUP_TABLE.stream().map( in getRenderer_hasSupportedViewType_shouldHaveDistinctRenderersInPool()
119 ContextualCardLookupTable.LOOKUP_TABLE.stream().forEach( in getRenderer_hasSupportedViewType_shouldHaveDistinctRenderersInPool()
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/
DControllerRendererPool.java57 ContextualCardLookupTable.getCardControllerClass(cardType); in getController()
85 ContextualCardLookupTable.getCardRendererClassByViewType(viewType); in getRendererByViewType()
DContextualCardLookupTable.java40 public class ContextualCardLookupTable { class
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/homepage/contextualcards/
DControllerRendererPool.java57 ContextualCardLookupTable.getCardControllerClass(cardType); in getController()
85 ContextualCardLookupTable.getCardRendererClassByViewType(viewType); in getRendererByViewType()
DContextualCardLookupTable.java40 public class ContextualCardLookupTable { class