Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/fuelgauge/
DBatteryEntry.java80 static final HashMap<String, UidToDetail> sUidCache = new HashMap<>(); field in BatteryEntry
154 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()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DBatteryEntryTest.java217 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()