Home
last modified time | relevance | path

Searched refs:CacheEntry (Results 1 – 14 of 14) sorted by relevance

/packages/modules/NeuralNetworks/driver/cache/BlobCache/
DBlobCache.cpp109 CacheEntry dummyEntry(dummyKey, NULL, 0); in set()
139 mCacheEntries.insert(index, CacheEntry(keyBlob, valueBlob, ++mAccessCount)); in set()
195 CacheEntry dummyEntry(dummyKey, NULL, 0); in get()
226 for (const CacheEntry& e : mCacheEntries) { in getFlattenedSize()
252 for (const CacheEntry& e : mCacheEntries) { in flatten()
353 [](const CacheEntry& a, const CacheEntry& b) { in findVictim()
403 const CacheEntry& entry(mCacheEntries[i]); in clean()
454 BlobCache::CacheEntry::CacheEntry() : mRecency(0) {} in CacheEntry() function in android::BlobCache::CacheEntry
456 BlobCache::CacheEntry::CacheEntry(const std::shared_ptr<Blob>& key, in CacheEntry() function in android::BlobCache::CacheEntry
460 BlobCache::CacheEntry::CacheEntry(const CacheEntry& ce) in CacheEntry() function in android::BlobCache::CacheEntry
[all …]
DBlobCache.h232 class CacheEntry {
234 CacheEntry();
235 CacheEntry(const std::shared_ptr<Blob>& key, const std::shared_ptr<Blob>& value,
237 CacheEntry(const CacheEntry& ce);
239 bool operator<(const CacheEntry& rhs) const;
240 const CacheEntry& operator=(const CacheEntry&);
348 std::vector<CacheEntry> mCacheEntries;
/packages/apps/Launcher3/src/com/android/launcher3/util/
DViewCache.java31 protected final SparseArray<CacheEntry> mCache = new SparseArray();
34 mCache.put(layoutId, new CacheEntry(size)); in setCacheSize()
38 CacheEntry entry = mCache.get(layoutId); in getView()
40 entry = new CacheEntry(1); in getView()
57 CacheEntry entry = mCache.get(layoutId); in recycleView()
70 private static class CacheEntry { class in ViewCache
77 public CacheEntry(int maxSize) { in CacheEntry() method in ViewCache.CacheEntry
/packages/apps/Messaging/src/com/android/messaging/mmslib/util/
DAbstractCache.java29 private final SimpleArrayMap<K, CacheEntry<V>> mCacheMap;
32 mCacheMap = new SimpleArrayMap<K, CacheEntry<V>>(); in AbstractCache()
50 CacheEntry<V> cacheEntry = new CacheEntry<V>(); in put()
68 CacheEntry<V> cacheEntry = mCacheMap.get(key); in get()
85 CacheEntry<V> v = mCacheMap.remove(key); in purge()
106 private static class CacheEntry<V> { class in AbstractCache
/packages/modules/Permission/PermissionController/iconloaderlib/src/com/android/launcher3/icons/cache/
DBaseIconCache.java72 public static class CacheEntry { class in BaseIconCache
85 private final Map<ComponentKey, CacheEntry> mCache;
108 mCache = new AbstractMap<ComponentKey, CacheEntry>() { in BaseIconCache()
110 public Set<Entry<ComponentKey, CacheEntry>> entrySet() { in BaseIconCache()
115 public CacheEntry put(ComponentKey key, CacheEntry value) { in BaseIconCache()
251 CacheEntry entry = null; in addIconToDBAndMemCache()
260 entry = new CacheEntry(); in addIconToDBAndMemCache()
305 protected <T> CacheEntry cacheLocked( in cacheLocked()
311 CacheEntry entry = mCache.get(cacheKey); in cacheLocked()
313 entry = new CacheEntry(); in cacheLocked()
[all …]
/packages/modules/DnsResolver/tests/
Dresolv_cache_unit_test.cpp58 struct CacheEntry { struct
163 const CacheEntry& ce, uint32_t flags = 0) { in cacheLookup()
191 int cacheAdd(uint32_t netId, const CacheEntry& ce) { in cacheAdd()
204 void cacheQueryFailed(uint32_t netId, const CacheEntry& ce, uint32_t flags) { in cacheQueryFailed()
260 CacheEntry makeCacheEntry(int op, const char* qname, int qclass, int qtype, const char* rdata, in makeCacheEntry()
262 CacheEntry ce; in makeCacheEntry()
295 CacheEntry ce = makeCacheEntry(QUERY, "valid.cache", ns_c_in, ns_t_a, "1.2.3.4"); in TEST_F()
306 CacheEntry ce = makeCacheEntry(QUERY, "existent.in.cache", ns_c_in, ns_t_a, "1.2.3.4"); in TEST_F()
330 CacheEntry ce = makeCacheEntry(QUERY, "existent.in.cache", ns_c_in, ns_t_a, "1.2.3.4"); in TEST_F()
351 CacheEntry ce = makeCacheEntry(QUERY, "existent.in.cache", ns_c_in, ns_t_a, "1.2.3.4"); in TEST_F()
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/icons/
DIconCache.java228 CacheEntry entry = cacheLocked(application.componentName, in updateTitleAndIcon()
237 CacheEntry packageEntry = in updateTitleAndIcon()
341 CacheEntry entry = cacheLocked(info.getComponent(), info.getUser(), () -> info, in getTitleNoCache()
354 CacheEntry entry = cacheLocked(infoInOut.getTargetComponent(), infoInOut.user, in getTitleAndIcon()
367 CacheEntry entry = cacheLocked(infoInOut.getTargetComponent(), infoInOut.user, in getTitleAndIcon()
372 CacheEntry packageEntry = cacheLocked( in getTitleAndIcon()
480 CacheEntry entry = cacheLocked( in loadIconSubsection()
519 CacheEntry entry = new CacheEntry(); in loadIconSubsection()
561 CacheEntry entry = getEntryForPackageLocked( in getTitleAndIconForApp()
598 protected void applyCacheEntry(@NonNull final CacheEntry entry, in applyCacheEntry()
[all …]
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DFileCache.java52 private final LruCache<String, CacheEntry> mEntryMap =
53 new LruCache<String, CacheEntry>(LRU_CAPACITY);
62 public static final class CacheEntry { class in FileCache
67 private CacheEntry(long id, String contentUrl, File cacheFile) { in CacheEntry() method in FileCache.CacheEntry
129 public CacheEntry lookup(String downloadUrl) { in lookup()
131 CacheEntry entry; in lookup()
146 entry = new CacheEntry( in lookup()
/packages/services/Car/cpp/watchdog/server/tests/
DLooperStub.h81 using CacheEntry = std::vector<Message>; // Messages to process on a given second. variable
82 std::vector<CacheEntry> mCache; // Messages pending to be processed.
DLooperStub.cpp91 mCache.emplace_back(LooperStub::CacheEntry()); in sendMessageAtTime()
/packages/modules/RuntimeI18n/apex/hiddenapi/
Dhiddenapi-max-target-o-low-priority.txt426 Landroid/icu/impl/locale/LocaleObjectCache$CacheEntry;-><init>(Ljava/lang/Object;Ljava/lang/Object;…
427 Landroid/icu/impl/locale/LocaleObjectCache$CacheEntry;->getKey()Ljava/lang/Object;
428 Landroid/icu/impl/locale/LocaleObjectCache$CacheEntry;->_key:Ljava/lang/Object;
/packages/apps/TV/libs/m2/
Dguava-28.0-android.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
Dguava-28.0-jre.jarMETA-INF/MANIFEST.MF META-INF/ META-INF/maven/ META- ...
/packages/apps/TV/libs/
Dgoogle-java-format-1.7-all-deps.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...