/tools/security/remote_provisioning/hwtrust/src/cbor/dice/ |
D | entry.rs | 459 Value::Bytes(vec![mode]) in encode_mode() 467 fields.insert(CODE_HASH, Value::Bytes(vec![1; 32])); in valid_payload_sha256() 468 fields.insert(CONFIG_DESC, Value::Bytes(config_desc)); in valid_payload_sha256() 469 fields.insert(CONFIG_HASH, Value::Bytes(config_hash)); in valid_payload_sha256() 470 fields.insert(AUTHORITY_HASH, Value::Bytes(vec![2; 32])); in valid_payload_sha256() 480 fields.insert(CODE_HASH, Value::Bytes(vec![1; 48])); in valid_payload_sha384() 481 fields.insert(CONFIG_DESC, Value::Bytes(config_desc)); in valid_payload_sha384() 482 fields.insert(CONFIG_HASH, Value::Bytes(config_hash)); in valid_payload_sha384() 483 fields.insert(AUTHORITY_HASH, Value::Bytes(vec![2; 48])); in valid_payload_sha384() 498 fields.insert(KEY_USAGE, Value::Bytes(vec![0x20])); in key_usage_only_key_cert_sign() [all …]
|
D | profile.rs | 45 Bytes, enumerator
|
D | chain.rs | 243 iana::OkpKeyParameter::X.to_i64() => Value::Bytes(root_public_key), in chain_from_cbor_root_key_integer_key_ops()
|
/tools/netsim/rust/daemon/src/wireless/ |
D | packet.rs | 23 use bytes::Bytes; 39 fn response(&mut self, packet: Bytes, packet_type: u8); in response() argument 46 packet: Bytes, 108 let packet = Bytes::from(packet.as_slice().to_vec()); in handle_response_cxx() 126 pub fn handle_response(chip_id: ChipIdentifier, packet: &Bytes) { in handle_response() argument 144 pub fn handle_request(chip_id: ChipIdentifier, packet: &Bytes, packet_type: u8) { in handle_request() argument 157 Some(c) => c.wireless_adaptor.handle_request(&Bytes::from(packet_vec)), in handle_request() 164 let packet_bytes = Bytes::from(packet.as_slice().to_vec()); in handle_request_cxx() 174 fn response(&mut self, _packet: Bytes, _packet_type: u8) {} in response() argument
|
D | wifi.rs | 19 use bytes::Bytes; 42 request_sender: std::sync::mpsc::Sender<(u32, Bytes)>, 43 response_sender: std::sync::mpsc::Sender<Bytes>, 48 let (request_sender, rx) = std::sync::mpsc::channel::<(u32, Bytes)>(); in new() 80 let (response_sender, rx) = std::sync::mpsc::channel::<Bytes>(); in new() 101 fn handle_request(&self, packet: &Bytes) { in handle_request() argument 138 fn medium_callback(id: u32, packet: &Bytes) { in medium_callback() argument 143 let bytes = Bytes::copy_from_slice(packet); in handle_wifi_response()
|
D | mocked.rs | 18 use bytes::Bytes; 35 fn handle_request(&self, _packet: &Bytes) {} in handle_request() argument
|
D | uwb.rs | 15 use bytes::Bytes; 66 fn handle_request(&self, packet: &Bytes) { in handle_request() argument 147 handle_response(chip_id, &Bytes::from(packet)); in new()
|
D | wireless_adaptor.rs | 15 use bytes::Bytes; 53 fn handle_request(&self, packet: &Bytes); in handle_request() argument
|
D | ble_beacon.rs | 19 use bytes::Bytes; 49 fn handle_request(&self, packet: &Bytes) { in handle_request() argument
|
D | bluetooth.rs | 19 use bytes::Bytes; 92 fn handle_request(&self, packet: &Bytes) { in handle_request() argument
|
/tools/netsim/rust/daemon/src/wifi/ |
D | medium.rs | 20 use bytes::Bytes; 89 type HwsimCmdCallback = fn(u32, &Bytes); 156 pub fn process(&self, client_id: u32, packet: &Bytes) -> bool { in process() 164 fn process_internal(&self, client_id: u32, packet: &Bytes) -> anyhow::Result<bool> { in process_internal() 221 pub fn process_response(&self, packet: &Bytes) { in process_response() argument 228 fn send_response(&self, packet: &Bytes) -> anyhow::Result<()> { in send_response() 248 fn send_frame_response(&self, packet: &Bytes, hwsim_msg: &HwsimMsg) -> anyhow::Result<()> { in send_frame_response() argument 266 packet: &Bytes, in send_from_ds_frame() argument 283 fn send_tx_info_response(&self, packet: &Bytes, hwsim_msg: &HwsimMsg) -> anyhow::Result<()> { in send_tx_info_response() argument 623 fn build_tx_info_and_compare(frame_bytes: &Bytes, tx_info_expected_bytes: &Bytes) { in build_tx_info_and_compare() argument [all …]
|
/tools/netsim/rust/daemon/src/transport/ |
D | uci.rs | 15 use bytes::Bytes; 31 pub payload: Bytes, 47 Ok(Packet { payload: Bytes::from(buffer) }) in read_uci_packet()
|
D | grpc.rs | 18 use bytes::Bytes; 37 fn response(&mut self, packet: Bytes, packet_type: u8) { in response() argument 58 fn response(&mut self, packet: Bytes, packet_type: u8) { in response() argument
|
D | h4.rs | 15 use bytes::Bytes; 23 pub payload: Bytes, 103 Ok(Packet { h4_type, payload: Bytes::from(packet) }) in read_h4_packet() 137 payload: Bytes::from(RESET_COMMAND[1..].to_vec()), in h4_recovery()
|
D | socket.rs | 21 use bytes::Bytes; 43 fn response(&mut self, packet: Bytes, packet_type: u8) { in response() argument
|
D | websocket.rs | 18 use bytes::Bytes; 75 fn response(&mut self, packet: Bytes, packet_type: u8) { in response() argument
|
D | fd.rs | 28 use bytes::Bytes; 90 fn response(&mut self, packet: Bytes, packet_type: u8) { in response() argument
|
/tools/tradefederation/core/aoa_helper/src/com/android/helper/aoa/ |
D | AoaHID.java | 19 import com.google.common.primitives.Bytes; 126 return Bytes.toArray(mDescriptor); in getDescriptor()
|
/tools/netsim/rust/daemon/src/grpc_server/ |
D | backend.rs | 22 use bytes::Bytes; 101 let packet: Bytes = request.packet().to_vec().into(); in stream_packets() 113 let packet: Bytes = request.hci_packet().packet.to_vec().into(); in stream_packets()
|
/tools/treble/hacksaw/config/ |
D | config_test.go | 43 if bytes.Compare(outputBuffer.Bytes(), expectedOutput) != 0 { 45 string(outputBuffer.Bytes()), string(expectedOutput))
|
/tools/netsim/rust/daemon/src/captures/ |
D | capture.rs | 21 use bytes::Bytes; 171 packet: Bytes, 197 packet: &Bytes, in send() argument
|
D | captures_handler.rs | 30 use bytes::Bytes; 291 pub fn host_to_controller(chip_id: ChipIdentifier, packet: &Bytes, packet_type: u32) { in host_to_controller() argument 301 pub fn controller_to_host(chip_id: ChipIdentifier, packet: &Bytes, packet_type: u32) { in controller_to_host() argument
|
/tools/security/remote_provisioning/hwtrust/src/cbor/rkp/ |
D | protected_data.rs | 126 Value::Bytes(challenge.to_vec()), in validate_mac_key() 128 Value::Bytes(tag.to_vec()), in validate_mac_key() 205 Value::Bytes(b) => cert_buffers.push(b), in from_cbor_value()
|
/tools/security/remote_provisioning/hwtrust/src/ |
D | eek.rs | 87 nonce: Some(Nonce::Bytes(vec![])), in kdf_party_info()
|
/tools/security/remote_provisioning/hwtrust/src/cbor/ |
D | field_value.rs | 71 Value::Bytes(b) => Ok(b), in into_optional_bytes()
|