Home
last modified time | relevance | path

Searched refs:get_response (Results 1 – 2 of 2) sorted by relevance

/hardware/interfaces/security/secretkeeper/aidl/vts/
Dsecretkeeper_cli.rs219 let get_response = self.secret_management_request(&get_request).context("secret mgmt")?; in get() localVariable
220 let get_response = in get() localVariable
221 ResponsePacket::from_slice(&get_response).context("deserialize ResponsePacket")?; in get()
223 if get_response.response_type().unwrap() == ResponseType::Success { in get()
224 let get_response = *GetSecretResponse::deserialize_from_packet(get_response).unwrap(); in get() localVariable
225 Ok(Some(Secret(get_response.secret.0))) in get()
228 let err = *SecretkeeperError::deserialize_from_packet(get_response).unwrap(); in get()
Dsecretkeeper_test_client.rs229 let get_response = self.secret_management_request(&get_request)?; in get_update_policy() localVariable
230 let get_response = ResponsePacket::from_slice(&get_response)?; in get_update_policy() localVariable
232 if get_response.response_type()? == ResponseType::Success { in get_update_policy()
233 let get_response = *GetSecretResponse::deserialize_from_packet(get_response)?; in get_update_policy() localVariable
234 Ok(Secret(get_response.secret.0)) in get_update_policy()
236 let err = *SecretkeeperError::deserialize_from_packet(get_response)?; in get_update_policy()