Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/gd/rust/linux/client/src/
Dcommand_handler.rs408 fn get_arg<I>( in get_arg() function
524 let command = get_arg(args, 0)?; in cmd_adapter()
596 "discoverable" => match &get_arg(args, 1)?[..] { in cmd_adapter()
598 let duration = String::from(get_arg(args, 2)?) in cmd_adapter()
615 let duration = String::from(get_arg(args, 2)?) in cmd_adapter()
645 "connectable" => match &get_arg(args, 1)?[..] { in cmd_adapter()
683 let command = get_arg(args, 0)?; in cmd_discovery()
703 let command = get_arg(args, 0)?; in cmd_battery()
704 let addr = RawAddress::from_string(get_arg(args, 1)?).ok_or("Invalid Address")?; in cmd_battery()
774 let command = get_arg(args, 0)?; in cmd_bond()
[all …]