Searched defs:mCache (Results 1 - 25 of 51) sorted by last modified time

123

/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...]
/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);
H A DRequestQueue.java83 private final Cache mCache; field in class:RequestQueue
110 mCache = cache;
144 mCacheDispatcher = new CacheDispatcher(mCacheQueue, mNetworkQueue, mCache, mDelivery);
150 mCache, mDelivery);
181 return mCache;
/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();
H A DImageLoader.java50 private final ImageCache mCache; field in class:ImageLoader
86 mCache = imageCache;
169 return mCache.getBitmap(cacheKey) != null;
216 Bitmap cachedBitmap = mCache.getBitmap(cacheKey);
281 mCache.putBitmap(cacheKey, response);
/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/rs/cpp/
H A DrsCppStructs.h4090 unsigned char mCache[1024]; member in class:android::RSC::ScriptIntrinsicLUT
/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/opt/setupwizard/tools/docs/
H A Ddoclava.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/ccil/ org/ccil/cowan/ org/ccil/cowan/tagsoup/ ...
/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/native/services/surfaceflinger/RenderEngine/
H A DProgramCache.h128 DefaultKeyedVector<Key, Program*> mCache; member in class:android::ProgramCache
/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 DDecodeTask.java55 private final BitmapCache mCache; field in class:DecodeTask
104 mCache = cache;
144 mInBitmap = mCache.poll();
190 mCache.offer(mInBitmap);
261 + mCache.toDebugString());
377 mCache.offer(mInBitmap);
446 mCache.put(mKey, result);
459 mCache.offer(mInBitmap);
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/bitmap/src/com/android/bitmap/drawable/
H A DBasicBitmapDrawable.java67 private final BitmapCache mCache; field in class:BasicBitmapDrawable
99 mCache = cache;
244 final ReusableBitmap cached = mCache.get(key, true /* incrementRefCount */);
254 "CACHE MISS key=%s\ncache=%s", mCurrKey, mCache.toDebugString()));
334 mTask = new DecodeTask(mCurrKey, opts, factory, this, mCache);
/frameworks/minikin/libs/minikin/
H A DHbFontCache.cpp49 HbFontCache() : mCache(kMaxEntries) {
50 mCache.setOnEntryRemovedListener(this);
59 return mCache.get(fontId);
63 mCache.put(fontId, font);
67 mCache.clear();
71 mCache.remove(fontId);
77 LruCache<int32_t, hb_font_t*> mCache; member in class:android::HbFontCache
H A DLayout.cpp167 LayoutCache() : mCache(kMaxEntries) {
168 mCache.setOnEntryRemovedListener(this);
172 mCache.clear();
176 Layout* layout = mCache.get(key);
181 mCache.put(key, layout);
193 LruCache<LayoutCacheKey, Layout*> mCache; member in class:android::LayoutCache
/frameworks/base/services/core/java/com/android/server/
H A DLockSettingsStorage.java72 private final Cache mCache = new Cache(); field in class:LockSettingsStorage
124 mCache.putKeyValue(key, value, userId);
133 synchronized (mCache) {
134 if (mCache.hasKeyValue(key, userId)) {
135 return mCache.peekKeyValue(key, defaultValue, userId);
137 version = mCache.getVersion();
152 mCache.putKeyValueIfUnchanged(key, result, userId, version);
158 synchronized (mCache) {
159 if (mCache.isFetched(userId)) {
162 mCache
530 private final ArrayMap<CacheKey, Object> mCache = new ArrayMap<>(); field in class:LockSettingsStorage.Cache
[all...]
/frameworks/base/services/core/java/com/android/server/content/
H A DContentService.java106 synchronized (mService.mCache) {
107 mService.mCache.remove(userHandle);
125 @GuardedBy("mCache")
127 mCache = new SparseArray<>(); field in class:ContentService
132 synchronized (mCache) {
134 mCache.clear();
215 synchronized (mCache) {
219 for (int i = 0; i < mCache.size(); i++) {
220 pw.println("User " + mCache.keyAt(i) + ":");
222 pw.println(mCache
[all...]
/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/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DFrameManager.java58 private BackingCache mCache; field in class:FrameManager
294 mCache.setSize(bytes);
303 return mCache.getSize();
380 mCache.clear();
396 mCache = new BackingCacheNone();
399 mCache = new BackingCacheLru();
402 mCache = new BackingCacheLfu();
410 return mCache.fetchBacking(mode, access, dimensions, elemSize);
421 if (!backing.shouldCache() || !mCache.cacheBacking(backing)) {
424 //Log.i("FrameManager", "RM: Now have " + mBackings.size() + " backings (" + 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

Completed in 450 milliseconds

123