Home
last modified time | relevance | path

Searched refs:itemLength (Results 1 – 4 of 4) sorted by relevance

/system/security/keystore/
Dkey_store_service.h40 int32_t get(const String16& name, int32_t uid, uint8_t** item, size_t* itemLength);
41 int32_t insert(const String16& name, const uint8_t* item, size_t itemLength, int targetUid,
DIKeystoreService.cpp483 virtual int32_t get(const String16& name, int32_t uid, uint8_t** item, size_t* itemLength) in get() argument
502 *itemLength = ulen; in get()
505 *itemLength = 0; in get()
508 *itemLength = 0; in get()
517 virtual int32_t insert(const String16& name, const uint8_t* item, size_t itemLength, int uid, in insert() argument
523 data.writeInt32(itemLength); in insert()
524 void* buf = data.writeInplace(itemLength); in insert()
525 memcpy(buf, item, itemLength); in insert()
Dkey_store_service.cpp67 size_t* itemLength) { in get() argument
79 *itemLength = 0; in get()
85 *itemLength = keyBlob.getLength(); in get()
90 int32_t KeyStoreService::insert(const String16& name, const uint8_t* item, size_t itemLength, in insert() argument
102 Blob keyBlob(item, itemLength, NULL, 0, ::TYPE_GENERIC); in insert()
/system/security/keystore/include/keystore/
DIKeystoreService.h156 virtual int32_t get(const String16& name, int32_t uid, uint8_t** item, size_t* itemLength) = 0;
158 virtual int32_t insert(const String16& name, const uint8_t* item, size_t itemLength, int uid,