Searched refs:mTraceFile (Results 1 – 1 of 1) sorted by relevance
56 private final File mTraceFile; field in WindowTracing63 mTraceFile = file; in WindowTracing()72 logAndPrintln(pw, "Start tracing to " + mTraceFile + "."); in startTrace()74 mTraceFile.delete(); in startTrace()75 try (OutputStream os = new FileOutputStream(mTraceFile)) { in startTrace()76 mTraceFile.setReadable(true, false); in startTrace()99 logAndPrintln(pw, "Stop tracing to " + mTraceFile + ". Waiting for traces to flush."); in stopTrace()113 logAndPrintln(pw, "Trace written to " + mTraceFile + "."); in stopTrace()146 try (OutputStream os = new FileOutputStream(mTraceFile, true /* append */)) { in loopOnce()150 Log.e(TAG, "Failed to write file " + mTraceFile, e); in loopOnce()