[DO NOT MERGE] AM: Use ActivityMetricsLogger to get app launch times
- Make ActivityMetricsLogger the single source of truth for activity metrics and use it to provide data for Tron, logcat, event logs and {@link android.app.WaitResult} - Remove LaunchTimeTracker - Remove workaround added for b/80084651 - Remove thisTime from WaitResult and logs - Remove am_activity_fully_drawn_time EventLog Tag - Update WaitResult parsing logic in AppLaunch - Discard metrics if a launching activity is already visible. - original bug: 67683350 Compatibility Changes: - thisTime removed from logcat and eventlog. Only totalTime will be displayed. - Change in activity visiblity during launch will invalidate totalTime. am start -w will only report WaitTime in this case. - am_activity_fully_drawn_time is removed from event log. Bug: 117235762 Test: atest google/perf/app-startup/third-party-apps/cold-dropcache-stable-test -v Test: manual tests Test: check applaunch.txt matches test run Change-Id: Ib033594b961be9227256eba2a519dd6c2e3db573 (cherry picked from commit 132ee838) (cherry picked from commit 017cddcb) (cherry picked from commit f8accc5b) (cherry picked from commit af0ea315)
Loading
Please register or sign in to comment