[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 132ee83808ddc2b4ef547d182f6261ca34646599)
(cherry picked from commit 017cddcbcb555b8e0a7a046da08156ca5453e77e)
(cherry picked from commit f8accc5b307e3ec2dc1b99acd9fd5358b9a26dd9)
(cherry picked from commit af0ea31549db45a3d58f8dc05f124320be6b9987)
11 files changed