Home
last modified time | relevance | path

Searched refs:operation (Results 1 – 25 of 79) sorted by relevance

1234

/system/update_engine/payload_consumer/
Ddelta_performer.cc981 const chromeos_update_engine::InstallOperation& operation) { in CanPerformInstallOperation() argument
983 if (!operation.has_data_offset() && !operation.has_data_length()) in CanPerformInstallOperation()
987 if (operation.data_offset() < buffer_offset_) { in CanPerformInstallOperation()
992 return (operation.data_offset() + operation.data_length() <= in CanPerformInstallOperation()
997 const InstallOperation& operation) { in PerformReplaceOperation() argument
998 CHECK(operation.type() == InstallOperation::REPLACE || in PerformReplaceOperation()
999 operation.type() == InstallOperation::REPLACE_BZ || in PerformReplaceOperation()
1000 operation.type() == InstallOperation::REPLACE_XZ); in PerformReplaceOperation()
1004 TEST_AND_RETURN_FALSE(buffer_offset_ == operation.data_offset()); in PerformReplaceOperation()
1005 TEST_AND_RETURN_FALSE(buffer_.size() >= operation.data_length()); in PerformReplaceOperation()
[all …]
Ddelta_performer.h185 const InstallOperation& operation,
240 bool CanPerformInstallOperation(const InstallOperation& operation);
249 ErrorCode ValidateOperationHash(const InstallOperation& operation);
252 bool PerformInstallOperation(const InstallOperation& operation);
257 bool PerformReplaceOperation(const InstallOperation& operation);
258 bool PerformZeroOrDiscardOperation(const InstallOperation& operation);
259 bool PerformSourceCopyOperation(const InstallOperation& operation,
261 bool PerformSourceBsdiffOperation(const InstallOperation& operation,
263 bool PerformPuffDiffOperation(const InstallOperation& operation,
270 FileDescriptorPtr ChooseSourceFD(const InstallOperation& operation,
Dpartition_update_generator_android_unittest.cc85 const auto& operation = partition_update.operations(0); in CheckPartitionUpdate() local
86 ASSERT_EQ(InstallOperation::SOURCE_COPY, operation.type()); in CheckPartitionUpdate()
88 ASSERT_EQ(1, operation.src_extents_size()); in CheckPartitionUpdate()
89 ASSERT_EQ(0u, operation.src_extents(0).start_block()); in CheckPartitionUpdate()
90 ASSERT_EQ(content.size() / 4096, operation.src_extents(0).num_blocks()); in CheckPartitionUpdate()
92 ASSERT_EQ(1, operation.dst_extents_size()); in CheckPartitionUpdate()
93 ASSERT_EQ(0u, operation.dst_extents(0).start_block()); in CheckPartitionUpdate()
94 ASSERT_EQ(content.size() / 4096, operation.dst_extents(0).num_blocks()); in CheckPartitionUpdate()
/system/keymaster/android_keymaster/
Dandroid_keymaster.cpp282 OperationPtr operation( in BeginOperation() local
284 if (operation.get() == nullptr) return; in BeginOperation()
290 operation->set_key_id(key_id); in BeginOperation()
292 request.purpose, key_id, operation->authorizations(), request.additional_params, in BeginOperation()
298 response->error = operation->Begin(request.additional_params, &response->output_params); in BeginOperation()
302 response->op_handle = operation->operation_handle(); in BeginOperation()
303 response->error = operation_table_->Add(move(operation)); in BeginOperation()
312 Operation* operation = operation_table_->Find(request.op_handle); in UpdateOperation() local
313 if (operation == nullptr) in UpdateOperation()
318 operation->purpose(), operation->key_id(), operation->authorizations(), in UpdateOperation()
[all …]
Doperation_table.cpp25 keymaster_error_t OperationTable::Add(OperationPtr&& operation) { in Add() argument
33 table_[i] = move(operation); in Add()
/system/update_engine/payload_generator/
Ddelta_diff_utils.cc503 InstallOperation operation; in DeltaMovedAndZeroBlocks() local
504 operation.set_type(InstallOperation::ZERO); in DeltaMovedAndZeroBlocks()
505 *(operation.add_dst_extents()) = in DeltaMovedAndZeroBlocks()
507 aops->push_back({.name = "<zeros>", .op = operation}); in DeltaMovedAndZeroBlocks()
581 InstallOperation operation; in DeltaReadFile() local
613 &operation)); in DeltaReadFile()
616 if (operation.dst_extents_size() == 0) { in DeltaReadFile()
628 aop.op = operation; in DeltaReadFile()
700 InstallOperation operation; in ReadExtentsToDiff() local
745 operation.set_type(op_type); in ReadExtentsToDiff()
[all …]
/system/extras/boottime_tools/io_analysis/
Dcheck_io_trace.py77 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"):
Dcheck_io_trace_all.py142 operation = match.group(5)
153 if 'R' in operation[0]:
158 elif 'W' in operation[0]:
164 if 'R' in operation[0]:
171 elif 'W' in operation[0]:
/system/security/keystore/
Doperation_config.proto23 // A single operation config
40 // operation. Per operation keys must be user authenticated on each usage.
43 // Track which padding mode was used for this operation.
52 // Did the operation succeed? If it didn't, this represents bugs or
56 // What purpose is this operation serving? Encrypt, decrypt, sign verify?
Dkey_config.proto39 // operation. Per operation keys must be user authenticated on each usage.
/system/core/logd/
DReplayMessages.cpp408 std::unique_ptr<Operation> operation; in main() local
410 operation.reset(new PrintInteresting(first_log_timestamp)); in main()
412 operation.reset(new PrintMemory(first_log_timestamp, argv[3])); in main()
414 operation.reset(new PrintLatency(first_log_timestamp, argv[3])); in main()
416 operation.reset(new PrintLogs(first_log_timestamp, argv[3], argc > 4 ? argv[4] : nullptr, in main()
419 operation.reset(new SingleBufferOperation(first_log_timestamp, argv[3])); in main()
435 operation->Begin(); in main()
448 operation->Log(*meta, msg); in main()
451 operation->End(); in main()
/system/bt/stack/btm/
Dble_advertiser_hci_interface.h63 virtual void SetAdvertisingData(uint8_t handle, uint8_t operation,
67 virtual void SetScanResponseData(uint8_t handle, uint8_t operation,
99 virtual void SetPeriodicAdvertisingData(uint8_t handle, uint8_t operation,
Dble_advertiser_hci_interface.cc161 void SetAdvertisingData(uint8_t handle, uint8_t operation, in SetAdvertisingData() argument
186 void SetScanResponseData(uint8_t handle, uint8_t operation, in SetScanResponseData() argument
387 void SetAdvertisingData(uint8_t handle, uint8_t operation, in SetAdvertisingData() argument
412 void SetScanResponseData(uint8_t handle, uint8_t operation, in SetScanResponseData() argument
572 void SetAdvertisingData(uint8_t handle, uint8_t operation, in SetAdvertisingData() argument
583 UINT8_TO_STREAM(pp, operation); in SetAdvertisingData()
592 void SetScanResponseData(uint8_t handle, uint8_t operation, in SetScanResponseData() argument
605 UINT8_TO_STREAM(pp, operation); in SetScanResponseData()
673 void SetPeriodicAdvertisingData(uint8_t handle, uint8_t operation, in SetPeriodicAdvertisingData() argument
683 UINT8_TO_STREAM(pp, operation); in SetPeriodicAdvertisingData()
/system/hardware/interfaces/wifi/keystore/1.0/
DIKeystore.hal38 * @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/core/fs_mgr/libsnapshot/
Dpartition_cow_creator.cpp65 bool OptimizeSourceCopyOperation(const InstallOperation& operation, InstallOperation* optimized) { in OptimizeSourceCopyOperation() argument
66 if (operation.type() != InstallOperation::SOURCE_COPY) { in OptimizeSourceCopyOperation()
73 const auto& src_extents = operation.src_extents(); in OptimizeSourceCopyOperation()
74 const auto& dst_extents = operation.dst_extents(); in OptimizeSourceCopyOperation()
/system/bt/stack/gatt/
Dgatt_utils.cc523 if (p_clcb->operation == GATTC_OPTYPE_DISCOVERY && in gatt_start_rsp_timer()
582 if (p_clcb->operation == GATTC_OPTYPE_DISCOVERY && in gatt_rsp_timeout()
1185 uint8_t op = p_clcb->operation, disc_type = GATT_DISC_MAX; in gatt_end_operation()
1189 uint8_t operation; in gatt_end_operation() local
1193 p_clcb->operation, p_clcb->op_subtype); in gatt_end_operation()
1196 if (p_cmpl_cb != NULL && p_clcb->operation != 0) { in gatt_end_operation()
1197 if (p_clcb->operation == GATTC_OPTYPE_READ) { in gatt_end_operation()
1205 if (p_clcb->operation == GATTC_OPTYPE_WRITE) { in gatt_end_operation()
1217 if (p_clcb->operation == GATTC_OPTYPE_CONFIG) in gatt_end_operation()
1220 if (p_clcb->operation == GATTC_OPTYPE_DISCOVERY) { in gatt_end_operation()
[all …]
Dgatt_cl.cc379 if (p_clcb->operation != GATTC_OPTYPE_DISCOVERY || in gatt_process_find_type_value_rsp()
429 if (p_clcb->operation != GATTC_OPTYPE_DISCOVERY || in gatt_process_read_info_rsp()
533 if (p_clcb->operation == GATTC_OPTYPE_DISCOVERY) { in gatt_process_error_rsp()
536 if ((p_clcb->operation == GATTC_OPTYPE_WRITE) && in gatt_process_error_rsp()
542 } else if ((p_clcb->operation == GATTC_OPTYPE_READ) && in gatt_process_error_rsp()
709 (p_clcb->operation == GATTC_OPTYPE_DISCOVERY)) in gatt_process_read_by_type_rsp()
754 if (p_clcb->operation == GATTC_OPTYPE_DISCOVERY && in gatt_process_read_by_type_rsp()
772 else if (p_clcb->operation == GATTC_OPTYPE_DISCOVERY && in gatt_process_read_by_type_rsp()
807 else if (p_clcb->operation == GATTC_OPTYPE_READ && in gatt_process_read_by_type_rsp()
848 if (p_clcb->operation == GATTC_OPTYPE_READ) in gatt_process_read_by_type_rsp()
[all …]
/system/bt/service/doc/
DIBluetoothGattClientCallback.txt65 * the operation was successful.
73 * this operation was performed on. On success, |value| will contain the
84 * this operation was performed on.
101 * operation was performed on. On success, |value| will contain the
112 * operation was performed on.
DIBluetooth.txt43 * initiating the operation. On success, the adapter state will be
54 * initiating the operation. On success, the adapter state will be
72 * be seen by remote devices during discovery. Returns false if the operation
/system/core/libutils/
DBitSet_fuzz.cpp51 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/
Doperation_table.h36 keymaster_error_t Add(OperationPtr&& operation);
/system/hardware/interfaces/net/netd/1.0/
DINetd.hal44 * @return status operation status
53 * @return status operation status
/system/update_engine/common/
Ddynamic_partition_control_stub.h35 const InstallOperation& operation,
Ddynamic_partition_control_stub.cc38 const InstallOperation& operation, in OptimizeOperation() argument
/system/keymaster/contexts/
Dpure_soft_keymaster_context.cpp339 OperationPtr operation( in UnwrapKey() local
341 if (!operation.get()) return error; in UnwrapKey()
343 error = operation->Begin(wrapping_key_params, &out_params); in UnwrapKey()
352 error = operation->Finish(wrapping_key_params, input, Buffer() /* signature */, &out_params, in UnwrapKey()

1234