Home
last modified time | relevance | path

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

/external/adhd/cras/client/cras_tests/src/
Darguments.rs53 Control(ControlCommand),
77 Ok(ControlCommand::parse(program_name, remaining_args)?.map(Command::Control)) in parse()
294 pub enum ControlCommand { enum
306 impl ControlCommand { impl
314 Some("get_volume") => Ok(Some(ControlCommand::GetSystemVolume)), in parse()
328 Ok(Some(ControlCommand::SetSystemVolume(volume))) in parse()
330 Some("get_mute") => Ok(Some(ControlCommand::GetSystemMute)), in parse()
343 Ok(Some(ControlCommand::SetSystemMute(mute))) in parse()
345 Some("list_output_devices") => Ok(Some(ControlCommand::ListOutputDevices)), in parse()
346 Some("list_input_devices") => Ok(Some(ControlCommand::ListInputDevices)), in parse()
[all …]
Dcontrol.rs10 use crate::arguments::ControlCommand;
72 pub fn control(command: ControlCommand) -> Result<()> { in control()
73 use ControlCommand::*; in control()