Home
last modified time | relevance | path

Searched refs:rsp_data (Results 1 – 9 of 9) sorted by relevance

/system/secretkeeper/hal/src/
Dlib.rs66 let rsp_data = self.channel.execute(&wrapper_data)?; in processSecretManagementRequest() localVariable
67 let rsp = PerformOpResponse::from_slice(&rsp_data).map_err(failed_cbor)?; in processSecretManagementRequest()
92 let rsp_data = self.channel.execute(&wrapper_data)?; in deleteIds() localVariable
93 let rsp = PerformOpResponse::from_slice(&rsp_data).map_err(failed_cbor)?; in deleteIds()
104 let rsp_data = self.channel.execute(&wrapper_data)?; in deleteAll() localVariable
105 let rsp = PerformOpResponse::from_slice(&rsp_data).map_err(failed_cbor)?; in deleteAll()
/system/authgraph/core/src/
Dta.rs82 Ok(rsp_data) => rsp_data, in process()
208 let rsp_data = rsp.into_vec().unwrap(); in test_invalid_data() localVariable
209 assert_eq!(rsp_data, invalid_cbor_rsp_data()); in test_invalid_data()
/system/keymint/ta/src/
Dlib.rs178 pub fn split_rsp(mut rsp_data: &[u8], max_size: usize) -> Result<Vec<Vec<u8>>, Error> { in split_rsp()
179 if rsp_data.is_empty() || max_size < 2 { in split_rsp()
188 let mut num_of_splits = rsp_data.len() / allowed_msg_length; in split_rsp()
189 if rsp_data.len() % allowed_msg_length > 0 { in split_rsp()
193 while rsp_data.len() > allowed_msg_length { in split_rsp()
196 rsp.extend_from_slice(&rsp_data[..allowed_msg_length]); in split_rsp()
199 rsp_data = &rsp_data[allowed_msg_length..]; in split_rsp()
201 let mut last_rsp = vec_try_with_capacity!(rsp_data.len() + 1)?; in split_rsp()
203 last_rsp.extend_from_slice(rsp_data); in split_rsp()
667 Ok(rsp_data) => rsp_data, in process()
Dtests.rs33 let rsp_data = rsp.into_vec().unwrap(); in test_invalid_data() localVariable
34 assert_eq!(rsp_data, invalid_cbor_rsp_data()); in test_invalid_data()
/system/authgraph/hal/src/
Dservice.rs76 let rsp_data = self.channel.execute(&req_data)?; in execute_req() localVariable
78 let outer_rsp = PerformOpResponse::from_slice(&rsp_data).map_err(failed_cbor)?; in execute_req()
/system/secretkeeper/core/src/
Dta.rs249 let rsp_data = match result { in secret_management() localVariable
256 self.encrypt_response(&rsp_data, kid) in secret_management()
492 let rsp_data = rsp.to_vec().unwrap(); in test_invalid_data() localVariable
493 assert_eq!(rsp_data, invalid_cbor_rsp_data()); in test_invalid_data()
/system/keymint/hal/src/
Dlib.rs192 let rsp_data = channel.execute(&req_data)?; in channel_execute() localVariable
195 let rsp_value = kmr_wire::read_to_value(&rsp_data).map_err(failed_cbor)?; in channel_execute()
/system/nfc/src/nfa/include/
Dnfa_hci_api.h199 uint8_t rsp_data[NFA_MAX_HCI_RSP_LEN]; /* Response received */ member
/system/nfc/src/nfa/hci/
Dnfa_hci_act.cc2012 memcpy(evt_data.rsp_rcvd.rsp_data, p_data, data_len); in nfa_hci_handle_generic_gate_rsp()
2069 memcpy(evt_data.rsp_rcvd.rsp_data, p_data, data_len); in nfa_hci_handle_connectivity_gate_pkt()
2129 memcpy(evt_data.rsp_rcvd.rsp_data, p_data, data_len); in nfa_hci_handle_loopback_gate_pkt()