Home
last modified time | relevance | path

Searched refs:Blob (Results 1 – 3 of 3) sorted by relevance

/system/core/include/utils/
DBlobCache.h121 class Blob : public RefBase {
123 Blob(const void* data, size_t size, bool copyData);
124 ~Blob();
126 bool operator<(const Blob& rhs) const;
133 Blob(const Blob&);
134 void operator=(const Blob&);
151 CacheEntry(const sp<Blob>& key, const sp<Blob>& value);
157 sp<Blob> getKey() const;
158 sp<Blob> getValue() const;
160 void setValue(const sp<Blob>& value);
[all …]
/system/core/libutils/
DBlobCache.cpp83 sp<Blob> dummyKey(new Blob(key, keySize, false)); in set()
90 sp<Blob> keyBlob(new Blob(key, keySize, true)); in set()
91 sp<Blob> valueBlob(new Blob(value, valueSize, true)); in set()
112 sp<Blob> valueBlob(new Blob(value, valueSize, true)); in set()
113 sp<Blob> oldValueBlob(mCacheEntries[index].getValue()); in set()
143 sp<Blob> dummyKey(new Blob(key, keySize, false)); in get()
153 sp<Blob> valueBlob(mCacheEntries[index].getValue()); in get()
173 sp<Blob> keyBlob = e.getKey(); in getFlattenedSize()
174 sp<Blob> valueBlob = e.getValue(); in getFlattenedSize()
201 sp<Blob> keyBlob = e.getKey(); in flatten()
[all …]
/system/security/keystore/
Dkeystore.cpp506 class Blob { class
508 Blob(const uint8_t* value, size_t valueLength, const uint8_t* info, uint8_t infoLength, in Blob() function in Blob
535 Blob(blob b) { in Blob() function in Blob
539 Blob() { in Blob() function in Blob
828 Blob masterKeyBlob(mMasterKey, sizeof(mMasterKey), mSalt, sizeof(mSalt), TYPE_MASTER_KEY); in writeMasterKey()
856 Blob masterKeyBlob(rawBlob); in readMasterKey()
1023 keymaster1_device_t *getDeviceForBlob(const Blob& blob) const { in getDeviceForBlob()
1098 Blob blob; in resetUser()
1160 ResponseCode get(const char* filename, Blob* keyBlob, const BlobType type, uid_t userId) { in get()
1214 ResponseCode put(const char* filename, Blob* keyBlob, uid_t userId) { in put()
[all …]