Searched refs:mocked (Results 1 – 10 of 10) sorted by relevance
/tools/netsim/rust/daemon/src/devices/ |
D | chip.rs | 214 use crate::wireless::mocked; 243 let mocked_adaptor = mocked::new( in test_new_and_get_with_singleton() 244 &mocked::CreateParams { chip_kind: ProtoChipKind::UNSPECIFIED }, in test_new_and_get_with_singleton() 272 let mocked_adaptor = mocked::new( in test_chip_get_stats() 273 &mocked::CreateParams { chip_kind: ProtoChipKind::UNSPECIFIED }, in test_chip_get_stats() 284 let mocked_adaptor = mocked::new( in test_chip_get() 285 &mocked::CreateParams { chip_kind: ProtoChipKind::UNSPECIFIED }, in test_chip_get() 308 let mocked_adaptor = mocked::new( in test_chip_patch() 309 &mocked::CreateParams { chip_kind: ProtoChipKind::UNSPECIFIED }, in test_chip_patch()
|
D | device.rs | 224 use crate::wireless::mocked; 247 mocked::new(&mocked::CreateParams { chip_kind: ProtoChipKind::UNSPECIFIED }, chip_id_1), in create_test_device() 259 mocked::new(&mocked::CreateParams { chip_kind: ProtoChipKind::UNSPECIFIED }, chip_id_1), in create_test_device()
|
D | devices_handler.rs | 269 wireless::CreateParam::Mock(wireless::mocked::CreateParams { in add_chip_cxx() 275 wireless::CreateParam::Mock(wireless::mocked::CreateParams { in add_chip_cxx() 281 wireless::CreateParam::Mock(wireless::mocked::CreateParams { in add_chip_cxx() 914 wireless::CreateParam::Mock(wireless::mocked::CreateParams { in add_chip()
|
/tools/netsim/rust/daemon/src/wireless/ |
D | wireless_adaptor.rs | 19 wireless::{ble_beacon, mocked}, 39 Mock(mocked::CreateParams), 86 CreateParam::Mock(params) => mocked::new(params, chip_id), in new()
|
D | mod.rs | 17 pub mod mocked; module
|
/tools/netsim/rust/daemon/src/bluetooth/ |
D | mod.rs | 21 mod mocked; module 24 pub(crate) use self::mocked::*;
|
/tools/netsim/rust/daemon/src/transport/ |
D | socket.rs | 99 let wireless_create_params = wireless::CreateParam::Mock(wireless::mocked::CreateParams { in handle_hci_client()
|
D | websocket.rs | 107 let wireless_create_params = wireless::CreateParam::Mock(wireless::mocked::CreateParams { in run_websocket_transport()
|
D | fd.rs | 214 wireless::CreateParam::Mock(wireless::mocked::CreateParams { chip_kind }); in run_fd_transport()
|
/tools/netsim/rust/daemon/src/grpc_server/ |
D | backend.rs | 53 wireless::CreateParam::Mock(wireless::mocked::CreateParams { chip_kind }); in add_chip()
|