Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/gd/rust/linux/utils/src/
Dat_command_parser.rs34 pub enum AtCommandDataType { enum
56 pub data: Option<HashMap<AtCommandDataType, String>>,
129 match data.get(&AtCommandDataType::IPhoneAccevBatteryLevel) { in calculate_battery_percent()
143 match data.get(&AtCommandDataType::XeventBatteryLevel) { in calculate_battery_percent()
145 match data.get(&AtCommandDataType::XeventBatteryLevelRange) { in calculate_battery_percent()
200 ) -> Result<HashMap<AtCommandDataType, String>, String> { in extract_iphoneaccev_data() argument
231 AtCommandDataType::IPhoneAccevBatteryLevel, in extract_iphoneaccev_data()
241 fn extract_xevent_data(args: Vec<String>) -> Result<HashMap<AtCommandDataType, String>, String> { in extract_xevent_data() argument
248 data.insert(AtCommandDataType::XeventEvent, xevent_type.to_string()); in extract_xevent_data()
259 data.insert(AtCommandDataType::XeventBatteryLevel, battery_level.to_string()); in extract_xevent_data()
[all …]