Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/fuelgauge/
DBatteryDiffEntry.java43 static final Map<String, Boolean> sValidForRestriction = new HashMap<>(); field in BatteryDiffEntry
168 final Boolean validForRestriction = sValidForRestriction.get(getKey()); in loadLabelAndIcon()
180 sValidForRestriction.put(getKey(), Boolean.valueOf(mValidForRestriction)); in loadLabelAndIcon()
344 sValidForRestriction.clear(); in clearCache()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DBatteryDiffEntryTest.java138 assertThat(BatteryDiffEntry.sValidForRestriction.get(entry.getKey())).isTrue(); in testLoadLabelAndIcon_forSystemBattery_returnExpectedResult()
164 assertThat(BatteryDiffEntry.sValidForRestriction.get(entry.getKey())).isTrue(); in testLoadLabelAndIcon_forUserBattery_returnExpectedResult()
192 assertThat(BatteryDiffEntry.sValidForRestriction.get(entry.getKey())).isFalse(); in testGetAppLabel_loadDataFromApplicationInfo()
263 BatteryDiffEntry.sValidForRestriction.put( in testClearCache_clearDataForResourcesAndFlags()
269 assertThat(BatteryDiffEntry.sValidForRestriction).isEmpty(); in testClearCache_clearDataForResourcesAndFlags()