Home
last modified time | relevance | path

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

/device/google/barbet/dumpstate/
DDumpstateDevice.cpp82 int fdDest = open(destFile.c_str(), O_WRONLY | O_CREAT, 0666); in copyFile() local
83 if (fdDest < 0) { in copyFile()
91 TEMP_FAILURE_RETRY(write(fdDest, buffer, size)); in copyFile()
94 close(fdDest); in copyFile()
/device/google/coral/dumpstate/
DDumpstateDevice.cpp83 int fdDest = open(destFile.c_str(), O_WRONLY | O_CREAT, 0666); in copyFile() local
84 if (fdDest < 0) { in copyFile()
92 TEMP_FAILURE_RETRY(write(fdDest, buffer, size)); in copyFile()
95 close(fdDest); in copyFile()
/device/google/redfin/dumpstate/
DDumpstateDevice.cpp80 int fdDest = open(destFile.c_str(), O_WRONLY | O_CREAT, 0666); in copyFile() local
81 if (fdDest < 0) { in copyFile()
89 TEMP_FAILURE_RETRY(write(fdDest, buffer, size)); in copyFile()
92 close(fdDest); in copyFile()
/device/google/sunfish/dumpstate/
DDumpstateDevice.cpp81 int fdDest = open(destFile.c_str(), O_WRONLY | O_CREAT, 0666); in copyFile() local
82 if (fdDest < 0) { in copyFile()
90 TEMP_FAILURE_RETRY(write(fdDest, buffer, size)); in copyFile()
93 close(fdDest); in copyFile()