Home
last modified time | relevance | path

Searched refs:LOOKUP_TABLE (Results 1 – 3 of 3) sorted by relevance

/packages/apps/Settings/tests/unit/src/com/android/settings/homepage/contextualcards/
DContextualCardLookupTableTest.java44 ContextualCardLookupTable.LOOKUP_TABLE.stream() in setUp()
50 ContextualCardLookupTable.LOOKUP_TABLE.clear(); in reset()
51 ContextualCardLookupTable.LOOKUP_TABLE.addAll(mOriginalLookupTable); in reset()
56 for (ControllerRendererMapping mapping : ContextualCardLookupTable.LOOKUP_TABLE) { in getCardControllerClass_hasSupportedCardType_shouldGetCorrespondingController()
71 for (ControllerRendererMapping mapping : ContextualCardLookupTable.LOOKUP_TABLE) { in getCardRendererClassByViewType_hasSupportedViewType_shouldGetCorrespondingRenderer()
96 ContextualCardLookupTable.LOOKUP_TABLE.add(mapping1); in getCardRendererClassByViewType_hasDuplicateViewType_shouldThrowsIllegalStateException()
97 ContextualCardLookupTable.LOOKUP_TABLE.add(mapping2); in getCardRendererClassByViewType_hasDuplicateViewType_shouldThrowsIllegalStateException()
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/
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/
DContextualCardLookupTable.java68 static final Set<ControllerRendererMapping> LOOKUP_TABLE = field in ContextualCardLookupTable
106 for (ControllerRendererMapping mapping : LOOKUP_TABLE) { in getCardControllerClass()
116 List<ControllerRendererMapping> validMappings = LOOKUP_TABLE.stream() in getCardRendererClassByViewType()