Home
last modified time | relevance | path

Searched refs:isSliceToggleable (Results 1 – 2 of 2) sorted by relevance

/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/
DEligibleCardChecker.java102 if (isSliceToggleable(slice)) { in isCardEligibleToDisplay()
148 boolean isSliceToggleable(Slice slice) { in isSliceToggleable() method in EligibleCardChecker
/packages/apps/Settings/tests/robotests/src/com/android/settings/homepage/contextualcards/
DEligibleCardCheckerTest.java65 assertThat(mEligibleCardChecker.isSliceToggleable(slice)).isTrue(); in isSliceToggleable_cardWithToggle_returnTrue()
73 assertThat(mEligibleCardChecker.isSliceToggleable(slice)).isFalse(); in isSliceToggleable_cardWithoutToggle_returnFalse()