/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 | 40 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 …]
|
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 | annotated_operation.cc | 40 BlobFileWriter* blob_file) { in SetOperationBlob() argument 46 off_t data_offset = blob_file->StoreBlob(blob); in SetOperationBlob()
|
D | delta_diff_utils.h | 56 BlobFileWriter* blob_file); 75 BlobFileWriter* blob_file, 95 BlobFileWriter* blob_file);
|
D | full_update_generator.h | 43 BlobFileWriter* blob_file,
|
D | operations_generator.h | 46 BlobFileWriter* blob_file,
|
D | annotated_operation.h | 47 bool SetOperationBlob(const brillo::Blob& blob, BlobFileWriter* blob_file);
|
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_utils.cc | 405 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()
|
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 | 129 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/ |
D | KeyStorage.cpp | 212 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/ |
D | download_action_android_unittest.cc | 107 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/ |
D | delta_performer_unittest.cc | 207 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()
|