diff options
| author | 2023-10-03 10:22:07 +0000 | |
|---|---|---|
| committer | 2023-10-04 11:04:15 +0000 | |
| commit | 631a14e89b5a2d6c47ab001de5ec1333b67c7962 (patch) | |
| tree | 80112332001e8ab9f521f87e0b587a1667655756 /libs/ultrahdr/jpegencoderhelper.cpp | |
| parent | e3062abf3ad49a74ffb4f8e9cee2eeb8c46720be (diff) | |
Move common device metrics code to InputDeviceMetricsSource
Move common device metrics code from InputDeviceMetricsCollector to
InputDeviceMetricsSource.
The common code moved is:
* enum class InputDeviceUsageSource
* InputDeviceUsageSource getUsageSourceForKeyArgs(int32_t, const NotifyKeyArgs&)
* set<InputDeviceUsageSource> getUsageSourcesForMotionArgs(const NotifyMotionArgs&)
This code will be used by both InputDeviceMetricsCollector,
which is a part of inputflinger as well as LatencyTracker,
which is a part of the dispatcher.
InputDeviceMetricsSource can be included in the places using the common code.
Bug: 303059859
Test: atest inputflinger_tests:InputDeviceMetricsSourceDeviceClassificationTest
Change-Id: Ia8528e641cd162d5025495d5bf6903b2dbab2ed3
Diffstat (limited to 'libs/ultrahdr/jpegencoderhelper.cpp')
0 files changed, 0 insertions, 0 deletions