Searched refs:mWindowTracing (Results 1 – 3 of 3) sorted by relevance
80 private WindowTracing mWindowTracing; field in WindowTracingTest91 mWindowTracing = new WindowTracing(mFile, mWmMock, mChoreographer, in setUp()102 assertFalse(mWindowTracing.isEnabled()); in isEnabled_returnsFalseByDefault()107 mWindowTracing.startTrace(mock(PrintWriter.class)); in isEnabled_returnsTrueAfterStart()108 assertTrue(mWindowTracing.isEnabled()); in isEnabled_returnsTrueAfterStart()113 mWindowTracing.startTrace(mock(PrintWriter.class)); in isEnabled_returnsFalseAfterStop()114 mWindowTracing.stopTrace(mock(PrintWriter.class)); in isEnabled_returnsFalseAfterStop()115 assertFalse(mWindowTracing.isEnabled()); in isEnabled_returnsFalseAfterStop()120 mWindowTracing.logState("where"); in trace_discared_whenNotTracing()126 mWindowTracing.startTrace(mock(PrintWriter.class)); in trace_dumpsWindowManagerState_whenTracing()[all …]
84 return mInternal.mWindowTracing.onShellCommand(this); in onCommand()
444 final WindowTracing mWindowTracing; field in WindowManagerService500 if (asProto && mWindowTracing.isEnabled()) {501 mWindowTracing.stopTrace(null, false /* writeToFile */);503 mWindowTracing.writeTraceToFile();504 mWindowTracing.startTrace(null);1045 mWindowTracing.logState(where); in closeSurfaceTransaction()1193 mWindowTracing = WindowTracing.createDefaultAndStartLooper(this, in WindowManagerService()5407 mWindowTracing.startTrace(null /* printwriter */); in startWindowTrace()5412 mWindowTracing.stopTrace(null /* printwriter */); in stopWindowTrace()5417 return mWindowTracing.isEnabled(); in isWindowTraceEnabled()[all …]