diff options
| author | 2022-08-26 18:31:31 +0000 | |
|---|---|---|
| committer | 2022-09-16 18:03:44 +0000 | |
| commit | 2864143e32cc27d165f2f2104e39f5c7ba467862 (patch) | |
| tree | 565392eb36cacc76adcaf48fb3f166e9d097aa30 /libs/androidfw/StringPool.cpp | |
| parent | e4df5f53f6f4486832c81568e942f88079203a0c (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
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions