/frameworks/native/opengl/tests/EGLTest/ |
H A D | egl_cache_test.cpp | 32 mCache = egl_cache_t::get(); 36 mCache->setCacheFilename(""); 37 mCache->terminate(); 40 egl_cache_t* mCache; member in class:android::EGLCacheTest 45 mCache->setBlob("abcd", 4, "efgh", 4); 46 ASSERT_EQ(0, mCache->getBlob("abcd", 4, buf, 4)); 55 mCache->initialize(egl_display_t::get(EGL_DEFAULT_DISPLAY)); 56 mCache->setBlob("abcd", 4, "efgh", 4); 57 ASSERT_EQ(4, mCache->getBlob("abcd", 4, buf, 4)); 66 mCache [all...] |
/frameworks/base/libs/hwui/ |
H A D | FboCache.cpp | 51 return mCache.size(); 63 for (size_t i = 0; i < mCache.size(); i++) { 64 const GLuint fbo = mCache.itemAt(i); 67 mCache.clear(); 72 if (mCache.size() > 0) { 73 fbo = mCache.itemAt(mCache.size() - 1); 74 mCache.removeAt(mCache.size() - 1); 82 if (mCache [all...] |
H A D | PatchCache.cpp | 46 size_t count = mCache.size(); 48 delete mCache.valueAt(i); 50 mCache.clear(); 78 ssize_t index = mCache.indexOfKey(description); 81 mesh = mCache.valueAt(index); 94 if (mCache.size() >= mMaxEntries) { 95 delete mCache.valueAt(mCache.size() - 1); 96 mCache.removeItemsAt(mCache [all...] |
H A D | ResourceCache.cpp | 30 for (size_t i = 0; i < mCache->size(); ++i) { 31 ResourceReference* ref = mCache->valueAt(i); 32 ALOGD(" ResourceCache: mCache(%d): resource, ref = 0x%p, 0x%p", 33 i, mCache->keyAt(i), mCache->valueAt(i)); 34 ALOGD(" ResourceCache: mCache(%d): refCount, recycled, destroyed, type = %d, %d, %d, %d", 41 mCache = new KeyedVector<void *, ResourceReference *>(); 46 delete mCache; 51 ResourceReference* ref = mCache->indexOfKey(resource) >= 0 ? mCache [all...] |
H A D | TextDropShadowCache.cpp | 31 mCache(GenerationCache<ShadowText, ShadowTexture*>::kUnlimitedCapacity), 46 mCache(GenerationCache<ShadowText, ShadowTexture*>::kUnlimitedCapacity), 52 mCache.clear(); 56 mCache.setOnEntryRemovedListener(this); 75 mCache.removeOldest(); 101 mCache.clear(); 107 ShadowTexture* texture = mCache.get(entry); 127 mCache.removeOldest(); 151 mCache.put(entry, texture);
|
H A D | LayerCache.cpp | 85 size_t count = mCache.size(); 87 deleteLayer(mCache.itemAt(i).mLayer); 89 mCache.clear(); 96 ssize_t index = mCache.indexOf(entry); 99 entry = mCache.itemAt(index); 100 mCache.removeAt(index); 129 size_t size = mCache.size(); 131 const LayerEntry& entry = mCache.itemAt(i); 171 position = mCache.size() - 1; 173 Layer* victim = mCache [all...] |
H A D | PathCache.cpp | 60 for (size_t i = 0; i < mCache.size(); i++) { 61 if (mCache.getKeyAt(i).path == path) { 63 removeTexture(mCache.getValueAt(i)); 67 mCache.setOnEntryRemovedListener(NULL); 71 mCache.removeAt(pathsToRemove.itemAt(i) - i); 73 mCache.setOnEntryRemovedListener(this); 97 PathTexture* texture = mCache.get(entry); 105 mCache.remove(entry);
|
H A D | GradientCache.cpp | 38 mCache(GenerationCache<GradientCacheEntry, Texture*>::kUnlimitedCapacity), 48 mCache.setOnEntryRemovedListener(this); 52 mCache(GenerationCache<GradientCacheEntry, Texture*>::kUnlimitedCapacity), 54 mCache.setOnEntryRemovedListener(this); 58 mCache.clear(); 76 mCache.removeOldest(); 104 Texture* texture = mCache.get(gradient); 114 mCache.clear(); 142 mCache.removeOldest(); 149 mCache [all...] |
H A D | TextureCache.cpp | 36 mCache(GenerationCache<SkBitmap*, Texture*>::kUnlimitedCapacity), 60 mCache(GenerationCache<SkBitmap*, Texture*>::kUnlimitedCapacity), 66 mCache.clear(); 70 mCache.setOnEntryRemovedListener(this); 93 mCache.removeOldest(); 124 Texture* texture = mCache.get(bitmap); 137 mCache.removeOldest(); 152 mCache.put(bitmap, texture); 174 mCache.remove(bitmap); 186 mCache [all...] |
H A D | FboCache.h | 72 SortedVector<GLuint> mCache; member in class:android::uirenderer::FboCache
|
H A D | PatchCache.h | 57 return mCache.size(); 115 KeyedVector<PatchDescription, Patch*> mCache; member in class:android::uirenderer::PatchCache
|
H A D | ProgramCache.h | 70 KeyedVector<programid, Program*> mCache; member in class:android::uirenderer::ProgramCache
|
H A D | LayerCache.h | 138 SortedList<LayerEntry> mCache; member in class:android::uirenderer::LayerCache
|
H A D | ResourceCache.h | 55 KeyedVector<void *, ResourceReference *>* mCache; member in class:android::uirenderer::ResourceCache
|
/frameworks/support/volley/src/com/android/volley/toolbox/ |
H A D | ClearCacheRequest.java | 31 private final Cache mCache; field in class:ClearCacheRequest 42 mCache = cache; 49 mCache.clear();
|
/frameworks/support/volley/tests/src/com/android/volley/ |
H A D | NetworkDispatcherTest.java | 37 private MockCache mCache; field in class:NetworkDispatcherTest 50 mCache = new MockCache(); 52 mDispatcher = new NetworkDispatcher(mNetworkQueue, mNetwork, mCache, mDelivery); 88 assertFalse(mCache.putCalled); 97 assertTrue(mCache.putCalled); 98 assertNotNull(mCache.entryPut); 99 assertTrue(Arrays.equals(mCache.entryPut.data, CANNED_DATA)); 100 assertEquals("bananaphone", mCache.keyPut);
|
H A D | CacheDispatcherTest.java | 35 private MockCache mCache; field in class:CacheDispatcherTest 47 mCache = new MockCache(); 52 mDispatcher = new CacheDispatcher(mCacheQueue, mNetworkQueue, mCache, mDelivery); 68 assertFalse(mCache.getCalled); 85 mCache.setEntryToReturn(entry); 95 mCache.setEntryToReturn(entry); 108 mCache.setEntryToReturn(entry);
|
/frameworks/support/volley/src/com/android/volley/ |
H A D | CacheDispatcher.java | 42 private final Cache mCache; field in class:CacheDispatcher 64 mCache = cache; 82 mCache.initialize(); 98 Cache.Entry entry = mCache.get(request.getCacheKey());
|
H A D | NetworkDispatcher.java | 36 private final Cache mCache; field in class:NetworkDispatcher 56 mCache = cache; 112 mCache.put(request.getCacheKey(), response.cacheEntry);
|
/frameworks/native/include/utils/ |
H A D | GenerationCache.h | 81 KeyedVector<K, sp<Entry<K, V> > > mCache; member in class:android::GenerationCache 107 return mCache.size(); 122 for (uint32_t i = 0; i < mCache.size(); i++) { 123 sp<Entry<K, V> > entry = mCache.valueAt(i); 129 mCache.clear(); 136 return mCache.indexOfKey(key) >= 0; 141 return mCache.keyAt(index); 146 return mCache.valueAt(index)->value; 151 ssize_t index = mCache.indexOfKey(key); 153 const sp<Entry<K, V> >& entry = mCache [all...] |
/frameworks/native/libs/binder/ |
H A D | PermissionCache.cpp | 43 ssize_t index = mCache.indexOf(e); 45 *granted = mCache.itemAt(index).granted; 66 index = mCache.indexOf(e); 68 mCache.add(e); 74 mCache.clear();
|
/frameworks/av/media/libstagefright/ |
H A D | NuCachedSource2.cpp | 187 mCache(new PageCache(kPageSize)), 226 delete mCache; 227 mCache = NULL; 297 mSource->reconnectAtOffset(mCacheOffset + mCache->totalSize()); 312 PageCache::Page *page = mCache->acquirePage(); 315 mCacheOffset + mCache->totalSize(), page->mData, kPageSize); 322 mCache->releasePage(page); 329 mCache->releasePage(page); 338 mCache->appendPage(page); 365 if (mFetching && mCache [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | RemoteViewsAdapter.java | 70 private FixedSizeRemoteViewsCache mCache; field in class:RemoteViewsAdapter 192 synchronized (adapter.mCache) { 193 adapter.mCache.commitTemporaryMetaData(); 400 synchronized (mCache) { 741 mCache = new FixedSizeRemoteViewsCache(sDefaultCacheSize); 766 synchronized (mCache) { 767 int[] res = mCache.getNextIndexToLoad(); 791 final RemoteViewsMetaData metaData = mCache.getMetaData(); 795 synchronized (mCache) { 796 mCache [all...] |
/frameworks/base/core/java/android/emoji/ |
H A D | EmojiFactory.java | 60 private Map<Integer, WeakReference<Bitmap>> mCache; field in class:EmojiFactory 74 mCache = new CustomLinkedHashMap<Integer, WeakReference<Bitmap>>(); 102 WeakReference<Bitmap> cache = mCache.get(pua); 109 mCache.put(pua, new WeakReference<Bitmap>(ret)); 116 mCache.put(pua, new WeakReference<Bitmap>(ret));
|
/frameworks/native/include/binder/ |
H A D | PermissionCache.h | 54 SortedVector< Entry > mCache; member in class:android::PermissionCache
|