/system/update_engine/payload_generator/ |
D | ab_generator.h | 54 BlobFileWriter* blob_file, 67 BlobFileWriter* blob_file); 95 BlobFileWriter* blob_file); 110 BlobFileWriter* blob_file); 128 BlobFileWriter* blob_file);
|
D | blob_file_writer_unittest.cc | 34 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()
|
D | ab_generator.cc | 41 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 …]
|
D | full_update_generator.cc | 54 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()
|
D | delta_diff_utils.h | 52 BlobFileWriter* blob_file); 71 BlobFileWriter* blob_file, 94 BlobFileWriter* blob_file);
|
D | annotated_operation.cc | 40 BlobFileWriter* blob_file) { in SetOperationBlob() argument 46 off_t data_offset = blob_file->StoreBlob(blob); in SetOperationBlob()
|
D | annotated_operation.h | 41 bool SetOperationBlob(const brillo::Blob& blob, BlobFileWriter* blob_file);
|
D | full_update_generator.h | 43 BlobFileWriter* blob_file,
|
D | operations_generator.h | 46 BlobFileWriter* blob_file,
|
D | delta_diff_utils.cc | 152 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()
|
D | ab_generator_unittest.cc | 115 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()
|
D | delta_diff_generator.cc | 179 BlobFileWriter blob_file(data_file.fd(), &data_file_size); in GenerateUpdatePayloadFile() local 223 &blob_file, in GenerateUpdatePayloadFile()
|
D | delta_diff_utils_unittest.cc | 127 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/ |
D | KeyStorage.cpp | 224 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/ |
D | download_action_android_unittest.cc | 111 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/ |
D | delta_performer_unittest.cc | 211 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()
|