summaryrefslogtreecommitdiff
path: root/services/displayservice/DisplayEventReceiver.cpp
AgeCommit message (Collapse)Author
2025-02-06SF: Fix dispatch of DISPLAY_EVENT_MODE_REJECTION Manasi Navare
The onModeRejected() callback was not getting dispatched correctly from SF to DM because of the missing case for this display event in EventThread.cpp, so add that. While at it, make the Display Event Types enum an enum class so that the compiler will complain for any missing cases. Do the necessary refactor in other files for this. Bug: 393133868 Test: m surfaceflinger, End to End testing forcing Display config failure in DRM HWC and checking that the correct failure and is propagated from DRM HWC to SF and received in DM Flag: com.android.graphics.surfaceflinger.flags.display_config_error_hal Change-Id: I63914a3555466bc6c382ab1bf9ed57eb5eef7cd0 Signed-off-by: Manasi Navare <navaremanasi@google.com>
2018-04-06[DisplayService] Check hidl return value. Peiyong Lin
Handle the returned status from HIDL. Test: manual BUG: 72423188 Change-Id: I49010fbb56b149797430946054e93a00e2b3677c
2017-05-17Fix race condition in displayservice. Steven Moreland
Also addressed a couple of format nits and added copyright headers. Note, this race condition wouldn't have occured as is because the service is only being served on one thread. Test: no race condition still Bug: 38311538 Change-Id: I7516c800eb89280a16468934677fa978daa5dcec
2017-05-17Add displayservice. Steven Moreland
This hidl service provides information about vsync and hotplug to vendor services which is required by at least some camera hal implementations. Test: VtsFwkDisplayServiceV1_0TargetTest Bug: 38311538 Change-Id: Ifc344c11ca4b3c8cebc6f0145f506d1aa774506d