Searched defs:CacheEntry (Results 1 - 7 of 7) sorted by relevance

/frameworks/opt/telephony/src/java/com/google/android/mms/util/
H A DAbstractCache.java31 private final HashMap<K, CacheEntry<V>> mCacheMap;
34 mCacheMap = new HashMap<K, CacheEntry<V>>();
52 CacheEntry<V> cacheEntry = new CacheEntry<V>();
70 CacheEntry<V> cacheEntry = mCacheMap.get(key);
87 CacheEntry<V> v = mCacheMap.remove(key);
108 private static class CacheEntry<V> { class in class:AbstractCache
/frameworks/base/tools/aapt/
H A DResourceIdCache.cpp21 struct CacheEntry { struct
26 CacheEntry() {} function in struct:CacheEntry
27 CacheEntry(const android::String16& name, uint32_t resId) : hashedName(name), id(resId) { } function in struct:CacheEntry
30 static std::map< uint32_t, CacheEntry > mIdMap;
64 std::map<uint32_t, CacheEntry>::iterator item = mIdMap.find(hashcode);
92 mIdMap[hashcode] = CacheEntry(hashedName, resId);
/frameworks/native/opengl/libs/EGL/
H A DBlobCache.h151 // A CacheEntry is a single key/value pair in the cache.
152 class CacheEntry { class in class:android::BlobCache
154 CacheEntry();
155 CacheEntry(const std::shared_ptr<Blob>& key, const std::shared_ptr<Blob>& value);
156 CacheEntry(const CacheEntry& ce);
158 bool operator<(const CacheEntry& rhs) const;
159 const CacheEntry& operator=(const CacheEntry&);
241 std::vector<CacheEntry> mCacheEntrie
[all...]
H A DBlobCache.cpp82 CacheEntry dummyEntry(dummyKey, NULL);
104 mCacheEntries.insert(index, CacheEntry(keyBlob, valueBlob));
142 CacheEntry dummyEntry(dummyKey, NULL);
169 for (const CacheEntry& e : mCacheEntries) {
195 for (const CacheEntry& e : mCacheEntries) {
297 const CacheEntry& entry(mCacheEntries[i]);
338 BlobCache::CacheEntry::CacheEntry() { function in class:android::BlobCache::CacheEntry
341 BlobCache::CacheEntry::CacheEntry( function in class:android::BlobCache::CacheEntry
347 BlobCache::CacheEntry::CacheEntry(const CacheEntry& ce): function in class:android::BlobCache::CacheEntry
[all...]
/frameworks/base/libs/hwui/pipeline/skia/
H A DVectorDrawableAtlas.h118 struct CacheEntry { struct in class:android::uirenderer::skiapipeline::VectorDrawableAtlas
119 CacheEntry(const SkRect& newVDrect, const SkRect& newRect, function in struct:android::uirenderer::skiapipeline::VectorDrawableAtlas::CacheEntry
141 std::list<CacheEntry>::iterator eraseIt;
157 std::list<CacheEntry> mRects;
207 static bool compareCacheEntry(const CacheEntry& first, const CacheEntry& second);
/frameworks/base/services/core/java/com/android/server/wm/
H A DTaskSnapshotCache.java38 private final ArrayMap<Integer, CacheEntry> mRunningCache = new ArrayMap<>();
46 final CacheEntry entry = mRunningCache.get(task.mTaskId);
52 mRunningCache.put(task.mTaskId, new CacheEntry(snapshot, task.getTopChild()));
63 final CacheEntry entry = mRunningCache.get(taskId);
112 final CacheEntry entry = mRunningCache.get(taskId);
124 final CacheEntry entry = mRunningCache.valueAt(i);
131 private static final class CacheEntry { class in class:TaskSnapshotCache
139 CacheEntry(TaskSnapshot snapshot, AppWindowToken topApp) { method in class:TaskSnapshotCache.CacheEntry
/frameworks/ml/nn/driver/cache/BlobCache/
H A DBlobCache.h232 // A CacheEntry is a single key/value pair in the cache.
233 class CacheEntry { class in class:android::BlobCache
235 CacheEntry();
236 CacheEntry(const std::shared_ptr<Blob>& key, const std::shared_ptr<Blob>& value, uint32_t recency);
237 CacheEntry(const CacheEntry& ce);
239 bool operator<(const CacheEntry& rhs) const;
240 const CacheEntry& operator=(const CacheEntry&);
349 std::vector<CacheEntry> mCacheEntrie
[all...]

Completed in 118 milliseconds