Home
last modified time | relevance | path

Searched refs:radio_stats (Results 1 – 6 of 6) sorted by relevance

/tools/netsim/rust/daemon/src/
Dsession.rs120 radio_stats, device_id, .. in start()
126 for mut r in radio_stats { in start()
128 lock.stats_proto.radio_stats.push(r); in start()
188 current_stats.radio_stats.extend(get_radio_stats()); in get_current_stats()
225 assert_eq!(lock.stats_proto.radio_stats.len(), 0); in test_new()
402 assert_eq!(get_stats_proto(&session).radio_stats.len(), 0usize); in test_start_and_chip_add_and_remove()
408 radio_stats: vec![NetsimRadioStats { ..Default::default() }], in test_start_and_chip_add_and_remove()
429 assert_eq!(stats_proto.radio_stats.len(), 1usize); in test_start_and_chip_add_and_remove()
Devents.rs70 pub radio_stats: Vec<ProtoRadioStats>, field
/tools/netsim/rust/proto/src/
Dstats.rs1296 pub radio_stats: ::std::vec::Vec<NetsimRadioStats>, field
1430 |m: &NetsimStats| { &m.radio_stats }, in generated_message_descriptor_data()
1431 |m: &mut NetsimStats| { &mut m.radio_stats }, in generated_message_descriptor_data()
1471 self.radio_stats.push(is.read_message()?); in merge_from()
1500 for value in &self.radio_stats { in compute_size()
1526 for v in &self.radio_stats { in write_to_with_cached_sizes()
1555 self.radio_stats.clear(); in clear()
1566 radio_stats: ::std::vec::Vec::new(), in default_instance()
/tools/netsim/rust/daemon/src/devices/
Ddevice.rs176 let radio_stats = self in remove_chip() localVariable
186 Ok(radio_stats) in remove_chip()
Ddevices_handler.rs335 let (is_empty, radio_stats) = match manager.devices.write().unwrap().entry(device_id) { in remove_chip()
338 let radio_stats = device.remove_chip(&chip_id)?; in remove_chip() localVariable
339 (device.chips.read().unwrap().is_empty(), radio_stats) in remove_chip()
357 radio_stats, in remove_chip()
860 for mut radio_stats in chip.get_stats() { in get_radio_stats()
861 radio_stats.set_device_id(device_id.0); in get_radio_stats()
862 result.push(radio_stats); in get_radio_stats()
/tools/netsim/proto/netsim/
Dstats.proto83 repeated NetsimRadioStats radio_stats = 4; field