Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/fuelgauge/batteryusage/
DBatteryDiffEntry.java286 public boolean validForRestriction() { in validForRestriction() method in BatteryDiffEntry
346 Boolean validForRestriction = null; in loadLabelAndIcon() local
348 validForRestriction = sValidForRestriction.get(getKey()); in loadLabelAndIcon()
350 if (validForRestriction != null) { in loadLabelAndIcon()
351 mValidForRestriction = validForRestriction; in loadLabelAndIcon()
354 if (nameAndIcon != null && validForRestriction != null) { in loadLabelAndIcon()
DBatteryUsageBreakdownController.java378 pref.setSelectable(entry.validForRestriction()); in addAllPreferences()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/batteryusage/
DBatteryUsageBreakdownControllerTest.java159 doReturn(false).when(mBatteryDiffEntry).validForRestriction(); in addAllPreferences_addAllPreferences()