Home
last modified time | relevance | path

Searched refs:dirent (Results 1 – 25 of 56) sorted by relevance

123

/frameworks/base/cmds/idmap2/libidmap2/
DFileUtils.cpp47 struct dirent* dirent; in FindFiles() local
48 while ((dirent = readdir(dir)) != nullptr) { in FindFiles()
49 const std::string path = root + "/" + dirent->d_name; in FindFiles()
50 if (predicate(dirent->d_type, path)) { in FindFiles()
53 if (recurse && dirent->d_type == DT_DIR && strcmp(dirent->d_name, ".") != 0 && in FindFiles()
54 strcmp(dirent->d_name, "..") != 0) { in FindFiles()
/frameworks/base/tools/aapt/
DDirectoryWalker.h31 virtual struct dirent* nextEntry() = 0;
41 struct dirent mEntry;
73 virtual struct dirent* nextEntry() { in nextEntry()
74 struct dirent* entryPtr = readdir(dir); in nextEntry()
DFileFinder.cpp54 struct dirent* entry; in findFiles()
/frameworks/av/drm/drmserver/
DPlugInManager.h205 struct dirent* pEntry; in getPlugInPathList()
229 bool isPlugIn(const struct dirent* pEntry) const { in isPlugIn()
239 bool isDirectory(const struct dirent* pEntry) const { in isDirectory()
246 bool isRegularFile(const struct dirent* pEntry) const { in isRegularFile()
253 bool isLink(const struct dirent* pEntry) const { in isLink()
/frameworks/native/cmds/installd/
Dinstalld.cpp108 struct dirent *dirent; in initialize_directories() local
111 while ((dirent = readdir(dir))) { in initialize_directories()
112 const char *name = dirent->d_name; in initialize_directories()
/frameworks/base/cmds/statsd/src/storage/
DStorageManager.cpp331 dirent* de; in deleteAllFiles()
346 dirent* de; in deleteSuffixedFiles()
368 dirent* de; in sendBroadcast()
390 dirent* de; in hasConfigMetricsReport()
417 dirent* de; in appendConfigMetricsReport()
479 dirent* de; in readConfigFromDisk()
519 dirent* de; in readConfigFromDisk()
585 dirent* de; in trimToFit()
643 dirent* de; in printDirStats()
/frameworks/native/libs/cputimeinstate/
Dcputimeinstate.cpp80 static int isPolicyFile(const struct dirent *d) { in isPolicyFile()
84 static int comparePolicyFiles(const struct dirent **d1, const struct dirent **d2) { in comparePolicyFiles()
96 struct dirent **dirlist; in initGlobals()
/frameworks/av/media/libmedia/include/media/
Dmediascanner.h27 struct dirent;
98 struct dirent* entry, char* fileSpot);
DPluginLoader.h42 struct dirent* pEntry; in PluginLoader()
/frameworks/av/include/media/
Dmediascanner.h27 struct dirent;
98 struct dirent* entry, char* fileSpot);
DPluginLoader.h42 struct dirent* pEntry; in PluginLoader()
/frameworks/base/cmds/idmap/
Dscan.cpp248 struct dirent *dirent; in idmap_scan() local
249 while ((dirent = readdir(dir)) != NULL) { in idmap_scan()
252 snprintf(overlay_apk_path, PATH_MAX, "%s/%s", overlay_dir, dirent->d_name); in idmap_scan()
/frameworks/base/services/core/jni/
Dcom_android_server_AlarmManagerService.cpp290 struct dirent *dirent; in wall_clock_rtc() local
291 while (errno = 0, dirent = readdir(dir.get())) { in wall_clock_rtc()
293 int matched = sscanf(dirent->d_name, "rtc%u", &rtc_id); in wall_clock_rtc()
Dcom_android_server_am_AppCompactor.cpp47 struct dirent* current; in com_android_server_am_AppCompactor_compactSystem()
/frameworks/base/tools/aapt2/io/
DFileSystem.cpp83 while (struct dirent *entry = readdir(d.get())) { in Create()
99 while (struct dirent* leaf_entry = readdir(subdir.get())) { in Create()
/frameworks/native/cmds/rss_hwm_reset/
Drss_hwm_reset.cc55 struct dirent* entry; in main()
/frameworks/av/media/libstagefright/xmlparser/vts/
DValidateMediaCodecs.cpp29 struct dirent* de; in get_files_in_dirs()
/frameworks/native/services/vr/performanced/
Ddirectory_reader.h38 dirent* Next() { in Next()
/frameworks/base/core/xsd/vts/
DValidatePermission.cpp30 struct dirent* de; in get_files_in_dirs()
/frameworks/native/libs/diskusage/
Ddirsize.c35 struct dirent *de; in calculate_dir_size()
/frameworks/base/services/core/xsd/vts/
DValidateDefaultPermissions.cpp36 struct dirent* de; in get_files_in_dirs()
/frameworks/base/core/jni/
Dfd_utils.h96 static int ParseFd(dirent* e, int dir_fd);
/frameworks/av/media/libmedia/
DMediaScanner.cpp135 struct dirent* entry; in doProcessDirectory()
174 struct dirent* entry, char* fileSpot) { in doProcessDirectoryEntry()
/frameworks/av/media/mtp/
DMtpUtils.cpp135 struct dirent* entry; in copyRecursive()
208 struct dirent* entry; in deleteRecursive()
/frameworks/base/tools/aapt/tests/
DMockDirectoryWalker.h42 virtual struct dirent* nextEntry() { in nextEntry()

123