Home
last modified time | relevance | path

Searched refs:blob_file (Results 1 – 16 of 16) sorted by relevance

/system/update_engine/payload_generator/
Dab_generator.h54 BlobFileWriter* blob_file,
67 BlobFileWriter* blob_file);
95 BlobFileWriter* blob_file);
110 BlobFileWriter* blob_file);
128 BlobFileWriter* blob_file);
Dblob_file_writer_unittest.cc34 ScopedTempFile blob_file("BlobFileWriterTest.XXXXXX", true); in TEST() local
36 BlobFileWriter blob_file_writer(blob_file.fd(), &blob_file_size); in TEST()
47 blob_file.fd(), stored_blob.data(), kBlobSize, 0, &bytes_read)); in TEST()
Dab_generator.cc41 BlobFileWriter* blob_file, in GenerateOperations() argument
58 blob_file)); in GenerateOperations()
73 aops, config.version, merge_chunk_blocks, new_part.path, blob_file)); in GenerateOperations()
90 BlobFileWriter* blob_file) { in FragmentOperations() argument
101 version, aop, target_part_path, &fragmented_aops, blob_file)); in FragmentOperations()
165 BlobFileWriter* blob_file) { in SplitAReplaceOp() argument
189 AddDataAndSetType(&new_aop, version, target_part_path, blob_file)); in SplitAReplaceOp()
200 BlobFileWriter* blob_file) { in MergeOperations() argument
258 AddDataAndSetType(&curr_aop, version, target_part_path, blob_file)); in MergeOperations()
269 BlobFileWriter* blob_file) { in AddDataAndSetType() argument
[all …]
Dfull_update_generator.cc54 BlobFileWriter* blob_file, in ChunkProcessor() argument
60 blob_file_(blob_file), in ChunkProcessor()
117 BlobFileWriter* blob_file, in GenerateOperations() argument
156 blob_file->IncTotalBlobs(num_chunks); in GenerateOperations()
178 blob_file, in GenerateOperations()
Ddelta_diff_utils.h52 BlobFileWriter* blob_file);
71 BlobFileWriter* blob_file,
94 BlobFileWriter* blob_file);
Dannotated_operation.cc40 BlobFileWriter* blob_file) { in SetOperationBlob() argument
46 off_t data_offset = blob_file->StoreBlob(blob); in SetOperationBlob()
Dannotated_operation.h41 bool SetOperationBlob(const brillo::Blob& blob, BlobFileWriter* blob_file);
Dfull_update_generator.h43 BlobFileWriter* blob_file,
Doperations_generator.h46 BlobFileWriter* blob_file,
Ddelta_diff_utils.cc152 BlobFileWriter* blob_file) in FileDeltaProcessor() argument
163 blob_file_(blob_file) {} in FileDeltaProcessor()
277 BlobFileWriter* blob_file) { in DeltaReadPartition() argument
301 blob_file, in DeltaReadPartition()
365 blob_file); in DeltaReadPartition()
395 blob_file); in DeltaReadPartition()
428 BlobFileWriter* blob_file, in DeltaMovedAndZeroBlocks() argument
520 blob_file)); in DeltaMovedAndZeroBlocks()
579 BlobFileWriter* blob_file) { in DeltaReadFile() argument
631 TEST_AND_RETURN_FALSE(aop.SetOperationBlob(data, blob_file)); in DeltaReadFile()
Dab_generator_unittest.cc115 BlobFileWriter blob_file(data_fd, &data_file_size); in TestSplitReplaceOrReplaceXzOperation() local
122 version, aop, part_file.path(), &result_ops, &blob_file)); in TestSplitReplaceOrReplaceXzOperation()
277 BlobFileWriter blob_file(data_fd, &data_file_size); in TestMergeReplaceOrReplaceXzOperations() local
283 &aops, version, 5, part_file.path(), &blob_file)); in TestMergeReplaceOrReplaceXzOperations()
462 BlobFileWriter blob_file(0, nullptr); in TEST_F() local
465 EXPECT_TRUE(ABGenerator::MergeOperations(&aops, version, 5, "", &blob_file)); in TEST_F()
535 BlobFileWriter blob_file(0, nullptr); in TEST_F() local
538 EXPECT_TRUE(ABGenerator::MergeOperations(&aops, version, 4, "", &blob_file)); in TEST_F()
Ddelta_diff_generator.cc179 BlobFileWriter blob_file(data_file.fd(), &data_file_size); in GenerateUpdatePayloadFile() local
223 &blob_file, in GenerateUpdatePayloadFile()
Ddelta_diff_utils_unittest.cc127 BlobFileWriter blob_file(tmp_blob_file_.fd(), &blob_size_); in RunDeltaMovedAndZeroBlocks() local
137 &blob_file, in RunDeltaMovedAndZeroBlocks()
166 BlobFileWriter blob_file(tmp_blob_file_.fd(), &blob_size_); in TEST_F() local
175 &blob_file)); in TEST_F()
/system/vold/
DKeyStorage.cpp224 auto blob_file = dir + "/" + kFn_keymaster_key_blob; in CommitUpgradedKey() local
228 if (!readFileToString(blob_file, &blob)) return false; in CommitUpgradedKey()
230 if (rename(upgraded_blob_file.c_str(), blob_file.c_str()) != 0) { in CommitUpgradedKey()
231 PLOG(ERROR) << "Failed to rename " << upgraded_blob_file << " to " << blob_file; in CommitUpgradedKey()
238 LOG(WARNING) << "Failed to delete old key " << blob_file in CommitUpgradedKey()
336 auto blob_file = dir + "/" + kFn_keymaster_key_blob; in BeginKeymasterOp() local
345 << blob_file in BeginKeymasterOp()
350 if (!readFileToString(blob_file, &blob)) return KeymasterOperation(); in BeginKeymasterOp()
364 LOG(INFO) << "Upgrading key: " << blob_file; in BeginKeymasterOp()
373 LOG(INFO) << "Key upgraded: " << blob_file; in BeginKeymasterOp()
[all …]
/system/update_engine/
Ddownload_action_android_unittest.cc111 ScopedTempFile blob_file("Blob-XXXXXX"); in TEST_F() local
117 manifest_file.path(), blob_file.path(), private_key, &metadata_size); in TEST_F()
/system/update_engine/payload_consumer/
Ddelta_performer_unittest.cc211 ScopedTempFile blob_file("Blob-XXXXXX"); in GeneratePayload() local
212 EXPECT_TRUE(test_utils::WriteFileVector(blob_file.path(), blob_data)); in GeneratePayload()
249 blob_file.path(), in GeneratePayload()