OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:BlobCache
(Results
1 - 14
of
14
) 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;
/system/core/libutils/
BlobCache.cpp
17
#define LOG_TAG "
BlobCache
"
23
#include <utils/
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
[
all
...]
Android.mk
22
BlobCache
.cpp \
/frameworks/native/opengl/libs/EGL/
egl_cache.h
23
#include <utils/
BlobCache
.h>
77
// getBlobCacheLocked returns the
BlobCache
object being used to store the
78
// key/value blob pairs. If the
BlobCache
object has not yet been created,
81
sp<
BlobCache
> getBlobCacheLocked();
102
sp<
BlobCache
> mBlobCache;
egl_cache.cpp
143
sp<
BlobCache
> bc = getBlobCacheLocked();
182
sp<
BlobCache
> bc = getBlobCacheLocked();
193
sp<
BlobCache
> egl_cache_t::getBlobCacheLocked() {
195
mBlobCache = new
BlobCache
(maxKeySize, maxValueSize, maxTotalSize);
/packages/apps/Mms/src/com/android/mms/util/
CacheManager.java
31
private static HashMap<String,
BlobCache
> sCacheMap =
32
new HashMap<String,
BlobCache
>();
37
// Return null when we cannot instantiate a
BlobCache
, e.g.:
40
public static
BlobCache
getCache(Context context, String filename,
47
BlobCache
cache = sCacheMap.get(filename);
54
cache = new
BlobCache
(path, maxEntries, maxBytes, false,
86
BlobCache
.deleteFiles(prefix + ImageCacheService.IMAGE_CACHE_FILE);
ImageCacheService.java
33
private
BlobCache
mCache;
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;
79
public class
BlobCache
implements Closeable {
80
private static final String TAG = "
BlobCache
";
132
public
BlobCache
(String path, int maxEntries, int maxBytes, boolean reset)
137
public
BlobCache
(String path, int maxEntries, int maxBytes, boolean reset,
157
// by the
BlobCache
constructor.
/system/core/include/utils/
BlobCache.h
29
// A
BlobCache
is an in-memory cache for binary key/value pairs. A
BlobCache
36
class
BlobCache
: public RefBase {
44
BlobCache
(size_t maxKeySize, size_t maxValueSize, size_t maxTotalSize);
52
// values specified to the
BlobCache
constructor), then the key/value pair
89
// loaded into a
BlobCache
object using the unflatten method. The contents
90
// of the
BlobCache
object will not be modified.
98
// the
BlobCache
will be evicted from the cache. If an error occurs while
99
// unflattening the serialized cache contents then the
BlobCache
will be
106
BlobCache
(const BlobCache&)
[
all
...]
/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;
/system/core/libutils/tests/
BlobCache_test.cpp
22
#include <utils/
BlobCache
.h>
36
mBC = new
BlobCache
(MAX_KEY_SIZE, MAX_VALUE_SIZE, MAX_TOTAL_SIZE);
43
sp<
BlobCache
> mBC;
265
mBC2 = new
BlobCache
(MAX_KEY_SIZE, MAX_VALUE_SIZE, MAX_TOTAL_SIZE);
281
sp<
BlobCache
> mBC2;
/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.
/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 943 milliseconds