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 Ahan Wu <ahanwu@google.com> 2022-09-22 15:57:46 +0000
commitff050947ac8a38371578142bf22ce2ea3dba3ff2 (patch)
tree8063a160d0f922c9d0cedb7fef0e6d747b9e1a5b /libs/androidfw/ResourceTimer.cpp
parent8180cfd0522d4b50d6ba1960c2a55666a86cb2a8 (diff)
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: I767681618a3635b2c0ebdae78cf086d56baeaad0 Merged-In: I767681618a3635b2c0ebdae78cf086d56baeaad0
Diffstat (limited to 'libs/androidfw/ResourceTimer.cpp')
0 files changed, 0 insertions, 0 deletions