OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:BlobCache
(Results
1 - 11
of
11
) 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/
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
144
sp<
BlobCache
> bc = getBlobCacheLocked();
183
sp<
BlobCache
> bc = getBlobCacheLocked();
194
sp<
BlobCache
> egl_cache_t::getBlobCacheLocked() {
196
mBlobCache = new
BlobCache
(maxKeySize, maxValueSize, maxTotalSize);
/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
...]
/system/core/libutils/
BlobCache.cpp
17
#define LOG_TAG "
BlobCache
"
24
#include <utils/
BlobCache
.h>
32
//
BlobCache
::Header::mMagicNumber value
35
//
BlobCache
::Header::mBlobCacheVersion value
38
//
BlobCache
::Header::mDeviceVersion value
41
BlobCache
::
BlobCache
(size_t maxKeySize, size_t maxValueSize, size_t maxTotalSize):
57
void
BlobCache
::set(const void* key, size_t keySize, const void* value,
136
size_t
BlobCache
::get(const void* key, size_t keySize, void* value,
169
size_t
BlobCache
::getFlattenedSize() const
[
all
...]
Android.mk
67
BlobCache
.cpp \
/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 1008 milliseconds