Home
last modified time | relevance | path

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

/device/google/barbet/dumpstate/
DDumpstateDevice.cpp144 static void createTarFile(std::string tarFile, std::string srcDir) { in createTarFile() argument
152 DIR *dirp = opendir(srcDir.c_str()); in createTarFile()
154 ALOGD("Unable to open folder %s\n", srcDir.c_str()); in createTarFile()
171 std::string path = srcDir + "/" + dirent->d_name; in createTarFile()
202 static void dumpLogs(int fd, std::string srcDir, std::string destDir, in dumpLogs() argument
206 int num_entries = scandir(srcDir.c_str(), in dumpLogs()
233 std::string srcLogFile = srcDir + "/" + dirent_list[i]->d_name; in dumpLogs()
/device/google/coral/dumpstate/
DDumpstateDevice.cpp145 static void createTarFile(std::string tarFile, std::string srcDir) { in createTarFile() argument
153 DIR *dirp = opendir(srcDir.c_str()); in createTarFile()
155 ALOGD("Unable to open folder %s\n", srcDir.c_str()); in createTarFile()
172 std::string path = srcDir + "/" + dirent->d_name; in createTarFile()
203 static void dumpLogs(int fd, std::string srcDir, std::string destDir, in dumpLogs() argument
207 int num_entries = scandir(srcDir.c_str(), in dumpLogs()
234 std::string srcLogFile = srcDir + "/" + dirent_list[i]->d_name; in dumpLogs()
/device/google/redfin/dumpstate/
DDumpstateDevice.cpp142 static void createTarFile(std::string tarFile, std::string srcDir) { in createTarFile() argument
150 DIR *dirp = opendir(srcDir.c_str()); in createTarFile()
152 ALOGD("Unable to open folder %s\n", srcDir.c_str()); in createTarFile()
169 std::string path = srcDir + "/" + dirent->d_name; in createTarFile()
200 static void dumpLogs(int fd, std::string srcDir, std::string destDir, in dumpLogs() argument
204 int num_entries = scandir(srcDir.c_str(), in dumpLogs()
231 std::string srcLogFile = srcDir + "/" + dirent_list[i]->d_name; in dumpLogs()
/device/google/sunfish/dumpstate/
DDumpstateDevice.cpp143 static void createTarFile(std::string tarFile, std::string srcDir) { in createTarFile() argument
151 DIR *dirp = opendir(srcDir.c_str()); in createTarFile()
153 ALOGD("Unable to open folder %s\n", srcDir.c_str()); in createTarFile()
170 std::string path = srcDir + "/" + dirent->d_name; in createTarFile()
201 static void dumpLogs(int fd, std::string srcDir, std::string destDir, in dumpLogs() argument
205 int num_entries = scandir(srcDir.c_str(), in dumpLogs()
232 std::string srcLogFile = srcDir + "/" + dirent_list[i]->d_name; in dumpLogs()