Searched refs:path_str (Results 1 – 4 of 4) sorted by relevance
/packages/modules/SdkExtensions/derive_classpath/ |
D | derive_classpath.cpp | 165 const std::string path_str(output_path); in WriteClasspathExports() local 166 if (android::base::StartsWith(path_str, "/data/")) { in WriteClasspathExports() 168 const std::string temp_str(path_str + ".tmp"); in WriteClasspathExports() 172 return rename(temp_str.c_str(), path_str.c_str()) == 0; in WriteClasspathExports() 174 return android::base::WriteStringToFile(content, path_str, /*follow_symlinks=*/true); in WriteClasspathExports()
|
/packages/modules/Virtualization/authfs/src/ |
D | main.rs | 264 for (path_str, digest) in &proto.digests { in prepare_root_dir_entries() 270 let remote_path_str = path_str.strip_prefix(&config.prefix).ok_or_else(|| { in prepare_root_dir_entries() 271 anyhow!("Expect path {} to match prefix {}", path_str, config.prefix) in prepare_root_dir_entries() 282 authfs.add_entry_at_ro_dir_by_path(dir_root_inode, Path::new(path_str), file_entry)?; in prepare_root_dir_entries()
|
D | file.rs | 73 if matches!(path.to_str(), Some(path_str) if !path_str.contains(MAIN_SEPARATOR)) { in validate_basename()
|
/packages/modules/Virtualization/compos/composd/src/ |
D | odrefresh_task.rs | 234 for path_str in compos_info.file_hashes.keys() { in enable_fsverity_to_all() 236 if let Ok(relpath) = Path::new(path_str).strip_prefix(&odrefresh_current_dir) { in enable_fsverity_to_all() 244 warn!("Skip due to unexpected path: {}", path_str); in enable_fsverity_to_all()
|