Lines Matching refs:Some
51 Some(path) => parse_extra_apk_list(&config.apk, path)?, in command_run_app()
106 let storage = if let Some(ref path) = config.microdroid.storage { in command_run_app()
115 Some(open_parcel_file(path, true)?) in command_run_app()
126 let payload = if let Some(config_path) = config.config_path { in command_run_app()
131 } else if let Some(payload_binary_name) = config.payload_binary_name { in command_run_app()
143 let os_name = if let Some(ver) = config.microdroid.gki() { in command_run_app()
179 customConfig: Some(custom_config), in command_run_app()
202 Some(path) => Ok(path), in find_empty_payload_apk_path()
234 payload_binary_name: Some("MicrodroidEmptyPayloadJniLib.so".to_owned()), in command_run_microdroid()
251 if let Some(mem) = config.common.mem { in command_run()
254 if let Some(name) = config.common.name { in command_run()
259 if let Some(gdb) = config.debug.gdb { in command_run()
295 let console_out = if let Some(console_out_path) = console_out_path { in run()
296 Some(File::create(console_out_path).with_context(|| { in run()
300 Some(duplicate_fd(io::stdout())?) in run()
303 if let Some(console_in_path) = console_in_path { in run()
304 Some(File::open(console_in_path).with_context(|| { in run()
308 Some(duplicate_fd(io::stdin())?) in run()
310 let log = if let Some(log_path) = log_path { in run()
311 Some( in run()
316 Some(duplicate_fd(io::stdout())?) in run()
319 let vm = VmInstance::create(service, config, console_out, console_in, log, Some(callback)) in run()