Searched refs:blob_ (Results 1 – 7 of 7) sorted by relevance
/system/nvram/hal/ |
D | memory_storage.cpp | 28 bool present() const { return blob_.size() != 0; } in present() 31 if (blob_.size() == 0) { in Load() 35 if (!blob->Assign(blob_.data(), blob_.size())) { in Load() 43 if (!blob_.Assign(blob.data(), blob.size())) { in Store() 51 return blob_.Resize(0) ? Status::kSuccess : Status::kStorageError; in Delete() 55 Blob blob_; member in nvram::storage::__anon126252d10111::StorageSlot
|
/system/nvram/messages/ |
D | io.cpp | 221 : OutputStreamBuffer(blob->data(), blob->size()), blob_(blob) {} in BlobOutputStreamBuffer() 224 ptrdiff_t offset = pos_ - blob_->data(); in Advance() 225 if (!blob_->Resize(max<size_t>(blob_->size() * 2, 32))) { in Advance() 228 pos_ = blob_->data() + offset; in Advance() 229 end_ = blob_->data() + blob_->size(); in Advance() 234 if (!blob_->Resize(pos_ - blob_->data())) { in Truncate() 237 end_ = blob_->data() + blob_->size(); in Truncate()
|
/system/nvram/core/tests/ |
D | fake_storage.cpp | 40 NVRAM_CHECK(blob->Assign(blob_.data(), blob_.size())); in Load() 49 NVRAM_CHECK(blob_.Assign(blob.data(), blob.size())); in Store() 59 NVRAM_CHECK(blob_.Resize(0)); in Delete() 68 NVRAM_CHECK(blob_.Resize(0)); in Clear() 80 Blob blob_; member in nvram::storage::__anon5a7223650111::StorageSlot
|
/system/keymaster/tests/ |
D | android_keymaster_test_utils.cpp | 178 blob_.key_material = nullptr; in Keymaster2Test() 180 blob_.key_material = 0; in Keymaster2Test() 201 return device()->generate_key(device(), ¶ms, &blob_, &characteristics_); in GenerateKey() 205 return device()->delete_key(device(), &blob_); in DeleteKey() 219 return device()->import_key(device(), ¶ms, format, &key, &blob_, &characteristics_); in ImportKey() 240 device()->begin(device(), purpose, &blob_, &in_params, &out_params, &op_handle_); in BeginOperation() 251 device()->begin(device(), purpose, &blob_, &input_set, &out_params, &op_handle_); in BeginOperation() 347 return device()->attest_key(device(), &blob_, &attest_params, cert_chain); in AttestKey() 353 device()->upgrade_key(device(), &blob_, &upgrade_params, &upgraded_blob); in UpgradeKey() 356 blob_ = upgraded_blob; in UpgradeKey() [all …]
|
D | android_keymaster_test_utils.h | 322 blob_.key_material = key; in set_key_blob() 323 blob_.key_material_size = key_length; in set_key_blob() 326 void set_key_blob(KeymasterKeyBlob blob) { blob_ = blob.release(); } in set_key_blob() 347 keymaster_key_blob_t blob_; variable
|
D | android_keymaster_test.cpp | 1885 req.SetKeyMaterial(blob_); in BeginOperation() 1921 KeymasterKeyBlob blob_; member in keymaster::test::ImportWrappedKeyTest 1960 blob_ = move(response.key_blob); in TEST_F()
|
/system/nvram/messages/include/nvram/messages/ |
D | io.h | 215 Blob* blob_;
|