Home
last modified time | relevance | path

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

/external/crosvm/aarch64/src/
Dlib.rs67 use vm_control::BatteryType;
375 (bat_type, bat_jail): (Option<BatteryType>, Option<Minijail>), in build_vm() argument
643 Some(BatteryType::Goldfish) => { in build_vm()
661 type_: BatteryType::Goldfish, in build_vm()
/external/crosvm/vm_control/src/
Dclient.rs109 let response = match battery_type.parse::<BatteryType>() { in do_modify_battery()
Dlib.rs862 pub enum BatteryType { enum
867 impl FromStr for BatteryType { implementation
872 "goldfish" => Ok(BatteryType::Goldfish), in from_str()
1021 pub type_: BatteryType,
1114 BatCommand(BatteryType, BatControlCommand),
/external/crosvm/x86_64/src/
Dlib.rs137 use vm_control::BatteryType;
687 battery: (Option<BatteryType>, Option<Minijail>), in build_vm() argument
1800 battery: (Option<BatteryType>, Option<Minijail>), in setup_acpi_devices() argument
1813 BatteryType::Goldfish => { in setup_acpi_devices()
1829 type_: BatteryType::Goldfish, in setup_acpi_devices()
/external/crosvm/src/crosvm/
Dconfig.rs64 use vm_control::BatteryType;
834 pub type_: BatteryType,
1984 assert_eq!(bat_config.type_, BatteryType::Goldfish); in parse_battery_valid()
1990 assert_eq!(bat_config.type_, BatteryType::Goldfish); in parse_battery_valid_no_type()
/external/crosvm/arch/src/
Dlib.rs110 use vm_control::BatteryType;
443 battery: (Option<BatteryType>, Option<Minijail>), in build_vm() argument