Home
last modified time | relevance | path

Searched defs:Path (Results 1 – 25 of 38) sorted by relevance

12

/packages/modules/ConfigInfrastructure/aconfigd/src/
Dutils.rs25 pub(crate) fn set_file_permission(file: &Path, mode: u32) -> Result<(), AconfigdError> { in set_file_permission()
34 pub(crate) fn copy_file(src: &Path, dst: &Path, mode: u32) -> Result<(), AconfigdError> { in copy_file()
71 src: &Path, in copy_file_without_fsync()
72 dst: &Path, in copy_file_without_fsync()
131 file: &Path, in write_pb_to_file()
Dstorage_files_manager.rs91 default_package_map: &Path, in add_storage_files_from_container()
92 default_flag_map: &Path, in add_storage_files_from_container()
93 default_flag_val: &Path, in add_storage_files_from_container()
94 default_flag_info: &Path, in add_storage_files_from_container()
124 default_package_map: &Path, in update_container_storage_files()
125 default_flag_map: &Path, in update_container_storage_files()
126 default_flag_val: &Path, in update_container_storage_files()
127 default_flag_info: &Path, in update_container_storage_files()
182 default_package_map: &Path, in add_or_update_container_storage_files()
183 default_flag_map: &Path, in add_or_update_container_storage_files()
[all …]
Dstorage_files.rs132 package_map: &Path, in from_container()
133 flag_map: &Path, in from_container()
134 flag_val: &Path, in from_container()
135 flag_info: &Path, in from_container()
136 root_dir: &Path, in from_container()
193 root_dir: &Path, in from_pb()
323 file_path: &Path, in get_mutable_file_mapping()
Dtest_utils.rs84 pub(crate) fn has_same_content(file_one: &Path, file_two: &Path) -> bool { in has_same_content()
/packages/modules/Virtualization/guest/authfs/src/file/
Ddir.rs79 basename: &Path, in create_file()
102 basename: &Path, in mkdir()
170 fn force_delete_entry(&mut self, basename: &Path, expect_dir: bool) -> io::Result<Inode> { in force_delete_entry()
189 fn validate_arguments(&self, basename: &Path, mode: u32) -> io::Result<u32> { in validate_arguments()
222 pub fn add_dir(&mut self, basename: &Path, inode: Inode) -> io::Result<()> { in add_dir()
228 pub fn add_file(&mut self, basename: &Path, inode: Inode) -> io::Result<()> { in add_file()
232 fn add_entry(&mut self, basename: &Path, dir_entry: InodeInfo) -> io::Result<()> { in add_entry()
/packages/modules/Virtualization/android/vm/src/
Dcreate_idsig.rs26 apk: &Path, in command_create_idsig()
27 idsig: &Path, in command_create_idsig()
Drun.rs307 console_out_path: Option<&Path>, in run()
308 console_in_path: Option<&Path>, in run()
309 log_path: Option<&Path>, in run()
310 dump_device_tree: Option<&Path>, in run()
364 fn parse_extra_apk_list(apk: &Path, config_path: &str) -> Result<Vec<PathBuf>, Error> { in parse_extra_apk_list()
373 image_path: &Path, in set_encrypted_storage()
Dcreate_partition.rs28 image_path: &Path, in command_create_partition()
/packages/modules/Nfc/libnfc-nci/tools/casimir/
Dbuild.rs39 fn install_generated_module(module_name: &str, prebuilt_var: &str, pdl_name: &Path) { in install_generated_module()
57 fn generate_module(in_file: &Path) { in generate_module()
/packages/modules/Virtualization/android/virtmgr/src/
Dcomposite.rs38 zero_filler_path: &Path, in make_composite_image()
39 output_path: &Path, in make_composite_image()
40 header_path: &Path, in make_composite_image()
41 footer_path: &Path, in make_composite_image()
Dpayload.rs201 temporary_directory: &Path, in make_metadata_file()
273 temporary_directory: &Path, in make_payload_disk()
492 temporary_directory: &Path, in add_microdroid_payload_images()
Ddt_overlay.rs53 dt_path: Option<&'a Path>, in create_device_tree_overlay()
/packages/modules/Virtualization/guest/zipfuse/src/
Dmain.rs84 zip_file: &Path, in run_fuse()
85 mount_point: &Path, in run_fuse()
166 fn new(zip_file: &Path, uid: u32, gid: u32) -> Result<ZipFuse> { in new()
488 fn start_fuse(zip_path: &Path, mnt_path: &Path, opt: Options) { in start_fuse()
497 fn start_fuse(zip_path: &Path, mnt_path: &Path, opt: Options) { in start_fuse()
536 fn run_test(add: fn(&mut zip::ZipWriter<File>), check: fn(&std::path::Path)) { in run_test()
543 check: fn(&std::path::Path), in run_test_with_options()
571 fn check_file(root: &Path, file: &str, content: &[u8]) { in check_file()
587 fn check_dir<S: AsRef<str>>(root: &Path, dir: &str, files: &[S], dirs: &[S]) { in check_dir()
796 fn run_fuse_and_check_test_zip(test_dir: &Path, zip_path: &Path) { in run_fuse_and_check_test_zip()
/packages/modules/Virtualization/guest/encryptedstore/src/
Dmain.rs77 fn encryptedstore_init(blkdevice: &Path, key: &str, mountpoint: &Path) -> Result<()> { in encryptedstore_init()
116 fn enable_crypt(data_device: &Path, key: &str, name: &str) -> Result<PathBuf> { in enable_crypt()
202 fn mount(source: &Path, mountpoint: &Path) -> Result<()> { in mount()
/packages/modules/Virtualization/libs/libcompos_common/
Dcompos_client.rs80 idsig: &Path,
81 idsig_manifest_apk: &Path,
82 idsig_manifest_ext_apk: &Path,
226 idsig_path: &Path, in prepare_idsig()
/packages/modules/Virtualization/android/virtmgr/fsfdt/src/
Dlib.rs27 fn from_fs(fs_path: &Path, fdt_buffer: &'a mut [u8]) -> Result<&'a mut Self>; in from_fs()
34 fn from_fs(fs_path: &Path, fdt_buffer: &'a mut [u8]) -> Result<&'a mut Fdt> { in from_fs()
/packages/modules/Virtualization/guest/authfs/src/fusefs/
Dmount.rs37 mountpoint: &Path, in mount_and_enter_message_loop()
/packages/modules/Bluetooth/tools/rootcanal/rust/
Dbuild.rs56 fn generate_module(in_file: &Path) { in generate_module()
/packages/modules/Virtualization/guest/compsvc/src/
Dcompilation.rs73 odrefresh_path: &Path, in odrefresh()
229 fn spawn_jailed_task(executable: &Path, args: &[String], env_vars: &[String]) -> Result<Minijail> { in spawn_jailed_task()
Dcompsvc.rs143 fn add_artifacts(target_dir: &Path, artifact_signer: &mut ArtifactSigner) -> Result<()> { in add_artifacts()
/packages/modules/ConfigInfrastructure/aflags/src/
Dload_protos.rs22 fn convert_parsed_flag(path: &Path, flag: &ProtoParsedFlag) -> Flag { in convert_parsed_flag()
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DPath.java25 public class Path { class
34 private Path(Path parent, String segment) { in Path() method in Path
/packages/providers/MediaProvider/pdf/framework/libs/pdfClient/
Dpage_object.h73 Path = 2, enumerator
/packages/modules/Virtualization/guest/apkdmverity/src/
Dmain.rs187 fn create_block_aligned_file(path: &Path, data: &[u8]) { in create_block_aligned_file()
197 fn prepare_inputs(test_dir: &Path, apk: &[u8], idsig: &[u8]) -> (PathBuf, PathBuf) { in prepare_inputs()
/packages/modules/Virtualization/libs/devicemapper/src/
Dlib.rs260 fn prepare_tmpfile(test_dir: &Path, filename: &str, sz: u64) -> PathBuf { in prepare_tmpfile()
267 fn write_to_dev(path: &Path, data: &[u8]) { in write_to_dev()

12