Home
last modified time | relevance | path

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

12

/aosp12/frameworks/native/opengl/libs/EGL/
H A DBlobCache.cpp82 CacheEntry cacheEntry(cacheKey, nullptr); in set()
104 mCacheEntries.insert(index, CacheEntry(keyBlob, valueBlob)); in set()
142 CacheEntry cacheEntry(cacheKey, nullptr); in get()
170 for (const CacheEntry& e : mCacheEntries) { in getFlattenedSize()
196 for (const CacheEntry& e : mCacheEntries) { in flatten()
296 const CacheEntry& entry(mCacheEntries[i]); in clean()
335 BlobCache::CacheEntry::CacheEntry() {} in CacheEntry() function in android::BlobCache::CacheEntry
337 BlobCache::CacheEntry::CacheEntry(const std::shared_ptr<Blob>& key, in CacheEntry() function in android::BlobCache::CacheEntry
341 BlobCache::CacheEntry::CacheEntry(const CacheEntry& ce) : mKey(ce.mKey), mValue(ce.mValue) {} in CacheEntry() function in android::BlobCache::CacheEntry
343 bool BlobCache::CacheEntry::operator<(const CacheEntry& rhs) const { in operator <()
[all …]
H A DBlobCache.h154 class CacheEntry {
156 CacheEntry();
157 CacheEntry(const std::shared_ptr<Blob>& key, const std::shared_ptr<Blob>& value);
158 CacheEntry(const CacheEntry& ce);
160 bool operator<(const CacheEntry& rhs) const;
161 const CacheEntry& operator=(const CacheEntry&);
242 std::vector<CacheEntry> mCacheEntries;
/aosp12/packages/modules/NeuralNetworks/driver/cache/BlobCache/
H A DBlobCache.cpp108 CacheEntry dummyEntry(dummyKey, NULL, 0); in set()
194 CacheEntry dummyEntry(dummyKey, NULL, 0); in get()
225 for (const CacheEntry& e : mCacheEntries) { in getFlattenedSize()
251 for (const CacheEntry& e : mCacheEntries) { in flatten()
352 [](const CacheEntry& a, const CacheEntry& b) { in findVictim()
402 const CacheEntry& entry(mCacheEntries[i]); in clean()
453 BlobCache::CacheEntry::CacheEntry() : mRecency(0) {} in CacheEntry() function in android::BlobCache::CacheEntry
455 BlobCache::CacheEntry::CacheEntry(const std::shared_ptr<Blob>& key, in CacheEntry() function in android::BlobCache::CacheEntry
459 BlobCache::CacheEntry::CacheEntry(const CacheEntry& ce) in CacheEntry() function in android::BlobCache::CacheEntry
462 bool BlobCache::CacheEntry::operator<(const CacheEntry& rhs) const { in operator <()
[all …]
H A 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;
/aosp12/packages/services/Telephony/src/com/android/phone/
H A DCallerInfoCache.java70 public static class CacheEntry { class in CallerInfoCache
73 public CacheEntry(String customRingtone, boolean shouldSendToVoicemail) { in CacheEntry() method in CallerInfoCache.CacheEntry
143 private volatile HashMap<String, CacheEntry> mNumberToEntry;
160 mNumberToEntry = new HashMap<String, CacheEntry>(); in CallerInfoCache()
190 final HashMap<String, CacheEntry> newNumberToEntry = in refreshCacheEntry()
191 new HashMap<String, CacheEntry>(cursor.getCount()); in refreshCacheEntry()
260 final CacheEntry entry = newNumberToEntry.get(numberOrSipAddress); in putNewEntryWhenAppropriate()
263 new CacheEntry(customRingtone, sendToVoicemail)); in putNewEntryWhenAppropriate()
267 new CacheEntry(customRingtone, sendToVoicemail)); in putNewEntryWhenAppropriate()
279 public CacheEntry getCacheEntry(String number) { in getCacheEntry()
[all …]
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/util/
H A DViewCache.java29 protected final SparseArray<CacheEntry> mCache = new SparseArray();
32 mCache.put(layoutId, new CacheEntry(size)); in setCacheSize()
36 CacheEntry entry = mCache.get(layoutId); in getView()
38 entry = new CacheEntry(1); in getView()
53 CacheEntry entry = mCache.get(layoutId); in recycleView()
60 private static class CacheEntry { class in ViewCache
67 public CacheEntry(int maxSize) { in CacheEntry() method in ViewCache.CacheEntry
/aosp12/packages/apps/Messaging/src/com/android/messaging/mmslib/util/
H A 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
/aosp12/frameworks/base/services/core/java/com/android/server/wm/
H A DTaskSnapshotCache.java35 private final ArrayMap<Integer, CacheEntry> mRunningCache = new ArrayMap<>();
47 final CacheEntry entry = mRunningCache.get(task.mTaskId); in putSnapshot()
53 mRunningCache.put(task.mTaskId, new CacheEntry(snapshot, top)); in putSnapshot()
64 final CacheEntry entry = mRunningCache.get(taskId); in getSnapshot()
113 final CacheEntry entry = mRunningCache.get(taskId); in removeRunningEntry()
125 final CacheEntry entry = mRunningCache.valueAt(i); in dump()
132 private static final class CacheEntry { class in TaskSnapshotCache
140 CacheEntry(TaskSnapshot snapshot, ActivityRecord topApp) { in CacheEntry() method in TaskSnapshotCache.CacheEntry
/aosp12/frameworks/base/telephony/common/com/google/android/mms/util/
H A DAbstractCache.java33 private final HashMap<K, CacheEntry<V>> mCacheMap;
37 mCacheMap = new HashMap<K, CacheEntry<V>>(); in AbstractCache()
56 CacheEntry<V> cacheEntry = new CacheEntry<V>(); in put()
75 CacheEntry<V> cacheEntry = mCacheMap.get(key); in get()
93 CacheEntry<V> v = mCacheMap.remove(key); in purge()
115 private static class CacheEntry<V> { class in AbstractCache
/aosp12/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/cache/
H A DBaseIconCache.java73 public static class CacheEntry { class in BaseIconCache
116 public CacheEntry put(ComponentKey key, CacheEntry value) { in BaseIconCache()
252 CacheEntry entry = null; in addIconToDBAndMemCache()
261 entry = new CacheEntry(); in addIconToDBAndMemCache()
313 protected <T> CacheEntry cacheLocked( in cacheLocked()
327 protected <T> CacheEntry cacheLocked( in cacheLocked()
333 CacheEntry entry = mCache.get(cacheKey); in cacheLocked()
335 entry = new CacheEntry(); in cacheLocked()
401 CacheEntry entry = mCache.get(cacheKey); in cachePackageInstallInfo()
405 entry = new CacheEntry(); in cachePackageInstallInfo()
[all …]
/aosp12/frameworks/base/tools/aapt/
H A 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() function
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()
/aosp12/packages/modules/DnsResolver/tests/
H A Dresolv_cache_unit_test.cpp52 struct CacheEntry { struct
157 const CacheEntry& ce, uint32_t flags = 0) { in cacheLookup()
186 int cacheAdd(uint32_t netId, const CacheEntry& ce) { in cacheAdd()
199 void cacheQueryFailed(uint32_t netId, const CacheEntry& ce, uint32_t flags) { in cacheQueryFailed()
257 CacheEntry ce; in makeCacheEntry()
290 CacheEntry ce = makeCacheEntry(QUERY, "valid.cache", ns_c_in, ns_t_a, "1.2.3.4"); in TEST_F()
451 CacheEntry ce = makeCacheEntry(QUERY, "query.deferred", ns_c_in, ns_t_a, "1.2.3.4"); in TEST_F()
496 CacheEntry ce = makeCacheEntry(QUERY, "query.failed", ns_c_in, ns_t_a, "1.2.3.4"); in TEST_F()
527 CacheEntry ce = makeCacheEntry(QUERY, "query.failed", ns_c_in, ns_t_a, "1.2.3.4"); in TEST_F()
562 std::vector<CacheEntry> ces; in TEST_F()
[all …]
/aosp12/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
H A 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()
/aosp12/packages/services/Car/cpp/watchdog/server/tests/
H A DLooperStub.h77 using CacheEntry = std::vector<Message>; // Messages to process on a given second. variable
78 std::vector<CacheEntry> mCache; // Messages pending to be processed.
H A DLooperStub.cpp83 mCache.emplace_back(LooperStub::CacheEntry()); in sendMessageAtTime()
/aosp12/packages/apps/Launcher3/src/com/android/launcher3/icons/
H A DIconCache.java198 CacheEntry entry = cacheLocked(application.componentName, in updateTitleAndIcon()
306 CacheEntry entry = cacheLocked(info.getComponent(), info.getUser(), () -> info, in getTitleNoCache()
319 CacheEntry entry = cacheLocked(infoInOut.getTargetComponent(), infoInOut.user, in getTitleAndIcon()
383 CacheEntry entry = cacheLocked( in getTitlesAndIconsInBulk()
412 CacheEntry entry = getEntryForPackageLocked( in getTitleAndIconForApp()
424 protected void applyCacheEntry(CacheEntry entry, ItemInfoWithIcon info) { in applyCacheEntry()
/aosp12/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/inc/
H A DIPACM_Conntrack_NATApp.h126 void CacheEntry(const nat_table_entry *);
/aosp12/hardware/qcom/sdm845/data/ipacfg-mgr/ipacm/inc/
H A DIPACM_Conntrack_NATApp.h127 void CacheEntry(const nat_table_entry *);
/aosp12/hardware/qcom/sm8150/data/ipacfg-mgr/ipacm/inc/
H A DIPACM_Conntrack_NATApp.h137 void CacheEntry(const nat_table_entry *);
/aosp12/build/soong/finder/
H A Dfinder.go446 type CacheEntry []PersistedDirs type
663 cacheEntry := CacheEntry{}
701 var cacheEntry CacheEntry
/aosp12/hardware/qcom/data/ipacfg-mgr/msm8998/ipacm/src/
H A DIPACM_ConntrackListener.cpp815 nat_inst->CacheEntry(input->rule); in AddORDeleteNatEntry()
850 nat_inst->CacheEntry(input->rule); in AddORDeleteNatEntry()
H A DIPACM_Conntrack_NATApp.cpp918 void NatApp::CacheEntry(const nat_table_entry *rule) in CacheEntry() function in NatApp
/aosp12/hardware/qcom/sdm845/data/ipacfg-mgr/ipacm/src/
H A DIPACM_ConntrackListener.cpp806 nat_inst->CacheEntry(input->rule); in AddORDeleteNatEntry()
841 nat_inst->CacheEntry(input->rule); in AddORDeleteNatEntry()
/aosp12/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
H A DImsPhoneCallTracker.java469 private final Map<String, CacheEntry> mPhoneNumAndConnTime = new ConcurrentHashMap<>();
470 private final Queue<CacheEntry> mUnknownPeerConnTime = new LinkedBlockingQueue<>();
472 private static class CacheEntry { class in ImsPhoneCallTracker
483 CacheEntry(long cachedTime, long connectTime, long connectElapsedTime, int callDirection) { in CacheEntry() method in ImsPhoneCallTracker.CacheEntry
1967 CacheEntry cachedConnectTime = new CacheEntry(SystemClock.elapsedRealtime(), in cacheConnectionTimeWithPhoneNumber()
1987 private CacheEntry findConnectionTimeUsePhoneNumber( in findConnectionTimeUsePhoneNumber()
3561 CacheEntry cachedConnectTime = findConnectionTimeUsePhoneNumber(participant);
/aosp12/hardware/qcom/sm8150/data/ipacfg-mgr/ipacm/src/
H A DIPACM_ConntrackListener.cpp829 nat_inst->CacheEntry(input->rule); in AddORDeleteNatEntry()
864 nat_inst->CacheEntry(input->rule); in AddORDeleteNatEntry()

12