Home
last modified time | relevance | path

Searched refs:SrcDir (Results 1 – 2 of 2) sorted by relevance

/device/google/gs-common/gear/dumpstate/
Dpixel_dump.cpp55 void dumpLogs(const char* SrcDir, const char* DestDir, int limit, const char* prefix) { in dumpLogs() argument
58 …int num_entries = scandir(SrcDir, &dirent_list, 0, (int (*)(const struct dirent **, const struct d… in dumpLogs()
60 printf("Unable to scan dir: %s.\n", SrcDir); in dumpLogs()
86 …copyFile(concatenatePath(SrcDir, dirent_list[i]->d_name).c_str(), concatenatePath(DestDir, dirent_… in dumpLogs()
97 void copyFile(const char* SrcDir, const char* DestDir) { in copyFile() argument
98 std::ifstream src(SrcDir, std::ios::binary); in copyFile()
/device/google/gs-common/gear/dumpstate/include/dump/
Dpixel_dump.h12 void dumpLogs(const char* SrcDir, const char* DestDir, int limit, const char* prefix);
13 void copyFile(const char* SrcDir, const char* DestDir);