Home
last modified time | relevance | path

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

/frameworks/native/opengl/libs/EGL/
DBlobCache.h177 class CacheEntry {
179 CacheEntry();
180 CacheEntry(const std::shared_ptr<Blob>& key, const std::shared_ptr<Blob>& value);
181 CacheEntry(const CacheEntry& ce);
183 bool operator<(const CacheEntry& rhs) const;
184 const CacheEntry& operator=(const CacheEntry&);
265 std::vector<CacheEntry> mCacheEntries;
DBlobCache.cpp85 CacheEntry cacheEntry(cacheKey, nullptr); in set()
109 mCacheEntries.insert(index, CacheEntry(keyBlob, valueBlob)); in set()
148 CacheEntry cacheEntry(cacheKey, nullptr); in get()
176 for (const CacheEntry& e : mCacheEntries) { in getFlattenedSize()
202 for (const CacheEntry& e : mCacheEntries) { in flatten()
306 const CacheEntry& entry(mCacheEntries[i]); in clean()
345 BlobCache::CacheEntry::CacheEntry() {} in CacheEntry() function in android::BlobCache::CacheEntry
347 BlobCache::CacheEntry::CacheEntry(const std::shared_ptr<Blob>& key, in CacheEntry() function in android::BlobCache::CacheEntry
351 BlobCache::CacheEntry::CacheEntry(const CacheEntry& ce) : mKey(ce.mKey), mValue(ce.mValue) {} in CacheEntry() function in android::BlobCache::CacheEntry
353 bool BlobCache::CacheEntry::operator<(const CacheEntry& rhs) const { in operator <()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
DWapPushCache.java54 private static final HashMap<String, CacheEntry> sMessageSizes = new LinkedHashMap<>() {
56 protected boolean removeEldestEntry(Entry<String, CacheEntry> eldest) {
88 sMessageSizes.put(Arrays.toString(locationUrl), new CacheEntry(messageSize, expiry)); in putWapMessageSize()
96 sMessageSizes.put(Arrays.toString(joinedKey), new CacheEntry(messageSize, expiry)); in putWapMessageSize()
109 for (Iterator<CacheEntry> it = sMessageSizes.values().iterator(); it.hasNext(); ) { in invalidateOldEntries()
110 CacheEntry entry = it.next(); in invalidateOldEntries()
136 CacheEntry entry = sMessageSizes.get(Arrays.toString(locationUrl)); in getWapMessageSize()
164 private static class CacheEntry { class in WapPushCache
165 CacheEntry(long size, long expiry) { in CacheEntry() method in WapPushCache.CacheEntry
/frameworks/base/telephony/common/com/google/android/mms/util/
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
/frameworks/base/services/core/java/com/android/server/wm/
DSnapshotCache.java39 protected final ArrayMap<Integer, CacheEntry> mRunningCache = new ArrayMap<>();
57 final CacheEntry entry = mRunningCache.get(id); in getSnapshot()
91 final CacheEntry entry = mRunningCache.get(id); in removeRunningEntry()
107 final CacheEntry entry = mRunningCache.valueAt(i); in dump()
115 static final class CacheEntry { class in SnapshotCache
120 CacheEntry(TaskSnapshot snapshot, ActivityRecord topApp) { in CacheEntry() method in SnapshotCache.CacheEntry
DActivitySnapshotCache.java35 final CacheEntry entry = mRunningCache.get(hasCode); in putSnapshot()
41 mRunningCache.put(hasCode, new CacheEntry(snapshot, ar)); in putSnapshot()
DTaskSnapshotCache.java39 final CacheEntry entry = mRunningCache.get(task.mTaskId); in putSnapshot()
46 mRunningCache.put(task.mTaskId, new CacheEntry(snapshot, top)); in putSnapshot()
/frameworks/base/tools/aapt/
DResourceIdCache.cpp21 struct CacheEntry { struct
26 CacheEntry() {} in CacheEntry() function
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/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/cache/
DBaseIconCache.java88 public static class CacheEntry { class in BaseIconCache
105 private final Map<ComponentKey, CacheEntry> mCache;
150 mCache = new AbstractMap<ComponentKey, CacheEntry>() { in BaseIconCache()
152 public Set<Entry<ComponentKey, CacheEntry>> entrySet() { in BaseIconCache()
157 public CacheEntry put(ComponentKey key, CacheEntry value) { in BaseIconCache()
327 CacheEntry entry = null; in addIconToDBAndMemCache()
336 entry = new CacheEntry(); in addIconToDBAndMemCache()
410 protected <T> CacheEntry cacheLocked( in cacheLocked()
425 protected <T> CacheEntry cacheLocked( in cacheLocked()
432 CacheEntry entry = mCache.get(cacheKey); in cacheLocked()
[all …]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/imsphone/
DImsPhoneCallTracker.java723 private final Map<String, CacheEntry> mPhoneNumAndConnTime = new ConcurrentHashMap<>();
724 private final Queue<CacheEntry> mUnknownPeerConnTime = new LinkedBlockingQueue<>();
726 private static class CacheEntry { class in ImsPhoneCallTracker
737 CacheEntry(long cachedTime, long connectTime, long connectElapsedTime, int callDirection) { in CacheEntry() method in ImsPhoneCallTracker.CacheEntry
2455 CacheEntry cachedConnectTime = new CacheEntry(SystemClock.elapsedRealtime(), in cacheConnectionTimeWithPhoneNumber()
2475 private CacheEntry findConnectionTimeUsePhoneNumber( in findConnectionTimeUsePhoneNumber()
4206 CacheEntry cachedConnectTime = findConnectionTimeUsePhoneNumber(participant);
/frameworks/base/config/
Dpreloaded-classes3551 android.icu.impl.ICUService$CacheEntry
3952 android.icu.impl.locale.LocaleObjectCache$CacheEntry
12525 com.android.internal.telephony.imsphone.ImsPhoneCallTracker$CacheEntry
16944 sun.security.util.MemoryCache$CacheEntry
17049 sun.util.locale.LocaleObjectCache$CacheEntry
Dboot-image-profile.txt8713 HSPLandroid/icu/impl/ICUService$CacheEntry;-><init>(Ljava/lang/String;Ljava/lang/Object;)V
9113 HSPLandroid/icu/impl/locale/LocaleObjectCache$CacheEntry;-><init>(Ljava/lang/Object;Ljava/lang/Obje…
9114 HSPLandroid/icu/impl/locale/LocaleObjectCache$CacheEntry;->getKey()Ljava/lang/Object;
32142 …Object;Ljava/lang/Object;JLjava/lang/ref/ReferenceQueue;)Lsun/security/util/MemoryCache$CacheEntry;
32483 HSPLsun/util/locale/LocaleObjectCache$CacheEntry;-><init>(Ljava/lang/Object;Ljava/lang/Object;Ljava…
32484 HSPLsun/util/locale/LocaleObjectCache$CacheEntry;->getKey()Ljava/lang/Object;
36068 Landroid/icu/impl/ICUService$CacheEntry;
36469 Landroid/icu/impl/locale/LocaleObjectCache$CacheEntry;
45095 Lcom/android/internal/telephony/imsphone/ImsPhoneCallTracker$CacheEntry;
49535 Lsun/security/util/MemoryCache$CacheEntry;
[all …]
/frameworks/base/boot/
Dpreloaded-classes3547 android.icu.impl.ICUService$CacheEntry
3948 android.icu.impl.locale.LocaleObjectCache$CacheEntry
12494 com.android.internal.telephony.imsphone.ImsPhoneCallTracker$CacheEntry
Dboot-image-profile.txt8710 HSPLandroid/icu/impl/ICUService$CacheEntry;-><init>(Ljava/lang/String;Ljava/lang/Object;)V
9110 HSPLandroid/icu/impl/locale/LocaleObjectCache$CacheEntry;-><init>(Ljava/lang/Object;Ljava/lang/Obje…
9111 HSPLandroid/icu/impl/locale/LocaleObjectCache$CacheEntry;->getKey()Ljava/lang/Object;
25934 Landroid/icu/impl/ICUService$CacheEntry;
26335 Landroid/icu/impl/locale/LocaleObjectCache$CacheEntry;
34934 Lcom/android/internal/telephony/imsphone/ImsPhoneCallTracker$CacheEntry;