Searched refs:mWindowTracing (Results 1 – 3 of 3) sorted by relevance
70 private WindowTracing mWindowTracing; field in WindowTracingTest86 mWindowTracing = new WindowTracing(mFile); in setUp()91 assertFalse(mWindowTracing.isEnabled()); in isEnabled_returnsFalseByDefault()96 mWindowTracing.startTrace(mock(PrintWriter.class)); in isEnabled_returnsTrueAfterStart()97 assertTrue(mWindowTracing.isEnabled()); in isEnabled_returnsTrueAfterStart()102 mWindowTracing.startTrace(mock(PrintWriter.class)); in isEnabled_returnsFalseAfterStop()103 mWindowTracing.stopTrace(mock(PrintWriter.class)); in isEnabled_returnsFalseAfterStop()104 assertFalse(mWindowTracing.isEnabled()); in isEnabled_returnsFalseAfterStop()109 mWindowTracing.traceStateLocked("where", mWmMock); in trace_discared_whenNotTracing()115 mWindowTracing.startTrace(mock(PrintWriter.class)); in trace_dumpsWindowManagerState_whenTracing()[all …]
79 return mInternal.mWindowTracing.onShellCommand(this, in onCommand()
369 final WindowTracing mWindowTracing; field in WindowManagerService959 mWindowTracing = WindowTracing.createDefaultAndStartLooper(context); in WindowManagerService()5485 mWindowTracing.startTrace(null /* printwriter */); in startWindowTrace()5493 mWindowTracing.stopTrace(null /* printwriter */); in stopWindowTrace()5498 return mWindowTracing.isEnabled(); in isWindowTraceEnabled()6295 mWindowTracing.traceStateLocked(where, this); in traceStateLocked()