Searched refs:sValidForRestriction (Results 1 – 3 of 3) sorted by relevance
240 BatteryDiffEntry.sValidForRestriction.put( in onReceive_clearCacheIntentInDebugMode_clearBatteryCacheData()242 assertThat(BatteryDiffEntry.sValidForRestriction).isNotEmpty(); in onReceive_clearCacheIntentInDebugMode_clearBatteryCacheData()248 assertThat(BatteryDiffEntry.sValidForRestriction).isEmpty(); in onReceive_clearCacheIntentInDebugMode_clearBatteryCacheData()256 BatteryDiffEntry.sValidForRestriction.put( in onReceive_clearCacheIntentInNotDebugMode_notClearBatteryCacheData()258 assertThat(BatteryDiffEntry.sValidForRestriction).isNotEmpty(); in onReceive_clearCacheIntentInNotDebugMode_notClearBatteryCacheData()264 assertThat(BatteryDiffEntry.sValidForRestriction).isNotEmpty(); in onReceive_clearCacheIntentInNotDebugMode_notClearBatteryCacheData()
222 assertThat(BatteryDiffEntry.sValidForRestriction.get(entry.getKey())).isFalse(); in testLoadLabelAndIcon_forSystemBattery_returnExpectedResult()248 assertThat(BatteryDiffEntry.sValidForRestriction.get(entry.getKey())).isFalse(); in testLoadLabelAndIcon_forUserBattery_returnExpectedResult()274 assertThat(BatteryDiffEntry.sValidForRestriction.get(entry.getKey())).isFalse(); in testGetAppLabel_loadDataFromApplicationInfo()363 BatteryDiffEntry.sValidForRestriction.put("fake application key", Boolean.valueOf(false)); in testClearCache_clearDataForAllCaches()369 assertThat(BatteryDiffEntry.sValidForRestriction).isEmpty(); in testClearCache_clearDataForAllCaches()
62 static final Map<String, Boolean> sValidForRestriction = new ArrayMap<>(); field in BatteryDiffEntry348 validForRestriction = sValidForRestriction.get(getKey()); in loadLabelAndIcon()362 sValidForRestriction.put(getKey(), Boolean.valueOf(mValidForRestriction)); in loadLabelAndIcon()574 sValidForRestriction.clear(); in clearCache()