Home
last modified time | relevance | path

Searched refs:PathBuf (Results 1 – 10 of 10) sorted by relevance

/system/bt/gd/rust/packets/
Dbuild.rs17 use std::path::PathBuf;
21 let out_dir = PathBuf::from(env::var("OUT_DIR").unwrap()); in main()
24 Ok(dir) => PathBuf::from(dir).join("bt/gd"), in main()
26 Err(_) => PathBuf::from(env::current_dir().unwrap()).join("../..").canonicalize().unwrap(), in main()
34 PathBuf::from(env::var("CARGO_HOME").unwrap()).join("bin").join("bluetooth_packetgen"); in main()
/system/bt/gd/rust/facade_proto/
Dbuild.rs23 use std::path::{Path, PathBuf};
30 fn gen_mod_rs<P: AsRef<Path>>(out_dir: PathBuf, inputs: &[P], grpc: bool) { in gen_mod_rs() argument
46 let out_dir = PathBuf::from(env::var("OUT_DIR").unwrap()); in main()
63 Ok(dir) => PathBuf::from(dir).join("bt/gd"), in main()
65 Err(_) => PathBuf::from(env::current_dir().unwrap()).join("../..").canonicalize().unwrap(), in main()
/system/security/keystore2/test_utils/
Dlib.rs19 use std::path::{Path, PathBuf};
25 path: std::path::PathBuf,
88 pub struct PathBuilder(PathBuf);
/system/extras/profcollectd/libprofcollectd/
Dsimpleperf_etm_trace_provider.rs21 use std::path::{Path, PathBuf};
38 let mut trace_file = PathBuf::from(trace_dir); in trace()
61 let mut profile_file = PathBuf::from(profile_dir); in process()
Dservice.rs25 use std::path::PathBuf;
94 let mut report = PathBuf::from(&*REPORT_OUTPUT_DIR); in delete_report()
106 let mut report = PathBuf::from(&*REPORT_OUTPUT_DIR); in copy_report_to_bb()
110 let mut dest = PathBuf::from(&*BETTERBUG_CACHE_DIR_PREFIX); in copy_report_to_bb()
Dreport.rs25 use std::path::{Path, PathBuf};
40 let mut report = PathBuf::from(report); in pack_report()
/system/security/keystore2/src/
Did_rotation.rs26 use std::path::{Path, PathBuf};
37 timestamp_path: PathBuf,
Dlegacy_blob.rs29 use std::{convert::TryInto, fs::File, path::Path, path::PathBuf};
144 path: PathBuf,
755 fn make_legacy_keystore_entry_filename(&self, uid: u32, alias: &str) -> Option<PathBuf> { in make_legacy_keystore_entry_filename() argument
774 fn make_blob_filename(&self, uid: u32, alias: &str, prefix: &str) -> PathBuf { in make_blob_filename() argument
784 fn make_chr_filename(&self, uid: u32, alias: &str, prefix: &str) -> PathBuf { in make_chr_filename() argument
792 fn make_super_key_filename(&self, user_id: u32) -> PathBuf { in make_super_key_filename() argument
798 fn make_user_path_name(&self, user_id: u32) -> PathBuf { in make_user_path_name() argument
Dglobals.rs44 use std::{collections::HashMap, path::Path, path::PathBuf};
141 pub static ref DB_PATH: RwLock<PathBuf> = RwLock::new(
/system/security/keystore2/legacykeystore/
Dlib.rs37 path::{Path, PathBuf},
250 db_path: PathBuf,
257 db_path: PathBuf,