summaryrefslogtreecommitdiff
path: root/libs/androidfw/ResourceTimer.cpp
diff options
context:
space:
mode:
author Ahan Wu <ahanwu@google.com> 2022-08-26 18:31:31 +0000
committer Wu Ahan <ahanwu@google.com> 2022-09-19 13:48:08 +0000
commit87c0106ea7ef8736aba9fd367cdd4b5558d34fec (patch)
tree5d685fe9a4c3f711b99521bcb8e8d826b16e9e71 /libs/androidfw/ResourceTimer.cpp
parent131fb1ff890f843ce0c176a318127bdc726ef926 (diff)
DO NOT MERGE: Enable presubmit for com.android.internal.jank
This CL consists of following parts: - TEST_MAPPING files for presubmit. - Correct CUJ constant definitions in LatencyTracker. - Use auto-generated enum constants instead of hardcoded numbers in LatencyTracker. - Create LatencyTrackerTest to test: - The constant names of CUJ definitions should be the same with corresponding enum names. - The amount of CUJ definitions should be the same with the amount of enums, means both must be added at the same time. - The static getNameOfXX() methods return just the name of the CUJ constant definitions. - The CUJ constant definitions has 1:1 mapping onto the enums. Bug: 245250904 Test: check TH if FrameworksCoreTests is triggered Test: atest FrameTrackerTest InteractionJankMonitorTest Test: atest LatencyTrackerTest Change-Id: I0a6f403694039aec6b9ce44254f6c5cab531f765 Merged-In: Ibddd36410a0d4a909522de011f23a337b53d6889
Diffstat (limited to 'libs/androidfw/ResourceTimer.cpp')
0 files changed, 0 insertions, 0 deletions