Home
last modified time | relevance | path

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

/frameworks/av/services/oboeservice/
DSharedMemoryWrapper.cpp70 if (mDataFd.get() == -1) { in setupFifoBuffer()
82 mDataFd.get(), 0); in setupFifoBuffer()
101 mDataFd.reset(); in reset()
110 endpointParcelable->addFileDescriptor(mDataFd, mSharedMemorySizeInBytes); in fillParcelable()
DSharedMemoryWrapper.h41 android::base::unique_fd& getDataFileDescriptor() { return mDataFd; } in getDataFileDescriptor()
76 android::base::unique_fd mDataFd;
/frameworks/base/cmds/incidentd/src/
DWorkDirectory.cpp255 mDataFd(-1), in ReportFile()
262 if (mDataFd >= 0) { in ~ReportFile()
263 close(mDataFd); in ~ReportFile()
377 if (mDataFd >= 0) { in startWritingDataFile()
382 mDataFd = open(mDataFileName.c_str(), O_CREAT | O_TRUNC | O_RDWR | O_CLOEXEC, 0660); in startWritingDataFile()
383 if (mDataFd < 0) { in startWritingDataFile()
390 if (mDataFd >= 0) { in closeDataFile()
391 mEnvelope.set_data_file_size(lseek(mDataFd, 0, SEEK_END)); in closeDataFile()
392 close(mDataFd); in closeDataFile()
393 mDataFd = -1; in closeDataFile()
[all …]
DWorkDirectory.h184 int mDataFd; variable