Searched refs:sValidForRestriction (Results 1 – 2 of 2) sorted by relevance
43 static final Map<String, Boolean> sValidForRestriction = new HashMap<>(); field in BatteryDiffEntry168 final Boolean validForRestriction = sValidForRestriction.get(getKey()); in loadLabelAndIcon()180 sValidForRestriction.put(getKey(), Boolean.valueOf(mValidForRestriction)); in loadLabelAndIcon()344 sValidForRestriction.clear(); in clearCache()
138 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()