Home
last modified time | relevance | path

Searched refs:path_buf (Results 1 – 5 of 5) sorted by relevance

/system/security/keystore2/tests/legacy_blobs/
Dkeystore2_legacy_blob_tests.rs144 let path_buf = PathBuf::from("/data/misc/keystore/user_99"); in keystore2_encrypted_characteristics() localVariable
145 if path_buf.as_path().is_dir() { in keystore2_encrypted_characteristics()
146 std::fs::remove_dir_all(path_buf.as_path()).unwrap(); in keystore2_encrypted_characteristics()
185 let mut path_buf = PathBuf::from("/data/misc/keystore/user_99"); in keystore2_encrypted_characteristics() localVariable
186 if !path_buf.as_path().is_dir() { in keystore2_encrypted_characteristics()
187 std::fs::create_dir(path_buf.as_path()).unwrap(); in keystore2_encrypted_characteristics()
189 path_buf.push(".masterkey"); in keystore2_encrypted_characteristics()
190 if !path_buf.as_path().is_file() { in keystore2_encrypted_characteristics()
191 std::fs::write(path_buf.as_path(), SUPERKEY).unwrap(); in keystore2_encrypted_characteristics()
194 let mut path_buf = PathBuf::from("/data/misc/keystore/user_99"); in keystore2_encrypted_characteristics() localVariable
[all …]
/system/extras/ANRdaemon/
DANRdaemon.cpp246 char path_buf[path_buf_size]; in dump_trace() local
254 snprintf(path_buf, path_buf_size, "/data/misc/anrd/dump_of_anrdaemon.%s", time_buf); in dump_trace()
255 int output_fd = creat(path_buf, S_IRWXU); in dump_trace()
257 ALOGE("Failed to create %s. Dump aborted.", path_buf); in dump_trace()
347 ALOGI("Finished dump. Output file stored at: %s", path_buf); in dump_trace()
/system/libufdt/tests/libufdt_verify/
Dufdt_test_overlay.cpp144 char path_buf[1024]; in ufdt_combine_fixup() local
149 if (fixup_len > sizeof(path_buf)) { in ufdt_combine_fixup()
153 path = path_buf; in ufdt_combine_fixup()
/system/libufdt/
Dufdt_overlay.c134 char path_buf[1024]; in ufdt_get_fixup_location() local
138 if (fixup_len > sizeof(path_buf)) { in ufdt_get_fixup_location()
142 path = path_buf; in ufdt_get_fixup_location()
/system/libbase/
Dfile.cpp498 std::unique_ptr<char> path_buf(new char[path_len]); in GetExecutablePath()
499 _NSGetExecutablePath(path_buf.get(), &path_len); in GetExecutablePath()
500 return path_buf.get(); in GetExecutablePath()