Home
last modified time | relevance | path

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

123

/system/keymaster/
Doperation_table.cpp29 delete operation; in ~Entry()
30 operation = NULL; in ~Entry()
34 keymaster_error_t OperationTable::Add(Operation* operation, const KeymasterContext& context, in Add() argument
42 UniquePtr<Operation> op(operation); in Add()
43 keymaster_error_t error = operation->CreateOperationHandle(context, op_handle); in Add()
53 if (table_[i].operation == NULL) { in Add()
54 table_[i].operation = op.release(); in Add()
71 return table_[i].operation; in Find()
82 delete table_[i].operation; in Delete()
83 table_[i].operation = NULL; in Delete()
Dandroid_keymaster.cpp262 UniquePtr<Operation> operation( in BeginOperation() local
264 if (operation.get() == NULL) in BeginOperation()
272 operation->set_key_id(key_id); in BeginOperation()
281 response->error = operation->Begin(request.additional_params, &response->output_params); in BeginOperation()
285 operation->SetAuthorizations(key->authorizations()); in BeginOperation()
286 response->error = operation_table_->Add(operation.release(), *context_, &response->op_handle); in BeginOperation()
295 Operation* operation = operation_table_->Find(request.op_handle); in UpdateOperation() local
296 if (operation == NULL) in UpdateOperation()
301 operation->purpose(), operation->key_id(), operation->authorizations(), in UpdateOperation()
310 operation->Update(request.additional_params, request.input, &response->output_params, in UpdateOperation()
[all …]
Doperation_table.h36 operation = NULL; in Entry()
40 Operation* operation; member
43 keymaster_error_t Add(Operation* operation, const KeymasterContext& context,
/system/update_engine/payload_consumer/
Ddelta_performer.cc885 const chromeos_update_engine::InstallOperation& operation) { in CanPerformInstallOperation() argument
887 if (!operation.has_data_offset() && !operation.has_data_length()) in CanPerformInstallOperation()
891 if (operation.data_offset() < buffer_offset_) { in CanPerformInstallOperation()
896 return (operation.data_offset() + operation.data_length() <= in CanPerformInstallOperation()
901 const InstallOperation& operation) { in PerformReplaceOperation() argument
902 CHECK(operation.type() == InstallOperation::REPLACE || in PerformReplaceOperation()
903 operation.type() == InstallOperation::REPLACE_BZ || in PerformReplaceOperation()
904 operation.type() == InstallOperation::REPLACE_XZ); in PerformReplaceOperation()
908 TEST_AND_RETURN_FALSE(buffer_offset_ == operation.data_offset()); in PerformReplaceOperation()
909 TEST_AND_RETURN_FALSE(buffer_.size() >= operation.data_length()); in PerformReplaceOperation()
[all …]
Ddelta_performer.h224 bool CanPerformInstallOperation(const InstallOperation& operation);
233 ErrorCode ValidateOperationHash(const InstallOperation& operation);
246 bool PerformInstallOperation(const InstallOperation& operation);
251 bool PerformReplaceOperation(const InstallOperation& operation);
252 bool PerformZeroOrDiscardOperation(const InstallOperation& operation);
253 bool PerformMoveOperation(const InstallOperation& operation);
254 bool PerformBsdiffOperation(const InstallOperation& operation);
255 bool PerformSourceCopyOperation(const InstallOperation& operation,
257 bool PerformSourceBsdiffOperation(const InstallOperation& operation,
263 bool ExtractSignatureMessageFromOperation(const InstallOperation& operation);
/system/update_engine/payload_generator/
Ddelta_diff_utils.cc538 InstallOperation operation; in DeltaReadFile() local
563 &operation)); in DeltaReadFile()
566 if (operation.dst_extents_size() == 0) { in DeltaReadFile()
567 if (operation.type() == InstallOperation::MOVE) { in DeltaReadFile()
584 aop.op = operation; in DeltaReadFile()
654 InstallOperation operation; in ReadExtentsToDiff() local
700 operation.set_type(op_type); in ReadExtentsToDiff()
710 operation.set_type(version.OperationAllowed(InstallOperation::SOURCE_COPY) in ReadExtentsToDiff()
734 operation.set_type( in ReadExtentsToDiff()
751 operation.set_type(InstallOperation::IMGDIFF); in ReadExtentsToDiff()
[all …]
Dinplace_generator.h183 static bool AddInstallOpToBlocksVector(const InstallOperation& operation,
196 const InstallOperation& operation,
Dpayload_generation_config.cc135 bool PayloadVersion::OperationAllowed(InstallOperation_Type operation) const { in OperationAllowed()
136 switch (operation) { in OperationAllowed()
Dpayload_generation_config.h126 bool OperationAllowed(InstallOperation_Type operation) const;
/system/bt/stack/btm/
Dble_advertiser_hci_interface.h62 virtual void SetAdvertisingData(uint8_t handle, uint8_t operation,
66 virtual void SetScanResponseData(uint8_t handle, uint8_t operation,
98 virtual void SetPeriodicAdvertisingData(uint8_t handle, uint8_t operation,
Dble_advertiser_hci_interface.cc159 void SetAdvertisingData(uint8_t handle, uint8_t operation, in SetAdvertisingData() argument
184 void SetScanResponseData(uint8_t handle, uint8_t operation, in SetScanResponseData() argument
383 void SetAdvertisingData(uint8_t handle, uint8_t operation, in SetAdvertisingData() argument
408 void SetScanResponseData(uint8_t handle, uint8_t operation, in SetScanResponseData() argument
555 void SetAdvertisingData(uint8_t handle, uint8_t operation, in SetAdvertisingData() argument
566 UINT8_TO_STREAM(pp, operation); in SetAdvertisingData()
575 void SetScanResponseData(uint8_t handle, uint8_t operation, in SetScanResponseData() argument
588 UINT8_TO_STREAM(pp, operation); in SetScanResponseData()
656 void SetPeriodicAdvertisingData(uint8_t handle, uint8_t operation, in SetPeriodicAdvertisingData() argument
666 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_cl.cc374 if (p_clcb->operation != GATTC_OPTYPE_DISCOVERY || in gatt_process_find_type_value_rsp()
426 if (p_clcb->operation != GATTC_OPTYPE_DISCOVERY || in gatt_process_read_info_rsp()
530 if (p_clcb->operation == GATTC_OPTYPE_DISCOVERY) { in gatt_process_error_rsp()
533 if ((p_clcb->operation == GATTC_OPTYPE_WRITE) && in gatt_process_error_rsp()
539 } else if ((p_clcb->operation == GATTC_OPTYPE_READ) && in gatt_process_error_rsp()
700 (p_clcb->operation == GATTC_OPTYPE_DISCOVERY)) in gatt_process_read_by_type_rsp()
745 if (p_clcb->operation == GATTC_OPTYPE_DISCOVERY && in gatt_process_read_by_type_rsp()
763 else if (p_clcb->operation == GATTC_OPTYPE_DISCOVERY && in gatt_process_read_by_type_rsp()
802 else if (p_clcb->operation == GATTC_OPTYPE_READ && in gatt_process_read_by_type_rsp()
845 } else if (p_clcb->operation == GATTC_OPTYPE_READ) in gatt_process_read_by_type_rsp()
[all …]
Dgatt_utils.cc661 if (p_clcb->operation == GATTC_OPTYPE_DISCOVERY && in gatt_start_rsp_timer()
720 if (p_clcb->operation == GATTC_OPTYPE_DISCOVERY && in gatt_rsp_timeout()
1314 uint8_t op = p_clcb->operation, disc_type = GATT_DISC_MAX; in gatt_end_operation()
1318 uint8_t operation; in gatt_end_operation() local
1321 p_clcb->operation, p_clcb->op_subtype); in gatt_end_operation()
1324 if (p_cmpl_cb != NULL && p_clcb->operation != 0) { in gatt_end_operation()
1325 if (p_clcb->operation == GATTC_OPTYPE_READ) { in gatt_end_operation()
1333 if (p_clcb->operation == GATTC_OPTYPE_WRITE) { in gatt_end_operation()
1345 if (p_clcb->operation == GATTC_OPTYPE_CONFIG) in gatt_end_operation()
1348 if (p_clcb->operation == GATTC_OPTYPE_DISCOVERY) { in gatt_end_operation()
[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()
316 (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
DIBluetoothGattClient.txt68 * characteristic's permission requirements. If that operation fails, then the
89 * based on the characteristic's permission requirements. If that operation
106 * descriptor's permission requirements. If that operation fails, then the
127 * based on the descriptor's permission requirements. If that operation fails,
/system/hardware/interfaces/net/netd/1.0/
DINetd.hal44 * @return status operation status
53 * @return status operation status
/system/update_engine/
Dupdate_metadata.proto50 // DeltaArchiveManifest. Each operation is applied in order by the client.
181 // This is not used in any other operation.
186 // block_size. Used for BSDIFF, but not in any other operation.
189 // Optional SHA 256 hash of the blob associated with this operation.
192 // the operation doesn't refer to any blob, this field will have
197 // the time of applying the operation. If present, the update_engine daemon
198 // MUST read and verify the source data before applying the operation.
235 // associated operation blobs (in operations[i].data_offset, data_length)
/system/nvram/hal/
Dfake-nvram-seccomp-arm64.policy17 # Control socket operation.
Dfake-nvram-seccomp-x86.policy17 # Control socket operation.
Dfake-nvram-seccomp-x86_64.policy17 # Control socket operation.
Dfake-nvram-seccomp-arm.policy17 # Control socket operation.
/system/core/trusty/keymaster/
DMakefile82 $(KM)/operation.cpp \
178 $(KM)/operation.o \

123