Home
last modified time | relevance | path

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

/frameworks/base/services/core/xsd/vts/
DValidateDefaultPermissions.cpp28 static std::vector<std::string> get_files_in_dirs(const char* dir_path) { in get_files_in_dirs() argument
30 std::unique_ptr<DIR, decltype(&closedir)> d(opendir(dir_path), closedir); in get_files_in_dirs()
56 for (const char* dir_path : locations) { in TEST() local
57 std::vector<std::string> files = get_files_in_dirs(dir_path); in TEST()
59 EXPECT_ONE_VALID_XML_MULTIPLE_LOCATIONS(file_name.c_str(), {dir_path}, in TEST()
/frameworks/base/core/xsd/vts/
DValidatePermission.cpp28 static void get_files_in_dirs(const char* dir_path, std::vector<std::string>& files) { in get_files_in_dirs() argument
32 d = opendir(dir_path); in get_files_in_dirs()
/frameworks/av/media/libstagefright/xmlparser/vts/
DValidateMediaCodecs.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()
/frameworks/native/cmds/dumpstate/
Ddumpstate.cpp314 static std::vector<DumpData> GetDumpFds(const std::string& dir_path, in GetDumpFds() argument
319 std::unique_ptr<DIR, decltype(&closedir)> dump_dir(opendir(dir_path.c_str()), closedir); in GetDumpFds()
322 MYLOGW("Unable to open directory %s: %s\n", dir_path.c_str(), strerror(errno)); in GetDumpFds()
338 const std::string abs_path = dir_path + base_name; in GetDumpFds()