Home
last modified time | relevance | path

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

123

/system/update_engine/payload_consumer/
Ddelta_performer.cc985 const chromeos_update_engine::InstallOperation& operation) { in CanPerformInstallOperation() argument
987 if (!operation.has_data_offset() && !operation.has_data_length()) in CanPerformInstallOperation()
991 if (operation.data_offset() < buffer_offset_) { in CanPerformInstallOperation()
996 return (operation.data_offset() + operation.data_length() <= in CanPerformInstallOperation()
1001 const InstallOperation& operation) { in PerformReplaceOperation() argument
1002 CHECK(operation.type() == InstallOperation::REPLACE || in PerformReplaceOperation()
1003 operation.type() == InstallOperation::REPLACE_BZ || in PerformReplaceOperation()
1004 operation.type() == InstallOperation::REPLACE_XZ); in PerformReplaceOperation()
1008 TEST_AND_RETURN_FALSE(buffer_offset_ == operation.data_offset()); in PerformReplaceOperation()
1009 TEST_AND_RETURN_FALSE(buffer_.size() >= operation.data_length()); in PerformReplaceOperation()
[all …]
Ddelta_performer.h170 const InstallOperation& operation,
207 bool CanPerformInstallOperation(const InstallOperation& operation);
216 ErrorCode ValidateOperationHash(const InstallOperation& operation);
219 bool PerformInstallOperation(const InstallOperation& operation);
224 bool PerformReplaceOperation(const InstallOperation& operation);
225 bool PerformZeroOrDiscardOperation(const InstallOperation& operation);
226 bool PerformMoveOperation(const InstallOperation& operation);
227 bool PerformBsdiffOperation(const InstallOperation& operation);
228 bool PerformSourceCopyOperation(const InstallOperation& operation,
230 bool PerformSourceBsdiffOperation(const InstallOperation& operation,
[all …]
/system/keymaster/android_keymaster/
Dandroid_keymaster.cpp278 OperationPtr operation( in BeginOperation() local
280 if (operation.get() == nullptr) return; in BeginOperation()
286 operation->set_key_id(key_id); in BeginOperation()
288 request.purpose, key_id, operation->authorizations(), request.additional_params, in BeginOperation()
294 response->error = operation->Begin(request.additional_params, &response->output_params); in BeginOperation()
298 response->op_handle = operation->operation_handle(); in BeginOperation()
299 response->error = operation_table_->Add(move(operation)); in BeginOperation()
308 Operation* operation = operation_table_->Find(request.op_handle); in UpdateOperation() local
309 if (operation == nullptr) in UpdateOperation()
314 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.cc624 InstallOperation operation; in DeltaMovedAndZeroBlocks() local
625 operation.set_type(InstallOperation::ZERO); in DeltaMovedAndZeroBlocks()
626 *(operation.add_dst_extents()) = in DeltaMovedAndZeroBlocks()
628 aops->push_back({.name = "<zeros>", .op = operation}); in DeltaMovedAndZeroBlocks()
704 InstallOperation operation; in DeltaReadFile() local
731 &operation)); in DeltaReadFile()
734 if (operation.dst_extents_size() == 0) { in DeltaReadFile()
735 if (operation.type() == InstallOperation::MOVE) { in DeltaReadFile()
751 aop.op = operation; in DeltaReadFile()
823 InstallOperation operation; in ReadExtentsToDiff() local
[all …]
Dinplace_generator.h181 static bool AddInstallOpToBlocksVector(const InstallOperation& operation,
194 const InstallOperation& operation,
/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/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/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()
813 else if (p_clcb->operation == GATTC_OPTYPE_READ && in gatt_process_read_by_type_rsp()
860 if (p_clcb->operation == GATTC_OPTYPE_READ) in gatt_process_read_by_type_rsp()
[all …]
Dgatt_auth.cc138 } else if (p_clcb->operation == GATTC_OPTYPE_WRITE) { in gatt_sec_check_complete()
140 } else if (p_clcb->operation == GATTC_OPTYPE_READ) { in gatt_sec_check_complete()
320 (p_clcb->operation == GATTC_OPTYPE_WRITE) && in gatt_determine_sec_act()
/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/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/keymaster/contexts/
Dpure_soft_keymaster_context.cpp301 OperationPtr operation( in UnwrapKey() local
303 if (!operation.get()) return error; in UnwrapKey()
305 error = operation->Begin(wrapping_key_params, &out_params); in UnwrapKey()
314 error = operation->Finish(wrapping_key_params, input, Buffer() /* signature */, &out_params, in UnwrapKey()
/system/nvram/hal/
Dfake-nvram-seccomp-arm64.policy17 # Control socket operation.
Dfake-nvram-seccomp-arm.policy17 # Control socket operation.
Dfake-nvram-seccomp-x86.policy17 # Control socket operation.
Dfake-nvram-seccomp-x86_64.policy17 # Control socket operation.

123