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 …]
77 return mInternal.mWindowTracing.onShellCommand(this); in onCommand()
390 final WindowTracing mWindowTracing; field in WindowManagerService429 if (asProto && mWindowTracing.isEnabled()) {430 mWindowTracing.stopTrace(null, false /* writeToFile */);432 mWindowTracing.writeTraceToFile();433 mWindowTracing.startTrace(null);912 mWindowTracing.logState(where); in closeSurfaceTransaction()1050 mWindowTracing = WindowTracing.createDefaultAndStartLooper(this, in WindowManagerService()5284 mWindowTracing.startTrace(null /* printwriter */); in startWindowTrace()5289 mWindowTracing.stopTrace(null /* printwriter */); in stopWindowTrace()5294 return mWindowTracing.isEnabled(); in isWindowTraceEnabled()[all …]