HomeSort by relevance Sort by last modified time
    Searched refs:mCache (Results 51 - 75 of 259) sorted by null

1 23 4 5 6 7 8 91011

  /frameworks/base/libs/hwui/
TextDropShadowCache.cpp 100 : 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);
PatchCache.cpp 37 , 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);
PathCache.cpp 182 : mCache(LruCache<PathDescription, PathTexture*>::kUnlimitedCapacity)
185 mCache.setOnEntryRemovedListener(this);
191 mCache.clear();
254 mCache.removeOldest();
260 while (mSize > mMaxSize || mCache.size() > PATH_CACHE_COUNT_LIMIT) {
261 LOG_ALWAYS_FATAL_IF(!mCache.size(), "Inconsistent mSize! Ran out of items to remove!"
263 mCache.removeOldest();
288 // Such an entry in mCache will only be temporary, since it will be evicted
298 mCache.put(entry, texture);
303 mCache.clear()
    [all...]
ProgramCache.h 59 std::map<programid, std::unique_ptr<Program>> mCache;
GradientCache.cpp 67 : mCache(LruCache<GradientCacheEntry, Texture*>::kUnlimitedCapacity)
75 mCache.setOnEntryRemovedListener(this);
79 mCache.clear();
112 Texture* texture = mCache.get(gradient);
122 mCache.clear();
161 LOG_ALWAYS_FATAL_IF(!mCache.removeOldest(),
174 mCache.put(gradient, texture);
VectorDrawable.cpp 486 bool redrawNeeded = allocateBitmapIfNeeded(mCache, mProperties.getScaledWidth(),
488 if (redrawNeeded || mCache.dirty) {
489 updateBitmapCache(*mCache.bitmap, false);
490 mCache.dirty = false;
492 return *mCache.bitmap;
497 sk_sp<SkSurface> surface = mCache.getSurface(&dst);
507 mCache.setAtlas(atlas, atlasEntry.key);
510 mCache.clear();
514 if (!canReuseSurface || mCache.dirty) {
516 mCache.dirty = false
    [all...]
  /packages/apps/Dialer/java/com/android/dialer/app/contactinfo/
ContactInfoCache.java 54 private final ExpirableCache<NumberWithCountryIso, ContactInfo> mCache;
93 mCache = internalCache;
110 ExpirableCache.CachedValue<ContactInfo> cachedInfo = mCache.getCachedValue(numberCountryIso);
117 mCache.put(numberCountryIso, ContactInfo.EMPTY);
198 ContactInfo existingInfo = mCache.getPossiblyExpired(numberCountryIso);
213 mCache.put(numberCountryIso, info);
267 mCache.expireAll();
327 mCache.put(numberCountryIso, contactInfo);
  /frameworks/base/packages/Osu/src/com/android/hotspot2/osu/
OSUCache.java 34 private final Map<OSUProvider, ScanInstance> mCache = new HashMap<>();
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()) {
IconCache.java 41 private final Map<EssKey, Map<String, HSIconFileElement>> mCache;
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/base/wifi/java/android/net/wifi/
WifiNetworkScoreCache.java 66 private final LruCache<String, ScoredNetwork> mCache;
86 mCache = new LruCache<>(maxCacheSize);
108 mCache.put(networkKey, network);
120 mCache.evictAll();
192 ScoredNetwork network = mCache.get(key);
208 return mCache.get(key);
255 for (ScoredNetwork score : mCache.snapshot().values()) {
  /external/volley/src/main/java/com/android/volley/
NetworkDispatcher.java 41 private final Cache mCache;
61 mCache = cache;
129 mCache.put(request.getCacheKey(), response.cacheEntry);
RequestQueue.java 83 private final Cache mCache;
110 mCache = cache;
144 mCacheDispatcher = new CacheDispatcher(mCacheQueue, mNetworkQueue, mCache, mDelivery);
150 mCache, mDelivery);
181 return mCache;
  /frameworks/av/media/libstagefright/
CallbackDataSource.cpp 134 memcpy(data, &mCache[offset - mCachedOffset], size);
143 memcpy(data, &mCache[offset - mCachedOffset], remaining);
158 const ssize_t numRead = mSource->readAt(offset, mCache, kCacheSize);
176 memcpy(data, mCache, numToReturn);
  /frameworks/native/libs/binder/include/binder/
PermissionCache.h 55 SortedVector< Entry > mCache;
  /packages/apps/Contacts/src/com/android/contacts/quickcontact/
ResolveCache.java 112 private HashMap<String, Entry> mCache = new HashMap<String, Entry>();
125 Entry entry = mCache.get(mimeType);
155 mCache.put(mimeType, entry);
214 mCache.clear();
  /frameworks/base/services/core/java/com/android/server/wm/
TaskSnapshotController.java 90 private final TaskSnapshotCache mCache;
114 mCache = new TaskSnapshotCache(mService, mLoader);
177 mCache.putSnapshot(task, snapshot);
193 return mCache.getSnapshot(taskId, userId, restoreFromDisk, reducedResolution
311 mCache.onAppRemoved(wtoken);
318 mCache.onAppDied(wtoken);
322 mCache.onTaskRemoved(taskId);
370 mCache.dump(pw, prefix);
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
LockscreenWallpaper.java 61 private Bitmap mCache;
86 return mCache;
90 mCache = null;
98 mCache = result.bitmap;
100 return mCache;
194 mCache = result.bitmap;
  /packages/apps/Email/provider_src/com/android/email/mail/internet/
AuthenticationCache.java 26 private final Map<Long, CacheEntry> mCache;
56 mCache = new HashMap<Long, CacheEntry>();
68 synchronized (mCache) {
95 entry = mCache.get(account.mId);
102 mCache.put(account.mId, entry);
160 mCache.remove(entry.mAccountId);
  /tools/tradefederation/core/tests/src/com/android/tradefed/build/
FileDownloadCacheFuncTest.java 48 private FileDownloadCache mCache;
57 mCache = new FileDownloadCache(mTmpDir);
99 assertNotNull(mCache.getCachedFile(REMOTE_PATH));
125 mCache.setMaxCacheSize(DOWNLOADED_CONTENTS.length() + 1);
175 assertNotNull(mCache.getCachedFile(remotePath1));
246 assertNotNull(mCache.getCachedFile(REMOTE_PATH));
318 mReturnedFiles.add(mCache.fetchRemoteFile(downloader, remotePath));
  /tools/tradefederation/core/prod-tests/src/com/android/performance/tests/
EmmcPerformanceTest.java 89 private String mCache = null;
142 String command = String.format("dd if=%s of=/dev/null bs=%d count=%d", mCache, BLOCK_SIZE,
152 String command = String.format("dd if=/dev/zero of=%s bs=%d count=%d", mCache, BLOCK_SIZE,
164 AbiFormatter.formatCmdForAbi(PERF_RANDOM, mForceAbi), mCachePartitionSize, mCache);
174 AbiFormatter.formatCmdForAbi(PERF_RANDOM, mForceAbi), mCachePartitionSize, mCache);
381 mCache = segments[2];
383 CLog.w("Fail to detect cache path. Fall back to use '%s'", mCache);
410 CLog.d("cache-device is set to %s ...", mCache);
419 mTestDevice.executeShellCommand(String.format("make_ext4fs %s", mCache));
  /packages/apps/Gallery2/src/com/android/gallery3d/gadget/
MediaSetSource.java 130 private MediaItem mCache[] = new MediaItem[CACHE_SIZE];
155 items.toArray(mCache);
165 return mCache[index - mCacheStart].getContentUri();
172 return WidgetUtils.createWidgetBitmap(mCache[index - mCacheStart]);
182 Arrays.fill(mCache, null);
  /system/core/libutils/include/utils/
LruCache.h 127 mCache(cache), mIterator(mCache.mSet->begin()), mBeginReturned(false) {
131 if (mIterator == mCache.mSet->end()) {
141 bool ret = (mIterator != mCache.mSet->end());
155 const LruCache<TKey, TValue>& mCache;
  /cts/tests/camera/src/android/hardware/camera2/cts/rs/
Script.java 181 protected final AllocationCache mCache = RenderScriptSingleton.getCache();
233 mCache.returnToCacheIfNotNull(mInputAllocation);
349 mCache.returnToCacheIfNotNull(mInputAllocation);
  /packages/apps/Email/provider_src/com/android/email/provider/
ContentCache.java 285 private final ContentCache mCache;
296 mCache = cache;
309 synchronized(mCache) {
311 if ((count == 0) && mCache.mLruCache.get(mId) != (mCursor)) {
734 private final ContentCache mCache;
762 mCache = cache;
763 mName = mCache.mName;
767 mCache = null;
799 append(sb, "Cursors", mCache == null ? mCursorCount : mCache.size())
    [all...]
  /frameworks/opt/bitmap/sample/src/com/example/bitmapsample/
MainActivity.java 38 private final BitmapCache mCache = new UnrefedBitmapCache(TARGET_CACHE_SIZE_BYTES, 0, 0);
119 mCache, true /* limit density */, opts);

Completed in 1128 milliseconds

1 23 4 5 6 7 8 91011