Searched refs:os_name (Results 1 – 3 of 3) sorted by relevance
882 fn is_valid_os(os_name: &str) -> bool { in is_valid_os()883 SUPPORTED_OS_NAMES.contains(os_name) in is_valid_os()941 let os_name = config.osName.as_str(); in load_app_config() localVariable942 if !is_valid_os(os_name) { in load_app_config()943 bail!("Unknown OS \"{}\"", os_name); in load_app_config()948 let vm_config_path = PathBuf::from(format!("/apex/com.android.virt/etc/{}.json", os_name)); in load_app_config()978 add_microdroid_system_images(config, instance_file, storage_image, os_name, &mut vm_config)?; in load_app_config()1912 for os_name in &os_names { in test_extract_os_name_from_configs()1913 std::fs::write(tmp_dir_path.join(os_name.to_owned() + ".json"), b"")?; in test_extract_os_name_from_configs()
427 os_name: &str, in add_microdroid_system_images()
143 let os_name = if let Some(ver) = config.microdroid.gki() { in command_run_app() localVariable180 osName: os_name, in command_run_app()