Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c6ac3b51 authored by Riddle Hsu's avatar Riddle Hsu
Browse files

Update trace name for wm perf test

Legacy transition -> shell transition:
 AppTransitionReady -> onTransactionReady
Global transaction is removed:
 open/closeSurfaceTransaction -> applyTransaction

Bug: 206872204
Test: atest InternalWindowOperationPerfTest
Change-Id: I9f619486395ce17e2d0d9db7958869f5c32e146a
parent cf01f294
Loading
Loading
Loading
Loading
+2 −3
Original line number Diff line number Diff line
@@ -52,9 +52,8 @@ public class InternalWindowOperationPerfTest extends WindowManagerPerfTestBase
    private final TraceMarkParser mTraceMarkParser = new TraceMarkParser(
            "applyPostLayoutPolicy",
            "applySurfaceChanges",
            "AppTransitionReady",
            "closeSurfaceTransaction",
            "openSurfaceTransaction",
            "onTransactionReady",
            "applyTransaction",
            "performLayout",
            "performSurfacePlacement",
            "prepareSurfaces",
+2 −0
Original line number Diff line number Diff line
@@ -196,7 +196,9 @@ public class WindowAnimator {
            updateRunningExpensiveAnimationsLegacy();
        }

        Trace.traceBegin(Trace.TRACE_TAG_WINDOW_MANAGER, "applyTransaction");
        mTransaction.apply();
        Trace.traceEnd(Trace.TRACE_TAG_WINDOW_MANAGER);
        mService.mWindowTracing.logState("WindowAnimator");
        ProtoLog.i(WM_SHOW_TRANSACTIONS, "<<< CLOSE TRANSACTION animate");