Home | History | Annotate | Download | only in service

Lines Matching refs:outFd

47 static void dumpAsTextToFd(protos::GraphicsStatsProto* proto, int outFd);
280 int outFd = open(path.c_str(), O_CREAT | O_RDWR | O_TRUNC, 0660);
281 if (outFd <= 0) {
286 int wrote = write(outFd, &sCurrentFileVersion, sHeaderSize);
291 close(outFd);
295 FileOutputStreamLite output(outFd);
298 ALOGW("Error writing to fd=%d, path='%s' err=%d (%s)", outFd, path.c_str(),
305 close(outFd);
310 Dump(int outFd, DumpType type) : mFd(outFd), mType(type) {}
321 GraphicsStatsService::Dump* GraphicsStatsService::createDump(int outFd, DumpType type) {
322 return new Dump(outFd, type);