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.cc40 BlobFileWriter* blob_file, in GenerateOperations() argument
57 blob_file)); in GenerateOperations()
72 aops, config.version, merge_chunk_blocks, new_part.path, blob_file)); in GenerateOperations()
89 BlobFileWriter* blob_file) { in FragmentOperations() argument
100 version, aop, target_part_path, &fragmented_aops, blob_file)); in FragmentOperations()
164 BlobFileWriter* blob_file) { in SplitAReplaceOp() argument
188 AddDataAndSetType(&new_aop, version, target_part_path, blob_file)); in SplitAReplaceOp()
199 BlobFileWriter* blob_file) { in MergeOperations() argument
257 AddDataAndSetType(&curr_aop, version, target_part_path, blob_file)); in MergeOperations()
268 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()
Dannotated_operation.cc40 BlobFileWriter* blob_file) { in SetOperationBlob() argument
46 off_t data_offset = blob_file->StoreBlob(blob); in SetOperationBlob()
Ddelta_diff_utils.h56 BlobFileWriter* blob_file);
75 BlobFileWriter* blob_file,
95 BlobFileWriter* blob_file);
Dfull_update_generator.h43 BlobFileWriter* blob_file,
Doperations_generator.h46 BlobFileWriter* blob_file,
Dannotated_operation.h47 bool SetOperationBlob(const brillo::Blob& blob, BlobFileWriter* blob_file);
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_utils.cc405 BlobFileWriter* blob_file) in FileDeltaProcessor() argument
414 blob_file_(blob_file) {} in FileDeltaProcessor()
535 BlobFileWriter* blob_file) { in DeltaReadPartition() argument
580 blob_file, in DeltaReadPartition()
644 blob_file); in DeltaReadPartition()
675 blob_file); in DeltaReadPartition()
712 BlobFileWriter* blob_file, in DeltaMovedAndZeroBlocks() argument
805 blob_file)); in DeltaMovedAndZeroBlocks()
861 BlobFileWriter* blob_file) { in DeltaReadFile() argument
915 TEST_AND_RETURN_FALSE(aop.SetOperationBlob(data, blob_file)); in DeltaReadFile()
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.cc129 BlobFileWriter blob_file(tmp_blob_file_.fd(), &blob_size_); in RunDeltaMovedAndZeroBlocks() local
139 &blob_file, in RunDeltaMovedAndZeroBlocks()
168 BlobFileWriter blob_file(tmp_blob_file_.fd(), &blob_size_); in TEST_F() local
177 &blob_file)); in TEST_F()
/system/vold/
DKeyStorage.cpp212 auto blob_file = dir + "/" + kFn_keymaster_key_blob; in CommitUpgradedKey() local
216 if (!readFileToString(blob_file, &blob)) return false; in CommitUpgradedKey()
218 if (rename(upgraded_blob_file.c_str(), blob_file.c_str()) != 0) { in CommitUpgradedKey()
219 PLOG(ERROR) << "Failed to rename " << upgraded_blob_file << " to " << blob_file; in CommitUpgradedKey()
226 LOG(WARNING) << "Failed to delete old key " << blob_file in CommitUpgradedKey()
328 auto blob_file = dir + "/" + kFn_keymaster_key_blob; in BeginKeystoreOp() local
337 << blob_file in BeginKeystoreOp()
342 if (!readFileToString(blob_file, &blob)) return KeystoreOperation(); in BeginKeystoreOp()
356 LOG(INFO) << "Upgrading key: " << blob_file; in BeginKeystoreOp()
365 LOG(INFO) << "Key upgraded: " << blob_file; in BeginKeystoreOp()
[all …]
/system/update_engine/
Ddownload_action_android_unittest.cc107 ScopedTempFile blob_file("Blob-XXXXXX"); in TEST_F() local
113 manifest_file.path(), blob_file.path(), private_key, &metadata_size); in TEST_F()
/system/update_engine/payload_consumer/
Ddelta_performer_unittest.cc207 ScopedTempFile blob_file("Blob-XXXXXX"); in GeneratePayload() local
208 EXPECT_TRUE(test_utils::WriteFileVector(blob_file.path(), blob_data)); in GeneratePayload()
245 blob_file.path(), in GeneratePayload()