Home
last modified time | relevance | path

Searched defs:u32 (Results 1 – 20 of 20) sorted by relevance

/tools/netsim/rust/daemon/src/
Dffi.rs43 fn handle_request_cxx(chip_id: u32, packet: &CxxVector<u8>, packet_type: u8); in handle_request_cxx()
46 fn handle_response_cxx(chip_id: u32, packet: &CxxVector<u8>, packet_type: u8); in handle_response_cxx()
55 fn register_grpc_transport(chip_id: u32); in register_grpc_transport()
58 fn unregister_grpc_transport(chip_id: u32); in unregister_grpc_transport()
67 fn HandleResponseCxx(chip_id: u32, packet: &Vec<u8>, packet_type: u8); in HandleResponseCxx()
79 fn GetGrpcPort(self: &GrpcServer) -> u32; in GetGrpcPort()
84 netsim_grpc_port: u32, in RunGrpcServerCxx()
99 fn StreamPackets(server: &String) -> u32; in StreamPackets()
106 stream_id: u32, in ReadPacketResponseLoop()
107 read_fn: fn(stream_id: u32, proto_bytes: &[u8]), in ReadPacketResponseLoop()
[all …]
Dservice.rs110 fn run_grpc_server(&mut self) -> Option<u32> { in run_grpc_server()
147 fn write_ports_to_ini(&self, grpc_port: u32, web_port: Option<u16>) { in write_ports_to_ini()
203 pub fn new_test_beacon(idx: u32, interval: u64) { in new_test_beacon()
/tools/netsim/rust/daemon/src/transport/
Dgrpc.rs43 pub fn register_grpc_transport(chip_id: u32) { in register_grpc_transport()
48 pub fn unregister_grpc_transport(chip_id: u32) { in unregister_grpc_transport()
Dfd.rs350 fn connector_grpc_read_callback(stream_id: u32, proto_bytes: &[u8]) { in connector_grpc_read_callback()
371 fn connector_grpc_reader(chip_kind: u32, stream_id: u32, file_in: File) -> JoinHandle<()> { in connector_grpc_reader()
/tools/netsim/rust/proto/src/
Dstats.rs387 pub fn device_id(&self) -> u32 { in device_id()
400 pub fn set_device_id(&mut self, v: u32) { in set_device_id()
853 pub fn get_version(&self) -> u32 { in get_version()
866 pub fn set_get_version(&mut self, v: u32) { in set_get_version()
872 pub fn create_device(&self) -> u32 { in create_device()
885 pub fn set_create_device(&mut self, v: u32) { in set_create_device()
891 pub fn delete_chip(&self) -> u32 { in delete_chip()
904 pub fn set_delete_chip(&mut self, v: u32) { in set_delete_chip()
910 pub fn patch_device(&self) -> u32 { in patch_device()
923 pub fn set_patch_device(&mut self, v: u32) { in set_patch_device()
[all …]
/tools/netsim/rust/cli/src/
Dffi.rs19 fn handle_error(&self, error_code: u32, error_message: &str) { in handle_error()
29 fn handle_error(&self, error_code: u32, error_message: &str); in handle_error()
53 fn handle_error(&self, error_code: u32, error_message: &str); in handle_error()
Dfile_handler.rs35 fn handle_error(&self, error_code: u32, error_message: &str) { in handle_error()
Dlib.rs125 fn find_id_for_remove(response: &[u8], cmd: &args::BeaconRemove) -> Result<u32, String> { in find_id_for_remove()
/tools/netsim/rust/daemon/src/wifi/
Dmedium.rs56 fn new(client_id: u32, addr: MacAddress, hwsim_addr: MacAddress) -> Self { in new()
104 pub fn add(&self, client_id: u32) { in add()
111 pub fn remove(&self, client_id: u32) { in remove()
116 pub fn reset(&self, client_id: u32) { in reset()
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()
302 pub fn set_enabled(&self, client_id: u32, enabled: bool) { in set_enabled()
470 fn log_hwsim_msg(frame: &Frame, client_id: u32, dest_client_id: u32) { in log_hwsim_msg()
/tools/netsim/rust/daemon/src/captures/
Dcaptures_handler.rs242 packet_type: u32, in handle_packet()
291 pub fn host_to_controller(chip_id: ChipIdentifier, packet: &Bytes, packet_type: u32) { in host_to_controller()
301 pub fn controller_to_host(chip_id: ChipIdentifier, packet: &Bytes, packet_type: u32) { in controller_to_host()
Dpcap_util.rs111 packet_type: u32, in wrap_bt_packet()
Dcapture.rs198 packet_type: u32, in send()
/tools/netsim/rust/common/src/util/
Dos_utils.rs130 pub fn get_hci_port(hci_port_flag: u32, instance: u16) -> u32 { in get_hci_port()
/tools/netsim/rust/daemon/src/bluetooth/
Dchip.rs39 facade_id: u32, in create_add_rust_device_result()
/tools/netsim/rust/daemon/src/wireless/
Dpacket.rs103 pub fn handle_response_cxx(chip_id: u32, packet: &cxx::CxxVector<u8>, packet_type: u8) { in handle_response_cxx()
163 pub fn handle_request_cxx(chip_id: u32, packet: &cxx::CxxVector<u8>, packet_type: u8) { in handle_request_cxx()
Dwifi.rs138 fn medium_callback(id: u32, packet: &Bytes) { in medium_callback()
/tools/security/remote_provisioning/hwtrust/src/cbor/
Dfield_value.rs193 pub fn into_u32(self) -> Result<u32, FieldValueError> { in into_u32()
197 pub fn into_optional_u32(self) -> Result<Option<u32>, FieldValueError> { in into_optional_u32()
/tools/netsim/rust/daemon/src/devices/
Ddevices_handler.rs210 pub fn get_device_id(&self) -> u32 { in get_device_id()
214 pub fn get_chip_id(&self) -> u32 { in get_chip_id()
387 pub fn remove_chip_cxx(device_id: u32, chip_id: u32) { in remove_chip_cxx()
554 pub fn get_distance_cxx(a: u32, b: u32) -> f32 { in get_distance_cxx()
/tools/security/remote_provisioning/hwtrust/src/cbor/rkp/
Ddevice_info.rs12 explicit_version: Option<u32>, in from_cbor_values()
/tools/asuite/adevice/tests/common/
Dfakes.rs83 pub fn wait_calls(&self) -> u32 { in wait_calls()