/packages/modules/Virtualization/virtualizationmanager/src/ |
D | composite.rs | 22 use std::fs::{File, OpenOptions}; 40 let mut composite_image = OpenOptions::new() in make_composite_image() 47 OpenOptions::new().create_new(true).read(true).write(true).open(header_path).with_context( in make_composite_image() 51 OpenOptions::new().create_new(true).read(true).write(true).open(footer_path).with_context( in make_composite_image()
|
D | payload.rs | 38 use std::fs::{metadata, File, OpenOptions}; 233 let mut metadata_file = OpenOptions::new() in make_metadata_file()
|
D | aidl.rs | 82 use std::fs::{canonicalize, read_dir, remove_file, File, OpenOptions}; 750 let file = OpenOptions::new() in write_zero_filler()
|
/packages/modules/Virtualization/libs/devicemapper/src/ |
D | loopdevice.rs | 29 use std::fs::{File, OpenOptions}; 110 let ctrl_file = OpenOptions::new() in try_attach() 118 let backing_file = OpenOptions::new() in try_attach() 141 let device_file = OpenOptions::new() in try_attach() 154 let device_file = OpenOptions::new().read(true).write(true).open(&path)?; in detach()
|
D | lib.rs | 35 use std::fs::{File, OpenOptions}; 146 let f = OpenOptions::new() in new() 240 use std::fs::{read, File, OpenOptions}; 270 let mut f = OpenOptions::new().read(true).write(true).open(path).unwrap(); in write_to_dev()
|
/packages/modules/Virtualization/authfs/tests/common/src/ |
D | open_then_run.rs | 25 use std::fs::OpenOptions; 108 OpenOptions::new() in parse_args() 117 OpenOptions::new() in parse_args() 129 OpenOptions::new() in parse_args()
|
/packages/modules/Virtualization/microdroid_manager/src/ |
D | swap.rs | 18 use std::fs::{read_to_string, OpenOptions}; 54 let mut f = OpenOptions::new().read(false).write(true).open(format!("/dev/{}", dev))?; in mkswap() 92 OpenOptions::new() in init_swap()
|
D | verify.rs | 28 use std::fs::OpenOptions; 228 OpenOptions::new() in write_apex_payload_data()
|
D | instance.rs | 43 use std::fs::{File, OpenOptions}; 89 let mut file = OpenOptions::new() in new()
|
D | main.rs | 57 use std::fs::{self, create_dir, File, OpenOptions}; 145 OpenOptions::new().read(false).write(true).open(FAILURE_SERIAL_DEVICE)?.write_all(chunk)?; in write_death_reason_to_serial()
|
/packages/modules/Virtualization/vm/src/ |
D | create_idsig.rs | 20 use std::fs::{File, OpenOptions}; 30 let idsig_file = OpenOptions::new() in command_create_idsig()
|
D | create_partition.rs | 22 use std::fs::OpenOptions; 32 let image = OpenOptions::new() in command_create_partition()
|
/packages/modules/Virtualization/authfs/src/fusefs/ |
D | mount.rs | 18 use std::fs::OpenOptions; 41 let dev_fuse = OpenOptions::new() in mount_and_enter_message_loop()
|
/packages/modules/Bluetooth/system/gd/rust/linux/utils/src/ |
D | uhid_hfp.rs | 6 use std::fs::{File, OpenOptions}; 115 let mut options = OpenOptions::new(); in create()
|
/packages/modules/Virtualization/service_vm/manager/src/ |
D | lib.rs | 31 use std::fs::{self, File, OpenOptions}; 271 return Ok(OpenOptions::new() in instance_img() 277 let instance_img = OpenOptions::new() in instance_img()
|
/packages/modules/Virtualization/compos/composd/src/ |
D | instance_starter.rs | 139 let instance_image = fs::OpenOptions::new() in start_vm() 167 let instance_image = fs::OpenOptions::new() in create_instance_image()
|
D | odrefresh_task.rs | 39 use std::fs::{remove_dir_all, File, OpenOptions}; 253 OpenOptions::new() in open_dir()
|
/packages/modules/Virtualization/authfs/service/src/ |
D | authfs.rs | 23 use std::fs::{remove_dir, OpenOptions}; 59 let file = OpenOptions::new().read(true).write(writable).open(&path).map_err(|e| { in openFile()
|
/packages/modules/Virtualization/encryptedstore/src/ |
D | main.rs | 26 use std::fs::{create_dir_all, OpenOptions}; 132 let mut file = OpenOptions::new() in needs_formatting()
|
/packages/modules/Virtualization/libs/vmconfig/src/ |
D | lib.rs | 31 use std::fs::{File, OpenOptions}; 194 OpenOptions::new() in open_parcel_file()
|
/packages/modules/Virtualization/apkdmverity/src/ |
D | main.rs | 165 use std::fs::{File, OpenOptions}; 302 let f = OpenOptions::new().read(true).write(true).open(ctx.data_backing_file).unwrap(); in tampered_apk() 321 let f = OpenOptions::new().read(true).write(true).open(ctx.hash_backing_file).unwrap(); in tampered_idsig()
|
/packages/modules/Virtualization/zipfuse/src/ |
D | main.rs | 31 use std::fs::{File, OpenOptions}; 95 let dev_fuse = OpenOptions::new().read(true).write(true).open("/dev/fuse")?; in run_fuse() 254 ) -> io::Result<(Option<Self::Handle>, fuse::filesystem::OpenOptions)> { in open() argument 295 Ok((Some(handle), fuse::filesystem::OpenOptions::empty())) in open() 365 ) -> io::Result<(Option<Self::Handle>, fuse::filesystem::OpenOptions)> { in opendir() argument 383 Ok((Some(handle), fuse::filesystem::OpenOptions::CACHE_DIR)) in opendir()
|
/packages/modules/Virtualization/libs/vbmeta/src/ |
D | lib.rs | 204 use std::fs::{self, OpenOptions}; 261 let file = OpenOptions::new() in signed_image_has_valid_vbmeta()
|
/packages/modules/Virtualization/authfs/src/ |
D | fusefs.rs | 25 use fuse::sys::OpenOptions as FuseOpenOptions;
|