Home
last modified time | relevance | path

Searched refs:CONDITIONAL (Results 1 – 13 of 13) sorted by relevance

/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/conditional/
H A DConditionContextualCardControllerTest.java138 assertThat(conditionalCards.get(CardType.CONDITIONAL)).hasSize(1); in getConditionalCards_hasOneConditionCardAndExpanded_shouldGetOneFullWidthCard()
139 assertThat(conditionalCards.get(CardType.CONDITIONAL).get(0).getViewType()).isEqualTo( in getConditionalCards_hasOneConditionCardAndExpanded_shouldGetOneFullWidthCard()
152 assertThat(conditionalCards.get(CardType.CONDITIONAL)).isEmpty(); in getConditionalCards_hasOneConditionCardAndCollapsed_shouldGetConditionalHeader()
164 assertThat(conditionalCards.get(CardType.CONDITIONAL)).hasSize(2); in getConditionalCards_hasTwoConditionCardsAndExpanded_shouldGetTwoHalfWidthCards()
165 for (ContextualCard card : conditionalCards.get(CardType.CONDITIONAL)) { in getConditionalCards_hasTwoConditionCardsAndExpanded_shouldGetTwoHalfWidthCards()
180 assertThat(conditionalCards.get(CardType.CONDITIONAL)).isEmpty(); in getConditionalCards_hasTwoConditionCardsAndCollapsed_shouldGetConditionalHeader()
192 assertThat(conditionalCards.get(CardType.CONDITIONAL)).hasSize(3); in getConditionalCards_hasThreeCardsAndExpanded_shouldGetThreeCardsWithFooter()
204 assertThat(conditionalCards.get(CardType.CONDITIONAL)).isEmpty(); in getConditionalCards_hasThreeCardsAndCollapsed_shouldGetOneConditionalHeader()
H A DConditionContextualCardRendererTest.java77 ContextualCard.CardType.CONDITIONAL)).thenReturn(mController); in bindView_shouldSetListener()
96 ContextualCard.CardType.CONDITIONAL)).thenReturn(mController); in viewClick_shouldInvokeControllerPrimaryClick()
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/
H A DContextualCardManagerTest.java178 final int[] expected = {ContextualCard.CardType.CONDITIONAL, in getSettingsCards_conditionalsEnabled_shouldContainLegacyAndConditionals()
231 .isEqualTo(ContextualCard.CardType.CONDITIONAL); in sortCards_hasConditionalAndSliceCards_conditionalShouldAlwaysBeTheLast()
264 .isEqualTo(ContextualCard.CardType.CONDITIONAL); in onContextualCardUpdated_emptyMapWithExistingCards_shouldOnlyKeepConditionalCard()
413 ContextualCard.CardType.CONDITIONAL); in onWindowFocusChanged_hasFocusAndNoConditional_startMonitoringConditionCard()
416 ContextualCard.CardType.CONDITIONAL); in onWindowFocusChanged_hasFocusAndNoConditional_startMonitoringConditionCard()
432 ContextualCard.CardType.CONDITIONAL); in onWindowFocusChanged_hasFocusAndHasConditionals_startMonitoringConditionCard()
435 ContextualCard.CardType.CONDITIONAL); in onWindowFocusChanged_hasFocusAndHasConditionals_startMonitoringConditionCard()
451 ContextualCard.CardType.CONDITIONAL); in onWindowFocusChanged_loseFocusAndHasConditionals_stopMonitoringConditionCard()
454 ContextualCard.CardType.CONDITIONAL); in onWindowFocusChanged_loseFocusAndHasConditionals_stopMonitoringConditionCard()
468 ContextualCard.CardType.CONDITIONAL); in onWindowFocusChanged_loseFocusAndNoConditional_stopMonitoringConditionCard()
[all …]
/aosp12/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/
H A DContextualCardLookupTable.java70 add(new ControllerRendererMapping(CardType.CONDITIONAL,
74 add(new ControllerRendererMapping(CardType.CONDITIONAL,
H A DContextualCard.java41 @IntDef({CardType.DEFAULT, CardType.SLICE, CardType.LEGACY_SUGGESTION, CardType.CONDITIONAL,
48 int CONDITIONAL = 3; field
H A DContextualCardManager.java154 {ContextualCard.CardType.CONDITIONAL, ContextualCard.CardType.LEGACY_SUGGESTION}; in getSettingsCards()
200 add(ContextualCard.CardType.CONDITIONAL); in onContextualCardUpdated()
304 .getController(mContext, ContextualCard.CardType.CONDITIONAL); in onWindowFocusChanged()
/aosp12/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/conditional/
H A DConditionContextualCardController.java73 return ContextualCard.CardType.CONDITIONAL; in getCardType()
150 conditionalCards.put(ContextualCard.CardType.CONDITIONAL, in buildConditionalCardsWithFooterOrHeader()
H A DConditionalContextualCard.java48 return CardType.CONDITIONAL; in getCardType()
/aosp12/packages/apps/Settings/tests/unit/src/com/android/settings/homepage/contextualcards/conditional/
H A DConditionalContextualCardTest.java44 .isEqualTo(ContextualCard.CardType.CONDITIONAL); in getCardType_shouldAlwaysBeConditional()
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/legacysuggestion/
H A DLegacySuggestionContextualCardTest.java38 .setCardType(ContextualCard.CardType.CONDITIONAL) in newInstance_changeCardType_shouldCrash()
/aosp12/frameworks/base/telephony/java/android/telephony/
H A DBarringInfo.java122 android.hardware.radio.V1_5.BarringInfo.BarringType.CONDITIONAL;
281 == android.hardware.radio.V1_5.BarringInfo.BarringType.CONDITIONAL) { in create()
/aosp12/hardware/interfaces/radio/1.5/
H A Dtypes.hal806 CONDITIONAL,
/aosp12/hardware/interfaces/radio/1.5/vts/functional/
H A Dradio_hidl_hal_api.cpp1302 case BarringInfo::BarringType::CONDITIONAL: { in TEST_P()