OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
defs:BlobCache
(Results
1 - 4
of
4
) sorted by null
/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
"
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
...]
/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/Mms/src/com/android/mms/util/
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.
Completed in 175 milliseconds