Home
last modified time | relevance | path

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

/frameworks/native/opengl/libs/EGL/
DBlobCache.cpp82 CacheEntry cacheEntry(cacheKey, nullptr); in set()
104 mCacheEntries.insert(index, CacheEntry(keyBlob, valueBlob)); in set()
142 CacheEntry cacheEntry(cacheKey, nullptr); in get()
169 for (const CacheEntry& e : mCacheEntries) { in getFlattenedSize()
195 for (const CacheEntry& e : mCacheEntries) { in flatten()
297 const CacheEntry& entry(mCacheEntries[i]); in clean()
338 BlobCache::CacheEntry::CacheEntry() { in CacheEntry() function in android::BlobCache::CacheEntry
341 BlobCache::CacheEntry::CacheEntry( in CacheEntry() function in android::BlobCache::CacheEntry
347 BlobCache::CacheEntry::CacheEntry(const CacheEntry& ce): in CacheEntry() function in android::BlobCache::CacheEntry
352 bool BlobCache::CacheEntry::operator<(const CacheEntry& rhs) const { in operator <()
[all …]
DBlobCache.h156 class CacheEntry {
158 CacheEntry();
159 CacheEntry(const std::shared_ptr<Blob>& key, const std::shared_ptr<Blob>& value);
160 CacheEntry(const CacheEntry& ce);
162 bool operator<(const CacheEntry& rhs) const;
163 const CacheEntry& operator=(const CacheEntry&);
245 std::vector<CacheEntry> mCacheEntries;
/frameworks/ml/nn/driver/cache/BlobCache/
DBlobCache.cpp106 CacheEntry dummyEntry(dummyKey, NULL, 0); in set()
136 mCacheEntries.insert(index, CacheEntry(keyBlob, valueBlob, ++mAccessCount)); in set()
192 CacheEntry dummyEntry(dummyKey, NULL, 0); in get()
222 for (const CacheEntry& e : mCacheEntries) { in getFlattenedSize()
248 for (const CacheEntry& e : mCacheEntries) { in flatten()
349 [](const CacheEntry& a, const CacheEntry& b) { in findVictim()
399 const CacheEntry& entry(mCacheEntries[i]); in clean()
450 BlobCache::CacheEntry::CacheEntry() : mRecency(0) {} in CacheEntry() function in android::BlobCache::CacheEntry
452 BlobCache::CacheEntry::CacheEntry(const std::shared_ptr<Blob>& key, in CacheEntry() function in android::BlobCache::CacheEntry
456 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;
/frameworks/base/telephony/common/com/google/android/mms/util/
DAbstractCache.java32 private final HashMap<K, CacheEntry<V>> mCacheMap;
36 mCacheMap = new HashMap<K, CacheEntry<V>>(); in AbstractCache()
55 CacheEntry<V> cacheEntry = new CacheEntry<V>(); in put()
74 CacheEntry<V> cacheEntry = mCacheMap.get(key); in get()
92 CacheEntry<V> v = mCacheMap.remove(key); in purge()
114 private static class CacheEntry<V> { class in AbstractCache
/frameworks/base/services/core/java/com/android/server/wm/
DTaskSnapshotCache.java38 private final ArrayMap<Integer, CacheEntry> mRunningCache = new ArrayMap<>();
46 final CacheEntry entry = mRunningCache.get(task.mTaskId); in putSnapshot()
52 mRunningCache.put(task.mTaskId, new CacheEntry(snapshot, task.getTopChild())); in putSnapshot()
63 final CacheEntry entry = mRunningCache.get(taskId); in getSnapshot()
112 final CacheEntry entry = mRunningCache.get(taskId); in removeRunningEntry()
124 final CacheEntry entry = mRunningCache.valueAt(i); in dump()
131 private static final class CacheEntry { class in TaskSnapshotCache
139 CacheEntry(TaskSnapshot snapshot, AppWindowToken topApp) { in CacheEntry() method in TaskSnapshotCache.CacheEntry
/frameworks/base/libs/hwui/pipeline/skia/
DVectorDrawableAtlas.h118 struct CacheEntry { struct
119 CacheEntry(const SkRect& newVDrect, const SkRect& newRect, in CacheEntry() argument
141 std::list<CacheEntry>::iterator eraseIt; argument
157 std::list<CacheEntry> mRects;
207 static bool compareCacheEntry(const CacheEntry& first, const CacheEntry& second);
DVectorDrawableAtlas.cpp71 bool VectorDrawableAtlas::compareCacheEntry(const CacheEntry& first, const CacheEntry& second) { in compareCacheEntry()
106 for (CacheEntry& entry : mRects) { in repack()
170 CacheEntry* entry = &(*eraseIt); in requestNewEntry()
185 CacheEntry* entry = &(*eraseIt); in requestNewEntry()
206 CacheEntry* entry = &(*eraseIt); in requestNewEntry()
217 CacheEntry* entry = reinterpret_cast<CacheEntry*>(atlasKey); in getEntry()
239 CacheEntry* entry = reinterpret_cast<CacheEntry*>(atlasKey); in releaseEntry()
/frameworks/base/tools/aapt/
DResourceIdCache.cpp21 struct CacheEntry { struct
26 CacheEntry() {} in CacheEntry() argument
27 CacheEntry(const android::String16& name, uint32_t resId) : hashedName(name), id(resId) { } in CacheEntry() argument
30 static std::map< uint32_t, CacheEntry > mIdMap;
64 std::map<uint32_t, CacheEntry>::iterator item = mIdMap.find(hashcode); in lookup()
92 mIdMap[hashcode] = CacheEntry(hashedName, resId); in store()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhoneCallTracker.java416 private final Map<String, CacheEntry> mPhoneNumAndConnTime = new ConcurrentHashMap<>();
417 private final Queue<CacheEntry> mUnknownPeerConnTime = new LinkedBlockingQueue<>();
419 private static class CacheEntry { class in ImsPhoneCallTracker
430 CacheEntry(long cachedTime, long connectTime, long connectElapsedTime, int callDirection) { in CacheEntry() method in ImsPhoneCallTracker.CacheEntry
1776 CacheEntry cachedConnectTime = new CacheEntry(SystemClock.elapsedRealtime(), in cacheConnectionTimeWithPhoneNumber()
1796 private CacheEntry findConnectionTimeUsePhoneNumber( in findConnectionTimeUsePhoneNumber()
3305 CacheEntry cachedConnectTime = findConnectionTimeUsePhoneNumber(participant);
/frameworks/base/config/
Dpreloaded-classes1758 android.icu.impl.ICUService$CacheEntry
1890 android.icu.impl.locale.LocaleObjectCache$CacheEntry
7533 sun.security.util.MemoryCache$CacheEntry
7613 sun.util.locale.LocaleObjectCache$CacheEntry
Dboot-image-profile.txt31756 …Object;Ljava/lang/Object;JLjava/lang/ref/ReferenceQueue;)Lsun/security/util/MemoryCache$CacheEntry;
32018 HSPLsun/util/locale/LocaleObjectCache$CacheEntry;->getKey()Ljava/lang/Object;
34039 Landroid/icu/impl/ICUService$CacheEntry;
34173 Landroid/icu/impl/locale/LocaleObjectCache$CacheEntry;
40629 Lsun/security/util/MemoryCache$CacheEntry;
40709 Lsun/util/locale/LocaleObjectCache$CacheEntry;
Dhiddenapi-greylist-max-o.txt25806 Landroid/icu/impl/locale/LocaleObjectCache$CacheEntry;-><init>(Ljava/lang/Object;Ljava/lang/Object;…
25807 Landroid/icu/impl/locale/LocaleObjectCache$CacheEntry;->getKey()Ljava/lang/Object;
25808 Landroid/icu/impl/locale/LocaleObjectCache$CacheEntry;->_key:Ljava/lang/Object;
113128 Lsun/util/locale/LocaleObjectCache$CacheEntry;-><init>(Ljava/lang/Object;Ljava/lang/Object;Ljava/la…
113129 Lsun/util/locale/LocaleObjectCache$CacheEntry;->getKey()Ljava/lang/Object;
113130 Lsun/util/locale/LocaleObjectCache$CacheEntry;->key:Ljava/lang/Object;