1
0
Fork 0
android_external_drm_hwcomp.../stats
Drew Davenport de45e91269 drm_hwcomposer: Check for IStats service as needed
IStats service is started by system_server which is not running during
VTS tests. In this case, the IStats service is declared, but not
started, which may result in a hang when calling AServiceManager_waitForService.

Acquire the IStats client lazily when reporting atoms, and log an error
upon failure to do so. If IStats is declared, we should expect that the
service will be available under normal operation.

Another benefit of this approach is that acquiring the IStats service is
no longer blocking service initialization.

Change-Id: Ib7a38930b1a3cbcaa629e576f601d7a05980e257
2025-06-25 08:06:33 -06:00
..
CompositionStats.cpp drm_hwcomposer: Remove hwc2_display_t 2025-05-23 09:01:26 -06:00
CompositionStats.h drm_hwcomposer: Remove hwc2_display_t 2025-05-23 09:01:26 -06:00
CompositionStatsAtomReporter.cpp drm_hwcomposer: Report composition stats as vendor atoms 2025-06-10 06:59:51 +00:00
CompositionStatsAtomReporter.h drm_hwcomposer: Report composition stats as vendor atoms 2025-06-10 06:59:51 +00:00
CompositionStatsAtomReporterDesktop.cpp drm_hwcomposer: Check for IStats service as needed 2025-06-25 08:06:33 -06:00
CompositionStatsPoller.cpp drm_hwcomposer: Report composition stats as vendor atoms 2025-06-10 06:59:51 +00:00
CompositionStatsPoller.h drm_hwcomposer: Report composition stats as vendor atoms 2025-06-10 06:59:51 +00:00
CompositionStatsTest.cpp drm_hwcomposer: Remove hwc2_display_t 2025-05-23 09:01:26 -06:00