Searched defs:mCache (Results 1 - 25 of 51) sorted by relevance

123

/frameworks/base/libs/hwui/
H A DFboCache.h72 SortedVector<GLuint> mCache; member in class:android::uirenderer::FboCache
H A DProgramCache.h59 std::map<programid, std::unique_ptr<Program>> mCache; member in class:android::uirenderer::ProgramCache
H A DResourceCache.h97 KeyedVector<const void*, ResourceReference*>* mCache; member in class:android::uirenderer::ResourceCache
H A DLayerCache.h133 std::multiset<LayerEntry> mCache; member in class:android::uirenderer::LayerCache
H A DRenderBufferCache.h112 std::multiset<RenderBufferEntry> mCache; member in class:android::uirenderer::RenderBufferCache
H A DTextureCache.h139 LruCache<uint32_t, Texture*> mCache; member in class:android::uirenderer::TextureCache
H A DGradientCache.h173 LruCache<GradientCacheEntry, Texture*> mCache; member in class:android::uirenderer::GradientCache
/frameworks/av/media/libstagefright/include/
H A DCallbackDataSource.h83 uint8_t mCache[kCacheSize]; member in class:android::TinyCacheSource
H A DNuCachedSource2.h112 PageCache *mCache; member in struct:android::NuCachedSource2
/frameworks/base/services/core/java/com/android/server/hdmi/
H A DHdmiCecMessageCache.java39 private final SparseArray<SparseArray<HdmiCecMessage>> mCache = new SparseArray<>(); field in class:HdmiCecMessageCache
54 SparseArray<HdmiCecMessage> messages = mCache.get(address);
68 mCache.remove(address);
75 mCache.clear();
91 SparseArray<HdmiCecMessage> messages = mCache.get(source);
94 mCache.put(source, messages);
/frameworks/native/include/binder/
H A DPermissionCache.h55 SortedVector< Entry > mCache; member in class:android::PermissionCache
/frameworks/native/opengl/tests/EGLTest/
H A Degl_cache_test.cpp32 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/volley/src/main/java/com/android/volley/
H A DCacheDispatcher.java43 private final Cache mCache; field in class:CacheDispatcher
65 mCache = cache;
84 mCache.initialize();
100 Cache.Entry entry = mCache.get(request.getCacheKey());
H A DNetworkDispatcher.java41 private final Cache mCache; field in class:NetworkDispatcher
61 mCache = cache;
129 mCache.put(request.getCacheKey(), response.cacheEntry);
/frameworks/volley/src/main/java/com/android/volley/toolbox/
H A DClearCacheRequest.java31 private final Cache mCache; field in class:ClearCacheRequest
42 mCache = cache;
49 mCache.clear();
/frameworks/volley/src/test/java/com/android/volley/
H A DCacheDispatcherTest.java39 private MockCache mCache; field in class:CacheDispatcherTest
48 mCache = new MockCache();
53 mDispatcher = new CacheDispatcher(mCacheQueue, mNetworkQueue, mCache, mDelivery);
67 assertFalse(mCache.getCalled);
84 mCache.setEntryToReturn(entry);
94 mCache.setEntryToReturn(entry);
107 mCache.setEntryToReturn(entry);
H A DNetworkDispatcherTest.java40 private MockCache mCache; field in class:NetworkDispatcherTest
50 mCache = new MockCache();
52 mDispatcher = new NetworkDispatcher(mNetworkQueue, mNetwork, mCache, mDelivery);
86 assertFalse(mCache.putCalled);
95 assertTrue(mCache.putCalled);
96 assertNotNull(mCache.entryPut);
97 assertTrue(Arrays.equals(mCache.entryPut.data, CANNED_DATA));
98 assertEquals("bananaphone", mCache.keyPut);
/frameworks/base/core/tests/coretests/src/android/content/res/
H A DConfigurationBoundResourceCacheTest.java30 ConfigurationBoundResourceCache<Float> mCache; field in class:ConfigurationBoundResourceCacheTest
39 mCache = new ConfigurationBoundResourceCache<>();
45 assertNull(mCache.getInstance(-1, res, null));
50 mCache.put(1, null, new DummyFloatConstantState(5f));
52 assertEquals(5f, mCache.getInstance(1, res, null));
53 assertNotSame(5f, mCache.getInstance(1, res, null));
54 assertEquals(null, mCache.getInstance(1, res, getActivity().getTheme()));
59 mCache.put(1, getActivity().getTheme(), new DummyFloatConstantState(5f));
61 assertEquals(null, mCache.getInstance(1, res, null));
62 assertEquals(5f, mCache
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/
H A DTaskKeyLruCache.java43 private final LruCache<Integer, V> mCache; field in class:TaskKeyLruCache
52 mCache = new LruCache<Integer, V>(cacheSize) {
69 return mCache.get(key.id);
89 return mCache.get(key.id);
99 mCache.put(key.id, value);
105 mCache.remove(key.id);
111 mCache.evictAll();
117 mCache.trimToSize(cacheSize);
/frameworks/base/rs/java/android/renderscript/
H A DScriptIntrinsicLUT.java28 private final byte mCache[] = new byte[1024]; field in class:ScriptIntrinsicLUT
35 mCache[ct] = (byte)ct;
36 mCache[ct + 256] = (byte)ct;
37 mCache[ct + 512] = (byte)ct;
38 mCache[ct + 768] = (byte)ct;
77 mCache[index] = (byte)value;
89 mCache[index+256] = (byte)value;
101 mCache[index+512] = (byte)value;
113 mCache[index+768] = (byte)value;
139 mTables.copyFromUnchecked(mCache);
[all...]
/frameworks/base/tools/aapt2/process/
H A DSymbolTable.h78 SymbolTable() : mCache(200), mIdCache(200) {
102 android::LruCache<ResourceName, std::shared_ptr<Symbol>> mCache; member in class:aapt::SymbolTable
/frameworks/opt/bitmap/sample/src/com/example/bitmapsample/
H A DMainActivity.java38 private final BitmapCache mCache = new UnrefedBitmapCache(TARGET_CACHE_SIZE_BYTES, 0, 0); field in class:MainActivity
119 mCache, true /* limit density */, opts);
/frameworks/opt/bitmap/src/com/android/bitmap/
H A DUnrefedPooledCache.java46 private final LinkedHashMap<K, V> mCache; field in class:UnrefedPooledCache
60 mCache = new LinkedHashMap<K, V>(0, 0.75f, true);
74 synchronized (mCache) {
75 V result = mCache.get(key);
95 synchronized (mCache) {
98 prev = mCache.put(key, value);
129 synchronized (mCache) {
132 for (Map.Entry<K, V> entry : mCache.entrySet()) {
155 mCache.remove(eldestUnref.getKey());
175 synchronized (mCache) {
[all...]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
H A DAnqpCacheTest.java117 mCache.clear(false, true);
127 AnqpCache mCache; field in class:AnqpCacheTest
134 AnqpCache cache = mCache = new AnqpCache(mClock);
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
H A DScriptIntrinsicLUT.java30 private final byte mCache[] = new byte[1024]; field in class:ScriptIntrinsicLUT
60 si.mCache[ct] = (byte)ct;
61 si.mCache[ct + 256] = (byte)ct;
62 si.mCache[ct + 512] = (byte)ct;
63 si.mCache[ct + 768] = (byte)ct;
87 mCache[index] = (byte)value;
99 mCache[index+256] = (byte)value;
111 mCache[index+512] = (byte)value;
123 mCache[index+768] = (byte)value;
138 mTables.copyFromUnchecked(mCache);
[all...]

Completed in 524 milliseconds

123