Searched refs:sUidCache (Results 1 – 2 of 2) sorted by relevance
80 static final HashMap<String, UidToDetail> sUidCache = new HashMap<>(); field in BatteryEntry154 sUidCache.clear(); in clearUidCache()318 if (sUidCache.containsKey(uidString)) { in getQuickNameIconForUid()319 UidToDetail utd = sUidCache.get(uidString); in getQuickNameIconForUid()439 sUidCache.put(uidString, utd); in loadNameAndIcon()
217 BatteryEntry.sUidCache.put(Integer.toString(APP_UID), null); in testUidCache_switchLocale_shouldCleanCache()218 assertThat(BatteryEntry.sUidCache).isNotEmpty(); in testUidCache_switchLocale_shouldCleanCache()222 assertThat(BatteryEntry.sUidCache).isEmpty(); // check if cache is clear in testUidCache_switchLocale_shouldCleanCache()