Searched defs:mCache (Results 1 - 25 of 55) 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 DTextureCache.h128 LruCache<uint32_t, Texture*> mCache; member in class:android::uirenderer::TextureCache
H A DRenderBufferCache.h112 std::multiset<RenderBufferEntry> mCache; member in class:android::uirenderer::RenderBufferCache
/frameworks/native/opengl/tests/EGLTest/
H A Degl_cache_test.cpp36 mCache = egl_cache_t::get();
40 mCache->setCacheFilename("");
41 mCache->terminate();
44 egl_cache_t* mCache; member in class:android::EGLCacheTest
49 mCache->setBlob("abcd", 4, "efgh", 4);
50 ASSERT_EQ(0, mCache->getBlob("abcd", 4, buf, 4));
59 mCache->initialize(egl_display_t::get(EGL_DEFAULT_DISPLAY));
60 mCache->setBlob("abcd", 4, "efgh", 4);
61 ASSERT_EQ(4, mCache->getBlob("abcd", 4, buf, 4));
70 mCache
[all...]
/frameworks/av/include/media/stagefright/
H A DCallbackDataSource.h85 uint8_t mCache[kCacheSize]; member in class:android::TinyCacheSource
H A DNuCachedSource2.h112 PageCache *mCache; member in struct:android::NuCachedSource2
/frameworks/av/media/libstagefright/foundation/include/
H A DCallbackDataSource.h85 uint8_t mCache[kCacheSize]; member in class:android::TinyCacheSource
/frameworks/av/media/libstagefright/include/
H A DCallbackDataSource.h85 uint8_t mCache[kCacheSize]; member in class:android::TinyCacheSource
/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/base/services/tests/servicestests/src/com/android/server/wm/
H A DTaskSnapshotCacheTest.java41 private TaskSnapshotCache mCache; field in class:TaskSnapshotCacheTest
46 mCache = new TaskSnapshotCache(sWm, mLoader);
52 mCache.putSnapshot(window.getTask(), createSnapshot());
53 assertNotNull(mCache.getSnapshot(window.getTask().mTaskId, 0 /* userId */,
55 mCache.onAppRemoved(window.mAppToken);
56 assertNull(mCache.getSnapshot(window.getTask().mTaskId, 0 /* userId */,
63 mCache.putSnapshot(window.getTask(), createSnapshot());
64 assertNotNull(mCache.getSnapshot(window.getTask().mTaskId, 0 /* userId */,
66 mCache.onAppDied(window.mAppToken);
67 assertNull(mCache
[all...]
/frameworks/native/include/binder/
H A DPermissionCache.h55 SortedVector< Entry > mCache; member in class:android::PermissionCache
/frameworks/native/libs/binder/include/binder/
H A DPermissionCache.h55 SortedVector< Entry > mCache; member in class:android::PermissionCache
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/hotspot2/
H A DAnqpCacheTest.java46 AnqpCache mCache; field in class:AnqpCacheTest
56 mCache = new AnqpCache(mClock);
66 mCache.addEntry(ENTRY_KEY, null);
67 ANQPData data = mCache.getEntry(ENTRY_KEY);
79 assertNull(mCache.getEntry(ENTRY_KEY));
89 mCache.addEntry(ENTRY_KEY, null);
94 mCache.sweep();
95 assertNotNull(mCache.getEntry(ENTRY_KEY));
99 mCache.sweep();
100 assertNull(mCache
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/model/
H A DTaskKeyStrongCache.java34 private final ArrayMap<Integer, V> mCache = new ArrayMap<>(); field in class:TaskKeyStrongCache
39 put(key, other.mCache.get(key.id));
56 return mCache.get(id);
61 mCache.put(id, value);
66 mCache.remove(id);
71 mCache.clear();
H A DTaskKeyLruCache.java37 private final LruCache<Integer, V> mCache; field in class:TaskKeyLruCache
46 mCache = new LruCache<Integer, V>(cacheSize) {
60 mCache.trimToSize(cacheSize);
77 return mCache.get(id);
82 mCache.put(id, value);
87 mCache.remove(id);
92 mCache.evictAll();
/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/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;
81 mCache[index] = (byte)value;
93 mCache[index+256] = (byte)value;
105 mCache[index+512] = (byte)value;
117 mCache[index+768] = (byte)value;
143 mTables.copyFromUnchecked(mCache);
[all...]
/frameworks/minikin/libs/minikin/
H A DHbFontCache.cpp34 HbFontCache() : mCache(kMaxEntries) {
35 mCache.setOnEntryRemovedListener(this);
44 return mCache.get(fontId);
48 mCache.put(fontId, font);
52 mCache.clear();
56 mCache.remove(fontId);
62 android::LruCache<int32_t, hb_font_t*> mCache; member in class:minikin::HbFontCache
/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/rs/support/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...]
/frameworks/support/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/
H A DAlbumArtCache.java49 private final LruCache<String, Bitmap[]> mCache; field in class:AlbumArtCache
62 mCache = new LruCache<String, Bitmap[]>(maxSize) {
72 Bitmap[] result = mCache.get(artUrl);
77 Bitmap[] result = mCache.get(artUrl);
86 Bitmap[] bitmap = mCache.get(artUrl);
104 mCache.put(artUrl, bitmaps);
108 Log.d(TAG, "doInBackground: putting bitmap in cache. cache size=" + mCache.size());
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/
H A DAlbumArtCache.java49 private final LruCache<String, Bitmap[]> mCache; field in class:AlbumArtCache
62 mCache = new LruCache<String, Bitmap[]>(maxSize) {
72 Bitmap[] result = mCache.get(artUrl);
77 Bitmap[] result = mCache.get(artUrl);
86 Bitmap[] bitmap = mCache.get(artUrl);
104 mCache.put(artUrl, bitmaps);
108 Log.d(TAG, "doInBackground: putting bitmap in cache. cache size=" + mCache.size());

Completed in 1367 milliseconds

123