Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/datausage/
DUnrestrictedDataAccessPreferenceController.java139 if (!shouldAddPreference(entry)) { in onRebuildComplete()
242 static boolean shouldAddPreference(AppEntry app) { in shouldAddPreference() method in UnrestrictedDataAccessPreferenceController
/packages/apps/Settings/tests/robotests/src/com/android/settings/datausage/
DUnrestrictedDataAccessPreferenceControllerTest.java95 assertThat(UnrestrictedDataAccessPreferenceController.shouldAddPreference(entry)).isTrue(); in shouldAddPreference_forApps_shouldBeTrue()
102 assertThat(UnrestrictedDataAccessPreferenceController.shouldAddPreference(entry)).isFalse(); in shouldAddPreference_forNonApps_shouldBeFalse()