Home
last modified time | relevance | path

Searched defs:BatterySet (Results 1 – 7 of 7) sorted by relevance

/packages/modules/Bluetooth/system/gd/rust/linux/stack/src/
Dbattery_manager.rs13 pub struct BatterySet { struct
35 /// Helper representation of a collection of BatterySet to simplify passing around data internally. argument
41 fn on_battery_info_updated(&mut self, remote_address: RawAddress, battery_set: BatterySet); in on_battery_info_updated()
57 fn get_battery_information(&self, remote_address: RawAddress) -> Option<BatterySet>; in get_battery_information()
82 pub fn handle_battery_updated(&mut self, remote_address: RawAddress, battery_set: BatterySet) { in handle_battery_updated()
101 fn get_battery_information(&self, remote_address: RawAddress) -> Option<BatterySet> { in get_battery_information()
106 impl BatterySet { implementation
131 pub fn add_or_update_battery_set(&mut self, new_battery_set: BatterySet) { in add_or_update_battery_set()
151 pub fn pick_best(&self) -> Option<BatterySet> { in pick_best()
Dbattery_provider_manager.rs28 fn set_battery_info(&mut self, battery_provider_id: u32, battery_set: BatterySet); in set_battery_info()
60 pub fn get_battery_info(&self, remote_address: RawAddress) -> Option<BatterySet> { in get_battery_info()
97 fn set_battery_info(&mut self, _battery_provider_id: u32, battery_set: BatterySet) { in set_battery_info()
Dbattery_service.rs76 fn get_battery_info(&self, remote_address: RawAddress) -> Option<BatterySet>; in get_battery_info()
94 fn on_battery_info_updated(&mut self, remote_address: RawAddress, battery_info: BatterySet); in on_battery_info_updated()
239 fn set_battery_info(&mut self, remote_address: &RawAddress, value: &Vec<u8>) -> BatterySet { in set_battery_info()
368 fn get_battery_info(&self, remote_address: RawAddress) -> Option<BatterySet> { in get_battery_info()
/packages/modules/Bluetooth/system/gd/rust/linux/service/src/
Diface_battery_manager.rs30 fn on_battery_info_updated(&mut self, remote_address: RawAddress, battery_set: BatterySet) { in on_battery_info_updated()
53 fn get_battery_information(&self, remote_address: RawAddress) -> Option<BatterySet> { in get_battery_information()
Diface_battery_provider_manager.rs42 fn set_battery_info(&mut self, battery_provider_id: u32, battery_set: BatterySet) { in set_battery_info()
/packages/modules/Bluetooth/system/gd/rust/linux/client/src/
Dcallbacks.rs1625 fn on_battery_info_updated(&mut self, remote_address: RawAddress, battery_set: BatterySet) { in on_battery_info_updated()
Ddbus_iface.rs3019 fn get_battery_information(&self, remote_address: RawAddress) -> Option<BatterySet> { in get_battery_information()
3048 fn on_battery_info_updated(&mut self, remote_address: RawAddress, battery_set: BatterySet) {} in on_battery_info_updated()