/system/update_engine/payload_consumer/ |
D | install_operation_executor.cc | 179 const InstallOperation& operation, in ExecuteReplaceOperation() argument 183 TEST_AND_RETURN_FALSE(operation.type() == InstallOperation::REPLACE || in ExecuteReplaceOperation() 184 operation.type() == InstallOperation::REPLACE_BZ || in ExecuteReplaceOperation() 185 operation.type() == InstallOperation::REPLACE_XZ); in ExecuteReplaceOperation() 187 if (operation.type() == InstallOperation::REPLACE_BZ) { in ExecuteReplaceOperation() 189 } else if (operation.type() == InstallOperation::REPLACE_XZ) { in ExecuteReplaceOperation() 192 TEST_AND_RETURN_FALSE(writer->Init(operation.dst_extents(), block_size_)); in ExecuteReplaceOperation() 193 TEST_AND_RETURN_FALSE(writer->Write(data, operation.data_length())); in ExecuteReplaceOperation() 199 const InstallOperation& operation, std::unique_ptr<ExtentWriter> writer) { in ExecuteZeroOrDiscardOperation() argument 200 TEST_AND_RETURN_FALSE(operation.type() == InstallOperation::ZERO || in ExecuteZeroOrDiscardOperation() [all …]
|
D | partition_writer.cc | 191 bool PartitionWriter::PerformReplaceOperation(const InstallOperation& operation, in PerformReplaceOperation() argument 197 operation, std::move(writer), data, count); in PerformReplaceOperation() 201 const InstallOperation& operation) { in PerformZeroOrDiscardOperation() argument 204 (operation.type() == InstallOperation::ZERO ? BLKZEROOUT : BLKDISCARD); in PerformZeroOrDiscardOperation() 207 return install_op_executor_.ExecuteZeroOrDiscardOperation(operation, in PerformZeroOrDiscardOperation() 211 for (const Extent& extent : operation.dst_extents()) { in PerformZeroOrDiscardOperation() 223 operation, std::move(writer)); in PerformZeroOrDiscardOperation() 229 const InstallOperation& operation, ErrorCode* error) { in PerformSourceCopyOperation() argument 237 partition.partition_name(), operation, &buf); in PerformSourceCopyOperation() 238 const InstallOperation& optimized = should_optimize ? buf : operation; in PerformSourceCopyOperation() [all …]
|
D | verified_source_fd.cc | 64 const InstallOperation& operation, ErrorCode* error) { in ChooseSourceFD() argument 69 if (!operation.has_src_sha256_hash()) { in ChooseSourceFD() 76 source_ecc_fd_, operation.src_extents(), block_size_, nullptr)) { in ChooseSourceFD() 83 brillo::Blob expected_source_hash(operation.src_sha256_hash().begin(), in ChooseSourceFD() 84 operation.src_sha256_hash().end()); in ChooseSourceFD() 86 source_fd_, operation.src_extents(), block_size_, &source_hash) && in ChooseSourceFD() 97 source_hash, operation, source_fd_, error); in ChooseSourceFD() 107 source_ecc_fd_, operation.src_extents(), block_size_, &source_hash) && in ChooseSourceFD() 109 source_hash, operation, source_ecc_fd_, error)) { in ChooseSourceFD()
|
D | install_operation_executor.h | 33 bool ExecuteReplaceOperation(const InstallOperation& operation, 37 bool ExecuteZeroOrDiscardOperation(const InstallOperation& operation, 39 bool ExecuteSourceCopyOperation(const InstallOperation& operation, 43 bool ExecuteDiffOperation(const InstallOperation& operation, 50 bool ExecuteSourceBsdiffOperation(const InstallOperation& operation, 55 bool ExecutePuffDiffOperation(const InstallOperation& operation, 60 bool ExecuteZucchiniOperation(const InstallOperation& operation, 65 bool ExecuteLz4diffOperation(const InstallOperation& operation,
|
D | partition_writer.h | 46 const InstallOperation& operation, 49 static bool ValidateSourceHash(const InstallOperation& operation, 75 [[nodiscard]] bool PerformReplaceOperation(const InstallOperation& operation, 79 const InstallOperation& operation) override; 82 const InstallOperation& operation, ErrorCode* error) override; 83 [[nodiscard]] bool PerformDiffOperation(const InstallOperation& operation,
|
D | partition_writer_interface.h | 56 const InstallOperation& operation, const void* data, size_t count) = 0; 58 const InstallOperation& operation) = 0; 61 const InstallOperation& operation, ErrorCode* error) = 0; 63 const InstallOperation& operation,
|
D | delta_performer.cc | 499 for (const auto& operation : partition.merge_operations()) { in Write() local 500 if (operation.type() == CowMergeOperation::COW_COPY) { in Write() 502 operation.dst_extent().num_blocks() * manifest_.block_size(); in Write() 857 const chromeos_update_engine::InstallOperation& operation) { in CanPerformInstallOperation() argument 859 if (!operation.has_data_offset() && !operation.has_data_length()) in CanPerformInstallOperation() 863 if (operation.data_offset() < buffer_offset_) { in CanPerformInstallOperation() 868 return (operation.data_offset() + operation.data_length() <= in CanPerformInstallOperation() 873 const InstallOperation& operation) { in PerformReplaceOperation() argument 874 CHECK(operation.type() == InstallOperation::REPLACE || in PerformReplaceOperation() 875 operation.type() == InstallOperation::REPLACE_BZ || in PerformReplaceOperation() [all …]
|
D | partition_update_generator_android_unittest.cc | 100 const auto& operation = partition_update.operations(0); in CheckPartitionUpdate() local 101 ASSERT_EQ(InstallOperation::SOURCE_COPY, operation.type()); in CheckPartitionUpdate() 103 ASSERT_EQ(1, operation.src_extents_size()); in CheckPartitionUpdate() 104 ASSERT_EQ(0u, operation.src_extents(0).start_block()); in CheckPartitionUpdate() 105 ASSERT_EQ(content.size() / 4096, operation.src_extents(0).num_blocks()); in CheckPartitionUpdate() 107 ASSERT_EQ(1, operation.dst_extents_size()); in CheckPartitionUpdate() 108 ASSERT_EQ(0u, operation.dst_extents(0).start_block()); in CheckPartitionUpdate() 109 ASSERT_EQ(content.size() / 4096, operation.dst_extents(0).num_blocks()); in CheckPartitionUpdate()
|
D | vabc_partition_writer.h | 50 const InstallOperation& operation) override; 52 const InstallOperation& operation, ErrorCode* error) override; 54 [[nodiscard]] bool PerformReplaceOperation(const InstallOperation& operation, 58 [[nodiscard]] bool PerformDiffOperation(const InstallOperation& operation,
|
D | vabc_partition_writer.cc | 264 const InstallOperation& operation) { in PerformZeroOrDiscardOperation() argument 265 for (const auto& extent : operation.dst_extents()) { in PerformZeroOrDiscardOperation() 273 const InstallOperation& operation, ErrorCode* error) { in PerformSourceCopyOperation() argument 276 auto source_fd = verified_source_fd_.ChooseSourceFD(operation, error); in PerformSourceCopyOperation() 280 const auto& src_extents = operation.src_extents(); in PerformSourceCopyOperation() 281 const auto& dst_extents = operation.dst_extents(); in PerformSourceCopyOperation() 350 const InstallOperation& operation, in PerformDiffOperation() argument 355 verified_source_fd_.ChooseSourceFD(operation, error); in PerformDiffOperation() 361 operation, in PerformDiffOperation() 368 operation, std::move(writer), source_fd, data, count); in PerformDiffOperation()
|
D | delta_performer.h | 243 bool CanPerformInstallOperation(const InstallOperation& operation); 252 ErrorCode ValidateOperationHash(const InstallOperation& operation); 255 bool PerformInstallOperation(const InstallOperation& operation); 260 bool PerformReplaceOperation(const InstallOperation& operation); 261 bool PerformZeroOrDiscardOperation(const InstallOperation& operation); 262 bool PerformSourceCopyOperation(const InstallOperation& operation, 264 bool PerformDiffOperation(const InstallOperation& operation,
|
/system/update_engine/common/ |
D | cow_operation_convert.cc | 68 for (const auto& operation : operations) { in ConvertToCowOperations() local 69 if (operation.type() != InstallOperation::SOURCE_COPY) { in ConvertToCowOperations() 72 const auto& src_extents = operation.src_extents(); in ConvertToCowOperations() 73 const auto& dst_extents = operation.dst_extents(); in ConvertToCowOperations()
|
/system/extras/boottime_tools/io_analysis/ |
D | check_io_trace.py | 77 operation = match.group(4) 90 if operation[0] == 'R': 94 elif operation[0] == 'W': 100 if operation[0] == 'R': 104 elif operation[0] == 'W': 117 operation = words[cmd_pos + 2] 118 if not operation.startswith("R"):
|
/system/keymaster/android_keymaster/ |
D | android_keymaster.cpp | 616 OperationPtr operation( in BeginOperation() local 618 if (operation.get() == nullptr) return; in BeginOperation() 620 operation->set_secure_deletion_slot(sd_slot); in BeginOperation() 622 if (operation->authorizations().Contains(TAG_TRUSTED_CONFIRMATION_REQUIRED)) { in BeginOperation() 623 if (!operation->create_confirmation_verifier_buffer()) { in BeginOperation() 633 operation->set_key_id(key_id); in BeginOperation() 635 request.purpose, key_id, operation->authorizations(), request.additional_params, in BeginOperation() 641 response->error = operation->Begin(request.additional_params, &response->output_params); in BeginOperation() 644 response->op_handle = operation->operation_handle(); in BeginOperation() 645 response->error = operation_table_->Add(std::move(operation)); in BeginOperation() [all …]
|
D | operation_table.cpp | 25 keymaster_error_t OperationTable::Add(OperationPtr&& operation) { in Add() argument 32 table_[i] = std::move(operation); in Add()
|
/system/update_engine/payload_generator/ |
D | delta_diff_utils.cc | 304 InstallOperation& operation = aop->op; in TryBsdiffAndUpdateOperation() local 305 if (IsDiffOperationBetter(operation, in TryBsdiffAndUpdateOperation() 311 StoreExtents(src_extents_, operation.mutable_src_extents()); in TryBsdiffAndUpdateOperation() 314 operation.set_type(operation_type); in TryBsdiffAndUpdateOperation() 336 InstallOperation& operation = aop->op; in TryPuffdiffAndUpdateOperation() local 337 if (IsDiffOperationBetter(operation, in TryPuffdiffAndUpdateOperation() 341 operation.set_type(InstallOperation::PUFFDIFF); in TryPuffdiffAndUpdateOperation() 381 InstallOperation& operation = aop->op; in TryZucchiniAndUpdateOperation() local 382 if (IsDiffOperationBetter(operation, in TryZucchiniAndUpdateOperation() 386 operation.set_type(InstallOperation::ZUCCHINI); in TryZucchiniAndUpdateOperation() [all …]
|
/system/security/keystore2/src/km_compat/ |
D | lib.rs | 273 let operation = begin_result.operation.unwrap(); in test_begin_abort() localVariable 274 let result = operation.abort(); in test_begin_abort() 276 let result = operation.abort(); in test_begin_abort() 286 let operation = begin_result.operation.unwrap(); in test_begin_update_finish() localVariable 288 let update_aad_result = operation.updateAad( in test_begin_update_finish() 296 let result = operation.finish( in test_begin_update_finish() 310 let operation = begin_result.operation.unwrap(); in test_begin_update_finish() localVariable 312 let update_aad_result = operation.updateAad( in test_begin_update_finish() 319 let result = operation.update( in test_begin_update_finish() 326 let result = operation.finish( in test_begin_update_finish()
|
/system/logging/logd/ |
D | ReplayMessages.cpp | 419 std::unique_ptr<Operation> operation; in main() local 421 operation.reset(new PrintInteresting(first_log_timestamp)); in main() 423 operation.reset(new PrintMemory(first_log_timestamp, argv[3])); in main() 425 operation.reset(new PrintLatency(first_log_timestamp, argv[3])); in main() 427 operation.reset(new PrintLogs(first_log_timestamp, argv[3], argc > 4 ? argv[4] : nullptr, in main() 430 operation.reset( in main() 433 operation.reset(new SingleBufferOperation(first_log_timestamp, argv[3])); in main() 449 operation->Begin(); in main() 462 operation->Log(*meta, msg); in main() 465 operation->End(); in main()
|
/system/chre/apps/nearby/location/lbs/contexthub/nanoapps/proto/ |
D | filter.proto | 13 // Success response to host operation (from CHRE). 15 // Failure response to host operation (from CHRE).
|
/system/hardware/interfaces/wifi/keystore/1.0/ |
D | IKeystore.hal | 38 * @return status KeystoreStatusCode of the operation. 52 * @return status KeystoreStatusCode of the operation. 64 * operation that assumes |dataToSign| is already propertly digested and 68 * @return status KeystoreStatusCode of the operation.
|
/system/security/ondevice-signing/ |
D | KeystoreHmacKey.cpp | 211 auto operation = opResponse.iOperation; in sign() local 214 status = operation->update({message.begin(), message.end()}, &out); in sign() 220 status = operation->finish({}, {}, &signature); in sign() 241 auto operation = opResponse.iOperation; in verify() local 244 status = operation->update({message.begin(), message.end()}, &out); in verify() 251 status = operation->finish({}, in_signature, &out_signature); in verify()
|
/system/core/fs_mgr/libsnapshot/ |
D | partition_cow_creator.cpp | 70 bool OptimizeSourceCopyOperation(const InstallOperation& operation, InstallOperation* optimized) { in OptimizeSourceCopyOperation() argument 71 if (operation.type() != InstallOperation::SOURCE_COPY) { in OptimizeSourceCopyOperation() 78 const auto& src_extents = operation.src_extents(); in OptimizeSourceCopyOperation() 79 const auto& dst_extents = operation.dst_extents(); in OptimizeSourceCopyOperation()
|
/system/core/libutils/ |
D | BitSet_fuzz.cpp | 51 void runOperationFor32Bit(android::BitSet32 bs, uint32_t bit, uint8_t operation) { in runOperationFor32Bit() argument 52 thirtyTwoBitOps[operation](bs, bit); in runOperationFor32Bit()
|
/system/keymaster/include/keymaster/ |
D | operation_table.h | 33 keymaster_error_t Add(OperationPtr&& operation);
|
/system/security/keystore2/src/ |
D | lib.rs | 37 pub mod operation; module
|