Lines Matching refs:GrpcMethod
16 use crate::ffi::frontend_client_ffi::GrpcMethod;
20 pub fn grpc_method(&self) -> GrpcMethod { in grpc_method() argument
22 Command::Version => GrpcMethod::GetVersion, in grpc_method()
23 Command::Radio(_) => GrpcMethod::PatchDevice, in grpc_method()
24 Command::Move(_) => GrpcMethod::PatchDevice, in grpc_method()
25 Command::Devices(_) => GrpcMethod::ListDevice, in grpc_method()
26 Command::Reset => GrpcMethod::Reset, in grpc_method()
28 args::Capture::List(_) => GrpcMethod::ListCapture, in grpc_method()
29 args::Capture::Get(_) => GrpcMethod::GetCapture, in grpc_method()
30 args::Capture::Patch(_) => GrpcMethod::PatchCapture, in grpc_method()
39 Beacon::Create(_) => GrpcMethod::CreateDevice, in grpc_method()
40 Beacon::Patch(_) => GrpcMethod::PatchDevice, in grpc_method()
41 Beacon::Remove(_) => GrpcMethod::DeleteChip, in grpc_method()
87 expected_grpc_method: GrpcMethod, in test_command() argument
98 test_command("netsim-cli version", GrpcMethod::GetVersion, Vec::new()) in test_version_request()
138 GrpcMethod::PatchDevice, in test_radio_ble()
143 GrpcMethod::PatchDevice, in test_radio_ble()
152 GrpcMethod::PatchDevice, in test_radio_ble_aliases()
157 GrpcMethod::PatchDevice, in test_radio_ble_aliases()
162 GrpcMethod::PatchDevice, in test_radio_ble_aliases()
167 GrpcMethod::PatchDevice, in test_radio_ble_aliases()
176 GrpcMethod::PatchDevice, in test_radio_classic()
181 GrpcMethod::PatchDevice, in test_radio_classic()
190 GrpcMethod::PatchDevice, in test_radio_wifi()
195 GrpcMethod::PatchDevice, in test_radio_wifi()
204 GrpcMethod::PatchDevice, in test_radio_uwb()
209 GrpcMethod::PatchDevice, in test_radio_uwb()
228 GrpcMethod::PatchDevice, in test_move_int()
237 GrpcMethod::PatchDevice, in test_move_float()
246 GrpcMethod::PatchDevice, in test_move_mixed()
255 GrpcMethod::PatchDevice, in test_move_no_z()
262 test_command("netsim-cli devices", GrpcMethod::ListDevice, Vec::new()) in test_devices()
267 test_command("netsim-cli reset", GrpcMethod::Reset, Vec::new()) in test_reset()
272 test_command("netsim-cli capture list", GrpcMethod::ListCapture, Vec::new()) in test_capture_list()
277 test_command("netsim-cli pcap list", GrpcMethod::ListCapture, Vec::new()) in test_capture_list_alias()
372 GrpcMethod::CreateDevice, in test_beacon_create_all_params_ble()
415 GrpcMethod::PatchDevice, in test_beacon_patch_all_params_ble()
446 GrpcMethod::CreateDevice, in test_beacon_create_scan_response()
477 GrpcMethod::PatchDevice, in test_beacon_patch_scan_response()
507 GrpcMethod::CreateDevice, in test_beacon_create_ble_tx_power()
522 test_command("netsim-cli beacon create ble", GrpcMethod::CreateDevice, request) in test_beacon_create_default()
549 GrpcMethod::PatchDevice, in test_beacon_patch_interval()
579 GrpcMethod::CreateDevice, in test_beacon_create_ble_with_address()
617 GrpcMethod::PatchDevice, in test_beacon_patch_ble_with_address()