Home
last modified time | relevance | path

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

/frameworks/base/cmds/incidentd/src/
DWorkDirectory.cpp252 mDataFd(-1), in ReportFile()
259 if (mDataFd >= 0) { in ~ReportFile()
260 close(mDataFd); in ~ReportFile()
373 if (mDataFd >= 0) { in startWritingDataFile()
378 mDataFd = open(mDataFileName.c_str(), O_CREAT | O_TRUNC | O_RDWR | O_CLOEXEC, 0660); in startWritingDataFile()
379 if (mDataFd < 0) { in startWritingDataFile()
386 if (mDataFd >= 0) { in closeDataFile()
387 mEnvelope.set_data_file_size(lseek(mDataFd, 0, SEEK_END)); in closeDataFile()
388 close(mDataFd); in closeDataFile()
389 mDataFd = -1; in closeDataFile()
[all …]
DWorkDirectory.h184 int mDataFd; variable