HomeSort by relevance Sort by last modified time
    Searched full:blobcache (Results 1 - 13 of 13) sorted by null

  /packages/apps/Gallery2/src/com/android/gallery3d/util/
CacheManager.java 23 import com.android.gallery3d.common.BlobCache;
32 private static HashMap<String, BlobCache> sCacheMap =
33 new HashMap<String, BlobCache>();
36 // Return null when we cannot instantiate a BlobCache, e.g.:
39 public static BlobCache getCache(Context context, String filename,
46 BlobCache cache = sCacheMap.get(filename);
51 cache = new BlobCache(path, maxEntries, maxBytes, false,
78 BlobCache.deleteFiles(prefix + "imgcache");
79 BlobCache.deleteFiles(prefix + "rev_geocoding");
80 BlobCache.deleteFiles(prefix + "bookmark")
    [all...]
ReverseGeocoder.java 27 import com.android.gallery3d.common.BlobCache;
74 private BlobCache mGeoCache;
  /frameworks/native/opengl/libs/EGL/
BlobCache.cpp 19 #include "BlobCache.h"
29 // BlobCache::Header::mMagicNumber value
32 // BlobCache::Header::mBlobCacheVersion value
35 // BlobCache::Header::mDeviceVersion value
38 BlobCache::BlobCache(size_t maxKeySize, size_t maxValueSize, size_t maxTotalSize):
54 void BlobCache::set(const void* key, size_t keySize, const void* value,
133 size_t BlobCache::get(const void* key, size_t keySize, void* value,
166 size_t BlobCache::getFlattenedSize() const {
176 int BlobCache::flatten(void* buffer, size_t size) const
    [all...]
BlobCache.h 27 // A BlobCache is an in-memory cache for binary key/value pairs. A BlobCache
34 class BlobCache {
40 BlobCache(size_t maxKeySize, size_t maxValueSize, size_t maxTotalSize);
48 // values specified to the BlobCache constructor), then the key/value pair
85 // loaded into a BlobCache object using the unflatten method. The contents
86 // of the BlobCache object will not be modified.
94 // the BlobCache will be evicted from the cache. If an error occurs while
95 // unflattening the serialized cache contents then the BlobCache will be
102 BlobCache(const BlobCache&)
    [all...]
egl_cache.h 23 #include "BlobCache.h"
79 // getBlobCacheLocked returns the BlobCache object being used to store the
80 // key/value blob pairs. If the BlobCache object has not yet been created,
83 BlobCache* getBlobCacheLocked();
104 std::unique_ptr<BlobCache> mBlobCache;
egl_cache.cpp 140 BlobCache* bc = getBlobCacheLocked();
168 BlobCache* bc = getBlobCacheLocked();
179 BlobCache* egl_cache_t::getBlobCacheLocked() {
181 mBlobCache.reset(new BlobCache(maxKeySize, maxValueSize, maxTotalSize));
BlobCache_test.cpp 24 #include "BlobCache.h"
45 mBC.reset(new BlobCache(MAX_KEY_SIZE, MAX_VALUE_SIZE, MAX_TOTAL_SIZE));
52 std::unique_ptr<BlobCache> mBC;
274 mBC2.reset(new BlobCache(MAX_KEY_SIZE, MAX_VALUE_SIZE, MAX_TOTAL_SIZE));
290 sp<BlobCache> mBC2;
  /packages/apps/Gallery2/src/com/android/gallery3d/data/
ImageCacheService.java 21 import com.android.gallery3d.common.BlobCache;
22 import com.android.gallery3d.common.BlobCache.LookupRequest;
40 private BlobCache mCache;
  /frameworks/native/opengl/libs/
Android.bp 112 "EGL/BlobCache.cpp",
124 "EGL/BlobCache.cpp",
  /packages/apps/Gallery2/
proguard.flags 67 # - Required for running blobcache tests on userdebug
68 -keep class com.android.gallery3d.common.BlobCache { *; }
  /packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
BlobCache.java 54 // Below are the interface for BlobCache. The instance of this class does not
57 // public BlobCache(String path, int maxEntries, int maxBytes, boolean reset) throws IOException;
80 public class BlobCache implements Closeable {
81 private static final String TAG = "BlobCache";
133 public BlobCache(String path, int maxEntries, int maxBytes, boolean reset)
138 public BlobCache(String path, int maxEntries, int maxBytes, boolean reset,
158 // by the BlobCache constructor.
  /external/skia/src/gpu/text/
GrAtlasTextContext.cpp 234 GrAtlasTextContext::MakeDrawTextBlob(GrTextBlobCache* blobCache,
245 sk_sp<GrAtlasTextBlob> blob = blobCache->makeBlob(glyphCount, 1);
259 GrAtlasTextContext::MakeDrawPosTextBlob(GrTextBlobCache* blobCache,
271 sk_sp<GrAtlasTextBlob> blob = blobCache->makeBlob(glyphCount, 1);
  /packages/apps/Gallery2/src/com/android/gallery3d/app/
MoviePlayer.java 44 import com.android.gallery3d.common.BlobCache;
500 BlobCache cache = CacheManager.getCache(mContext,
518 BlobCache cache = CacheManager.getCache(mContext,

Completed in 295 milliseconds