Home
last modified time | relevance | path

Searched refs:mocked (Results 1 – 10 of 10) sorted by relevance

/tools/netsim/rust/daemon/src/devices/
Dchip.rs214 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()
Ddevice.rs224 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()
Ddevices_handler.rs269 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/
Dwireless_adaptor.rs19 wireless::{ble_beacon, mocked},
39 Mock(mocked::CreateParams),
86 CreateParam::Mock(params) => mocked::new(params, chip_id), in new()
Dmod.rs17 pub mod mocked; module
/tools/netsim/rust/daemon/src/bluetooth/
Dmod.rs21 mod mocked; module
24 pub(crate) use self::mocked::*;
/tools/netsim/rust/daemon/src/transport/
Dsocket.rs99 let wireless_create_params = wireless::CreateParam::Mock(wireless::mocked::CreateParams { in handle_hci_client()
Dwebsocket.rs107 let wireless_create_params = wireless::CreateParam::Mock(wireless::mocked::CreateParams { in run_websocket_transport()
Dfd.rs214 wireless::CreateParam::Mock(wireless::mocked::CreateParams { chip_kind }); in run_fd_transport()
/tools/netsim/rust/daemon/src/grpc_server/
Dbackend.rs53 wireless::CreateParam::Mock(wireless::mocked::CreateParams { chip_kind }); in add_chip()