HomeSort by relevance Sort by last modified time
    Searched defs:CacheEntry (Results 1 - 25 of 29) sorted by null

1 2

  /frameworks/base/tools/aapt2/
ResourceTableResolver.h 55 struct CacheEntry {
60 const CacheEntry* buildCacheEntry(const ResourceName& name);
64 std::map<ResourceName, CacheEntry> mCache;
  /frameworks/base/tools/aapt/
ResourceIdCache.cpp 21 struct CacheEntry {
26 CacheEntry() {}
27 CacheEntry(const android::String16& name, uint32_t resId) : hashedName(name), id(resId) { }
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);
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/locale/
LocaleObjectCache.java 14 private ConcurrentHashMap<K, CacheEntry<K, V>> _map;
22 _map = new ConcurrentHashMap<K, CacheEntry<K, V>>(initialCapacity, loadFactor, concurrencyLevel);
29 CacheEntry<K, V> entry = _map.get(key);
41 CacheEntry<K, V> newEntry = new CacheEntry<K, V>(key, newVal, _queue);
59 CacheEntry<K, V> entry;
60 while ((entry = (CacheEntry<K, V>)_queue.poll()) != null) {
71 private static class CacheEntry<K, V> extends SoftReference<V> {
74 CacheEntry(K key, V value, ReferenceQueue<V> queue) {
  /frameworks/opt/telephony/src/java/com/google/android/mms/util/
AbstractCache.java 31 private final HashMap<K, CacheEntry<V>> mCacheMap;
34 mCacheMap = new HashMap<K, CacheEntry<V>>();
52 CacheEntry<V> cacheEntry = new CacheEntry<V>();
53 cacheEntry.value = value;
54 mCacheMap.put(key, cacheEntry);
70 CacheEntry<V> cacheEntry = mCacheMap.get(key);
71 if (cacheEntry != null)
    [all...]
  /packages/apps/Messaging/src/com/android/messaging/mmslib/util/
AbstractCache.java 29 private final SimpleArrayMap<K, CacheEntry<V>> mCacheMap;
32 mCacheMap = new SimpleArrayMap<K, CacheEntry<V>>();
50 CacheEntry<V> cacheEntry = new CacheEntry<V>();
51 cacheEntry.value = value;
52 mCacheMap.put(key, cacheEntry);
68 CacheEntry<V> cacheEntry = mCacheMap.get(key);
69 if (cacheEntry != null)
    [all...]
  /system/core/include/utils/
BlobCache.h 147 // A CacheEntry is a single key/value pair in the cache.
148 class CacheEntry {
150 CacheEntry();
151 CacheEntry(const sp<Blob>& key, const sp<Blob>& value);
152 CacheEntry(const CacheEntry& ce);
154 bool operator<(const CacheEntry& rhs) const;
155 const CacheEntry& operator=(const CacheEntry&);
244 SortedVector<CacheEntry> mCacheEntries
    [all...]
  /external/emma/core/java12/com/vladium/emma/report/
SourcePathCache.java 88 CacheEntry entry = (CacheEntry) m_packageCache.get (packageVMName);
92 entry = new CacheEntry (m_sourcepath.length);
125 private static final class CacheEntry
127 CacheEntry (final int size)
218 private final Map /* packageVMName:String->CacheEntry */ m_packageCache; // never null
  /packages/apps/Email/provider_src/com/android/email/mail/internet/
AuthenticationCache.java 26 private final Map<Long, CacheEntry> mCache;
29 private class CacheEntry {
30 CacheEntry(long accountId, String providerId, String accessToken, String refreshToken,
56 mCache = new HashMap<Long, CacheEntry>();
67 CacheEntry entry = null;
85 CacheEntry entry = getEntry(context, account);
92 private CacheEntry getEntry(Context context, Account account) {
93 CacheEntry entry;
100 entry = new CacheEntry(account.mId, credential.mProviderId, credential.mAccessToken,
109 entry = new CacheEntry(account.mId, credential.mProviderId, credential.mAccessToken
    [all...]
  /external/icu/icu4c/source/common/
serv.cpp 203 class CacheEntry : public UMemory {
214 ~CacheEntry() {
218 CacheEntry(const UnicodeString& _actualDescriptor, UObject* _service)
228 CacheEntry* ref() {
240 CacheEntry* unref() {
261 U_NAMESPACE_USE ((CacheEntry*)obj)->unref();
439 CacheEntry* result = NULL;
490 result = (CacheEntry*)serviceCache->get(currentDescriptor);
509 result = new CacheEntry(currentDescriptor, service);
  /external/llvm/lib/CodeGen/
InterferenceCache.h 172 Entry *CacheEntry;
179 // we don't have to check for E == CacheEntry etc.
180 if (CacheEntry)
181 CacheEntry->addRef(-1);
182 CacheEntry = E;
183 if (CacheEntry)
184 CacheEntry->addRef(+1);
189 Cursor() : CacheEntry(nullptr), Current(nullptr) {}
192 Cursor(const Cursor &O) : CacheEntry(nullptr), Current(nullptr) {
193 setEntry(O.CacheEntry);
    [all...]
  /external/v8/src/
unicode.h 34 struct CacheEntry {
35 inline CacheEntry() : code_point_(0), value_(0) { }
36 inline CacheEntry(uchar code_point, bool value)
44 CacheEntry entries_[kSize];
59 struct CacheEntry {
60 inline CacheEntry() : code_point_(kNoChar), offset_(0) { }
61 inline CacheEntry(uchar code_point, signed offset)
70 CacheEntry entries_[kSize];
  /packages/apps/Launcher2/src/com/android/launcher2/
IconCache.java 45 private static class CacheEntry {
75 private final HashMap<CacheKey, CacheEntry> mCache =
76 new HashMap<CacheKey, CacheEntry>(INITIAL_ICON_CACHE_CAPACITY);
184 CacheEntry entry = cacheLocked(application.componentName, info, labelCache,
205 CacheEntry entry = cacheLocked(component, launcherActInfo, null, user);
217 CacheEntry entry = cacheLocked(component, info, labelCache, info.getUser());
226 private CacheEntry cacheLocked(ComponentName componentName, LauncherActivityInfo info,
229 CacheEntry entry = mCache.get(cacheKey);
231 entry = new CacheEntry();
  /packages/services/Telephony/src/com/android/phone/
CallerInfoCache.java 74 public static class CacheEntry {
77 public CacheEntry(String customRingtone, boolean shouldSendToVoicemail) {
136 * The mapping from number to CacheEntry.
147 private volatile HashMap<String, CacheEntry> mNumberToEntry;
164 mNumberToEntry = new HashMap<String, CacheEntry>();
194 final HashMap<String, CacheEntry> newNumberToEntry =
195 new HashMap<String, CacheEntry>(cursor.getCount());
232 for (Entry<String, CacheEntry> entry : newNumberToEntry.entrySet()) {
259 private void putNewEntryWhenAppropriate(HashMap<String, CacheEntry> newNumberToEntry,
264 final CacheEntry entry = newNumberToEntry.get(numberOrSipAddress)
    [all...]
  /system/core/libutils/
BlobCache.cpp 84 CacheEntry dummyEntry(dummyKey, NULL);
106 mCacheEntries.add(CacheEntry(keyBlob, valueBlob));
144 CacheEntry dummyEntry(dummyKey, NULL);
172 const CacheEntry& e(mCacheEntries[i]);
200 const CacheEntry& e(mCacheEntries[i]);
303 const CacheEntry& entry(mCacheEntries[i]);
344 BlobCache::CacheEntry::CacheEntry() {
347 BlobCache::CacheEntry::CacheEntry(const sp<Blob>& key, const sp<Blob>& value)
    [all...]
  /external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
ICUService.java 394 CacheEntry result = null;
402 Map<String, CacheEntry> cache = null;
403 SoftReference<Map<String, CacheEntry>> cref = cacheref; // copy so we don't need to sync on this
412 cache = Collections.synchronizedMap(new HashMap<String, CacheEntry>());
414 cref = new SoftReference<Map<String, CacheEntry>>(cache);
463 result = new CacheEntry(currentDescriptor, service);
524 private SoftReference<Map<String, CacheEntry>> cacheref;
528 private static final class CacheEntry {
531 CacheEntry(String actualDescriptor, Object service) {
    [all...]
  /packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
FileCache.java 52 private final LruCache<String, CacheEntry> mEntryMap =
53 new LruCache<String, CacheEntry>(LRU_CAPACITY);
62 public static final class CacheEntry {
67 private CacheEntry(long id, String contentUrl, File cacheFile) {
129 public CacheEntry lookup(String downloadUrl) {
131 CacheEntry entry;
146 entry = new CacheEntry(
  /packages/apps/Launcher3/src/com/android/launcher3/
IconCache.java 78 @Thunk static class CacheEntry {
92 private final HashMap<ComponentKey, CacheEntry> mCache =
93 new HashMap<ComponentKey, CacheEntry>(INITIAL_ICON_CACHE_CAPACITY);
373 CacheEntry entry = null;
382 entry = new CacheEntry();
425 private Bitmap getNonNullIcon(CacheEntry entry, UserHandleCompat user) {
435 CacheEntry entry = cacheLocked(application.componentName, info, user,
447 CacheEntry entry = cacheLocked(application.componentName, null, application.user,
469 CacheEntry entry = cacheLocked(component, launcherActInfo, user, true, false /* useLowRes */);
499 CacheEntry entry = cacheLocked(component, info, user, usePkgIcon, useLowResIcon)
    [all...]
  /external/clang/lib/Sema/
SemaExprCXX.cpp     [all...]
  /external/eclipse-basebuilder/basebuilder-3.6.2/org.eclipse.releng.basebuilder/plugins/
org.eclipse.equinox.p2.touchpoint.eclipse_2.0.2.R36x_v20100823.jar 
  /prebuilts/eclipse/mavenplugins/tycho/tycho-dependencies-m2repo/org/eclipse/tycho/tycho-bundles-external/0.20.0/eclipse/plugins/
org.eclipse.equinox.p2.touchpoint.eclipse_2.1.200.v20130327-2119.jar 
  /prebuilts/tools/common/m2/repository/org/eclipse/tycho/tycho-bundles-external/0.18.1/eclipse/plugins/
org.eclipse.equinox.p2.touchpoint.eclipse_2.1.200.v20130327-2119.jar 
  /external/emma/lib/
emma.jar 
  /external/owasp/sanitizer/tools/emma/lib/
emma.jar 
  /prebuilts/devtools/tools/lib/
emma.jar 
emma_device.jar 

Completed in 546 milliseconds

1 2