/frameworks/base/cmds/idmap2/libidmap2/ |
D | FileUtils.cpp | 47 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/ |
D | DirectoryWalker.h | 31 virtual struct dirent* nextEntry() = 0; 41 struct dirent mEntry; 73 virtual struct dirent* nextEntry() { in nextEntry() 74 struct dirent* entryPtr = readdir(dir); in nextEntry()
|
D | FileFinder.cpp | 54 struct dirent* entry; in findFiles()
|
/frameworks/av/drm/drmserver/ |
D | PlugInManager.h | 205 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/ |
D | installd.cpp | 108 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/ |
D | StorageManager.cpp | 84 dirent* de; in findTrainInfoFileNameLocked() 398 dirent* de; in readAllTrainInfo() 430 dirent* de; in deleteAllFiles() 445 dirent* de; in deleteSuffixedFiles() 467 dirent* de; in sendBroadcast() 489 dirent* de; in hasConfigMetricsReport() 516 dirent* de; in appendConfigMetricsReport() 578 dirent* de; in readConfigFromDisk() 618 dirent* de; in readConfigFromDisk() 684 dirent* de; in trimToFit() [all …]
|
/frameworks/av/media/libmedia/include/media/ |
D | mediascanner.h | 27 struct dirent; 98 struct dirent* entry, char* fileSpot);
|
D | PluginLoader.h | 42 struct dirent* pEntry; in PluginLoader()
|
/frameworks/base/services/core/jni/ |
D | com_android_server_AlarmManagerService.cpp | 290 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()
|
D | com_android_server_am_CachedAppOptimizer.cpp | 47 struct dirent* current; in com_android_server_am_CachedAppOptimizer_compactSystem()
|
/frameworks/base/tools/aapt2/io/ |
D | FileSystem.cpp | 83 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/ |
D | rss_hwm_reset.cc | 55 struct dirent* entry; in main()
|
/frameworks/native/services/vr/performanced/ |
D | directory_reader.h | 38 dirent* Next() { in Next()
|
/frameworks/av/media/libstagefright/xmlparser/vts/ |
D | ValidateMediaCodecs.cpp | 29 struct dirent* de; in get_files_in_dirs()
|
/frameworks/base/core/xsd/vts/ |
D | ValidatePermission.cpp | 30 struct dirent* de; in get_files_in_dirs()
|
/frameworks/base/services/core/xsd/vts/ |
D | ValidateDefaultPermissions.cpp | 36 struct dirent* de; in get_files_in_dirs()
|
/frameworks/native/libs/diskusage/ |
D | dirsize.c | 35 struct dirent *de; in calculate_dir_size()
|
/frameworks/base/core/jni/ |
D | fd_utils.h | 96 static int ParseFd(dirent* e, int dir_fd);
|
D | fd_utils.cpp | 481 dirent* dir_entry; in Create() 516 dirent* dir_entry; in Restat() 626 int FileDescriptorTable::ParseFd(dirent* dir_entry, int dir_fd) { in ParseFd()
|
/frameworks/av/media/libmedia/ |
D | MediaScanner.cpp | 135 struct dirent* entry; in doProcessDirectory() 174 struct dirent* entry, char* fileSpot) { in doProcessDirectoryEntry()
|
/frameworks/av/media/mtp/ |
D | MtpUtils.cpp | 135 struct dirent* entry; in copyRecursive() 209 struct dirent* entry; in deleteRecursive()
|
/frameworks/base/tools/aapt/tests/ |
D | MockDirectoryWalker.h | 42 virtual struct dirent* nextEntry() { in nextEntry()
|
/frameworks/native/libs/cputimeinstate/ |
D | cputimeinstate.cpp | 79 static int isPolicyFile(const struct dirent *d) { in isPolicyFile() 83 static int comparePolicyFiles(const struct dirent **d1, const struct dirent **d2) { in comparePolicyFiles() 97 struct dirent **dirlist; in initGlobals()
|
/frameworks/base/cmds/incidentd/src/ |
D | report_directory.cpp | 43 struct dirent* entry; in clean_directory()
|
/frameworks/base/cmds/incidentd/tests/ |
D | Reporter_test.cpp | 117 struct dirent* entry; in InspectFiles()
|