Home
last modified time | relevance | path

Searched refs:mWindowTracing (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DWindowTracingTest.java80 private WindowTracing mWindowTracing; field in WindowTracingTest
91 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 …]
/frameworks/base/services/core/java/com/android/server/wm/
DWindowManagerShellCommand.java77 return mInternal.mWindowTracing.onShellCommand(this); in onCommand()
DWindowManagerService.java390 final WindowTracing mWindowTracing; field in WindowManagerService
429 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 …]