Home
last modified time | relevance | path

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

/packages/modules/Virtualization/demo_native/
Dmain.cpp148 const std::string& work_dir, in create_or_update_idsig_file() argument
150 std::string path = work_dir + "/apk.idsig"; in create_or_update_idsig_file()
162 const std::string& work_dir) { in create_instance_image_file_if_needed() argument
163 std::string path = work_dir + "/instance.img"; in create_instance_image_file_if_needed()
184 IVirtualizationService& service, const std::string& work_dir, const std::string& vm_name, in create_vm_config() argument
189 OR_RETURN(create_or_update_idsig_file(service, work_dir, main_apk)); in create_vm_config()
191 OR_RETURN(create_instance_image_file_if_needed(service, work_dir)); in create_vm_config()
362 TemporaryDir work_dir; in inner_main() local
363 std::string work_dir_path(work_dir.path); in inner_main()
/packages/modules/Virtualization/vm/src/
Drun.rs210 let work_dir = PathBuf::from("/data/local/tmp/microdroid").join(s); in create_work_dir() localVariable
211 println!("creating work dir {}", work_dir.display()); in create_work_dir()
212 fs::create_dir_all(&work_dir).context("failed to mkdir")?; in create_work_dir()
213 Ok(work_dir) in create_work_dir()
221 let work_dir = config.work_dir.unwrap_or(create_work_dir()?); in command_run_microdroid() localVariable
222 let idsig = work_dir.join("apk.idsig"); in command_run_microdroid()
224 let instance_img = work_dir.join("instance.img"); in command_run_microdroid()
239 app_config.set_instance_id(work_dir.join("instance_id"))?; in command_run_microdroid()
Dmain.rs267 work_dir: Option<PathBuf>, field
/packages/modules/Virtualization/apex/
Dsign_virt_apex.py407 with tempfile.TemporaryDirectory() as work_dir:
408 tmp_initrd = os.path.join(work_dir, 'initrd')
409 tmp_bc = os.path.join(work_dir, 'bc')
433 with tempfile.TemporaryDirectory() as work_dir:
454 avbpubkey = os.path.join(work_dir, part_name + '.avbpubkey')
469 def UnpackSuperImg(args, super_img, work_dir): argument
470 tmp_super_img = os.path.join(work_dir, 'super.img')
472 RunCommand(args, ['lpunpack', tmp_super_img, work_dir])
476 with tempfile.TemporaryDirectory() as work_dir:
481 tmp_img = os.path.join(work_dir, part)
[all …]