Searched refs:mCache (Results 26 - 50 of 72) sorted by relevance

123

/frameworks/base/libs/hwui/
H A DTextDropShadowCache.cpp100 : mCache(LruCache<ShadowText, ShadowTexture*>::kUnlimitedCapacity)
103 mCache.setOnEntryRemovedListener(this);
108 mCache.clear();
145 mCache.clear();
151 ShadowTexture* texture = mCache.get(entry);
176 LOG_ALWAYS_FATAL_IF(!mCache.removeOldest(),
178 PRIu32 ", mCache.size() = %zu", mSize, mCache.size());
196 mCache.put(entry, texture);
H A DPatchCache.cpp37 , mCache(LruCache<PatchDescription, Patch*>::kUnlimitedCapacity)
74 LruCache<PatchDescription, Patch*>::Iterator i(mCache);
78 mCache.clear();
90 LruCache<PatchDescription, Patch*>::Iterator i(mCache);
144 mCache.remove(*pair.getFirst());
230 const Patch* mesh = mCache.get(description);
244 mCache.put(description, newMesh);
H A DPathCache.cpp180 : mCache(LruCache<PathDescription, PathTexture*>::kUnlimitedCapacity)
183 mCache.setOnEntryRemovedListener(this);
193 mCache.clear();
256 mCache.removeOldest();
267 while (mSize > mMaxSize || mCache.size() > DEFAULT_PATH_TEXTURE_CAP) {
268 LOG_ALWAYS_FATAL_IF(!mCache.size(), "Inconsistent mSize! Ran out of items to remove!"
270 mCache.removeOldest();
295 // Such an entry in mCache will only be temporary, since it will be evicted
305 mCache.put(entry, texture);
310 mCache
[all...]
H A DProgramCache.h59 std::map<programid, std::unique_ptr<Program>> mCache; member in class:android::uirenderer::ProgramCache
H A DGradientCache.cpp66 : mCache(LruCache<GradientCacheEntry, Texture*>::kUnlimitedCapacity)
74 mCache.setOnEntryRemovedListener(this);
78 mCache.clear();
111 Texture* texture = mCache.get(gradient);
121 mCache.clear();
160 LOG_ALWAYS_FATAL_IF(!mCache.removeOldest(),
173 mCache.put(gradient, texture);
H A DRenderBufferCache.h112 std::multiset<RenderBufferEntry> mCache; member in class:android::uirenderer::RenderBufferCache
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 DTessellationCache.cpp294 , mCache(LruCache<Description, Buffer*>::kUnlimitedCapacity)
296 mCache.setOnEntryRemovedListener(&mBufferRemovedListener);
302 mCache.clear();
310 LruCache<Description, Buffer*>::Iterator iter(mCache);
330 size -= mCache.peekOldestValue()->getSize();
331 mCache.removeOldest();
337 mCache.clear();
393 Buffer* buffer = mCache.get(entry);
403 mCache.put(entry, buffer);
H A DPathCache.h248 return mCache.get(entry);
273 LruCache<PathDescription, PathTexture*> mCache; member in class:android::uirenderer::PathCache
/frameworks/base/packages/Osu/src/com/android/hotspot2/osu/
H A DOSUCache.java34 private final Map<OSUProvider, ScanInstance> mCache = new HashMap<>(); field in class:OSUCache
77 mCache.clear();
127 Map<OSUProvider, ScanInstance> aged = new HashMap<>(mCache);
131 mCache.put(entry.getKey(), new ScanInstance(entry.getValue(), mInstant));
151 mCache.remove(entry.getKey());
161 Map<OSUProvider, ScanResult> results = new HashMap<>(mCache.size());
162 for (Map.Entry<OSUProvider, ScanInstance> entry : mCache.entrySet()) {
H A DIconCache.java41 private final Map<EssKey, Map<String, HSIconFileElement>> mCache; field in class:IconCache
170 mCache = new HashMap<>();
216 Iterator<EssKey> cacheKeys = mCache.keySet().iterator();
232 Map<String, HSIconFileElement> fileMap = mCache.get(key);
277 mCache.clear();
304 Map<String, HSIconFileElement> fileMap = mCache.get(key);
312 Map<String, HSIconFileElement> fileMap = mCache.get(key);
315 mCache.put(key, fileMap);
/frameworks/av/media/libstagefright/
H A DCallbackDataSource.cpp138 memcpy(data, &mCache[offset - mCachedOffset], size);
147 memcpy(data, &mCache[offset - mCachedOffset], remaining);
159 const ssize_t numRead = mSource->readAt(offset, mCache, kCacheSize);
177 memcpy(data, mCache, numToReturn);
/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/base/services/core/java/com/android/server/wm/
H A DTaskSnapshotController.java83 private final TaskSnapshotCache mCache; field in class:TaskSnapshotController
97 mCache = new TaskSnapshotCache(mService, mLoader);
150 mCache.putSnapshot(task, snapshot);
165 return mCache.getSnapshot(taskId, userId, restoreFromDisk, reducedResolution);
278 mCache.onAppRemoved(wtoken);
285 mCache.onAppDied(wtoken);
289 mCache.onTaskRemoved(taskId);
337 mCache.dump(pw, prefix);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DLockscreenWallpaper.java60 private Bitmap mCache; field in class:LockscreenWallpaper
85 return mCache;
89 mCache = null;
97 mCache = result.bitmap;
99 return mCache;
188 mCache = result.bitmap;
/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);
/frameworks/native/services/surfaceflinger/RenderEngine/
H A DProgramCache.cpp106 Program* program = mCache.valueFor(shaderKey);
109 mCache.add(shaderKey, program);
231 Program* program = mCache.valueFor(needs);
236 mCache.add(needs, program);
240 // needs.mNeeds, uint32_t(ns2ms(time)), mCache.size());
/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/base/services/core/java/com/android/server/om/
H A DOverlayManagerService.java826 private final SparseArray<HashMap<String, PackageInfo>> mCache = new SparseArray<>(); field in class:OverlayManagerService.PackageManagerHelper
879 final HashMap<String, PackageInfo> map = mCache.get(userId);
885 HashMap<String, PackageInfo> map = mCache.get(userId);
888 mCache.put(userId, map);
894 final HashMap<String, PackageInfo> map = mCache.get(userId);
900 mCache.delete(userId);
905 mCache.delete(userId);
916 final int N = mCache.size();
918 final int userId = mCache.keyAt(i);
919 count += mCache
[all...]
/frameworks/av/include/media/stagefright/
H A DCallbackDataSource.h85 uint8_t mCache[kCacheSize]; member in class:android::TinyCacheSource
/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

Completed in 1556 milliseconds

123