Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/wm/
DWindowTracingTest.java70 private WindowTracing mWindowTracing; field in WindowTracingTest
86 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 …]
/frameworks/base/services/core/java/com/android/server/wm/
DWindowManagerShellCommand.java79 return mInternal.mWindowTracing.onShellCommand(this, in onCommand()
DWindowManagerService.java369 final WindowTracing mWindowTracing; field in WindowManagerService
959 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()