Home
last modified time | relevance | path

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

/external/crosvm/libcrosvm_control/src/
Dlib.rs225 battery_type: *const c_char, in crosvm_client_modify_battery()
231 if battery_type.is_null() || property.is_null() || target.is_null() { in crosvm_client_modify_battery()
234 let battery_type = unsafe { CStr::from_ptr(battery_type) }; in crosvm_client_modify_battery() localVariable
240 &battery_type.to_str().unwrap(), in crosvm_client_modify_battery()
/external/crosvm/vm_control/src/
Dclient.rs155 battery_type: &str, in do_modify_battery()
159 let response = match battery_type.parse::<BatteryType>() { in do_modify_battery()
/external/crosvm/src/
Dcrosvm.rs253 pub battery_type: Option<BatteryType>, field
329 battery_type: None, in default()
Dmain.rs653 let mut battery_type: BatteryType = Default::default(); in parse_battery_options() localVariable
664 Ok(type_) => battery_type = type_, in parse_battery_options()
683 Ok(battery_type) in parse_battery_options()
1641 cfg.battery_type = Some(params); in set_argument()
2337 let battery_type = args.next().unwrap(); in modify_battery() localVariable
2344 do_modify_battery(&socket_path, &*battery_type, &*property, &*target) in modify_battery()
Dlinux.rs2443 let battery = if cfg.battery_type.is_some() { in run_vm()
2468 (&cfg.battery_type, jail) in run_vm()
2470 (&cfg.battery_type, None) in run_vm()
/external/autotest/client/cros/power/
Dpower_status.py309 battery_type = BatteryDataReportType.ENERGY
311 battery_type = BatteryDataReportType.CHARGE
331 if battery_type == BatteryDataReportType.CHARGE:
354 elif battery_type == BatteryDataReportType.ENERGY:
/external/crosvm/x86_64/src/
Dlib.rs1084 let bat_control = if let Some(battery_type) = battery.0 { in setup_acpi_devices()
1085 match battery_type { in setup_acpi_devices()
/external/cpuinfo/test/dmesg/
Dgalaxy-a8-2016-duos.log932 [ 1.763693] [1: swapper/0: 1] sm5703_fg_parse_dt() line-948: battery0,battery_type = <4…
Dgalaxy-j5.log936 [ 1.885822] [1: swapper/0: 1] sm5703_fg_parse_dt() line-948: battery0,battery_type = <4…
Dgalaxy-s8-us.log1519 … swapper/0: 1] sm5720_fuelgauge_parse_dt() line-3151: battery0,battery_type = <4400 0x0 0x1…