Home
last modified time | relevance | path

Searched refs:dir_path (Results 1 – 7 of 7) sorted by relevance

/system/libvintf/xsd/halManifest/vts/
DValidateHalManifest.cpp27 static void get_files_in_dirs(const char* dir_path, std::vector<std::string>& files) { in get_files_in_dirs() argument
31 d = opendir(dir_path); in get_files_in_dirs()
59 for (const char* dir_path : locations) { in TEST() local
61 get_files_in_dirs(dir_path, files); in TEST()
63 EXPECT_ONE_VALID_XML_MULTIPLE_LOCATIONS(file_name.c_str(), {dir_path}, in TEST()
/system/media/camera/docs/
Dmetadata-generate92 local dir_path="$(dirname "$file")"
93 echo "Trying to cd into $dir_path" >& /dev/null
95 local git_path="$(cd "$dir_path";
99 local diff_result="$(cd "$dir_path";
/system/core/mkbootimg/
Dunpack_bootimg.py27 def create_out_dir(dir_path): argument
29 if not os.path.exists(dir_path):
30 os.makedirs(dir_path)
/system/extras/simpleperf/
Dutils.cpp236 std::string dir_path = path.substr(0, next_end); in MkdirWithParents() local
237 if (!IsDir(dir_path)) { in MkdirWithParents()
239 int ret = mkdir(dir_path.c_str()); in MkdirWithParents()
241 int ret = mkdir(dir_path.c_str(), 0755); in MkdirWithParents()
244 PLOG(ERROR) << "failed to create dir " << dir_path; in MkdirWithParents()
/system/core/debuggerd/tombstoned/
Dtombstoned.cpp77 CrashQueue(const std::string& dir_path, const std::string& file_name_prefix, size_t max_artifacts, in CrashQueue() argument
80 dir_path_(dir_path), in CrashQueue()
81 dir_fd_(open(dir_path.c_str(), O_DIRECTORY | O_RDONLY | O_CLOEXEC)), in CrashQueue()
87 PLOG(FATAL) << "failed to open directory: " << dir_path; in CrashQueue()
/system/extras/puncture_fs/
Dpuncture_fs.c73 static bool create_unique_file(const char * const dir_path, const u64 size, in create_unique_file() argument
83 sprintf(file_path, "%s/file_%lu", dir_path, id); in create_unique_file()
/system/core/adb/client/
Dfile_sync_client.cpp663 std::string dir_path = path; in sync_stat_fallback() local
664 dir_path.push_back('/'); in sync_stat_fallback()
668 if (sync_lstat(sc, dir_path.c_str(), &tmp_st)) { in sync_stat_fallback()