Home
last modified time | relevance | path

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

/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datausage/
DUnrestrictedDataAccessPreferenceController.java135 if (!shouldAddPreference(entry)) { in onRebuildComplete()
235 static boolean shouldAddPreference(AppEntry app) { in shouldAddPreference() method in UnrestrictedDataAccessPreferenceController
/packages/apps/Settings/src/com/android/settings/datausage/
DUnrestrictedDataAccessPreferenceController.java135 if (!shouldAddPreference(entry)) { in onRebuildComplete()
235 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()