Home
last modified time | relevance | path

Searched refs:mWindowTracing (Results 1 – 4 of 4) 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/
DWindowAnimator.java205 mService.mWindowTracing.logState("WindowAnimator"); in animate()
DWindowManagerService.java480 final WindowTracing mWindowTracing; field in WindowManagerService
1313 mWindowTracing = WindowTracing.createDefaultAndStartLooper(this, in WindowManagerService()
6261 mWindowTracing.startTrace(null /* printwriter */); in startWindowTrace()
6266 mWindowTracing.stopTrace(null /* printwriter */); in stopWindowTrace()
6271 mWindowTracing.saveForBugreport(null /* printwriter */); in saveWindowTraceToFile()
6276 return mWindowTracing.isEnabled(); in isWindowTraceEnabled()
6866 pw.print(mWindowTracing.getStatus() + "\n"); in dumpTraceStatus()
DWindowManagerShellCommand.java111 return mInternal.mWindowTracing.onShellCommand(this); in onCommand()