Home
last modified time | relevance | path

Searched refs:event_callback_ (Results 1 – 2 of 2) sorted by relevance

/frameworks/native/services/vr/hardware_composer/impl/
Dvr_hwc.cpp261 event_callback_ = callback; in registerEventCallback()
271 event_callback_->onHotplug(kDefaultDisplayId, in registerEventCallback()
279 event_callback_ = nullptr; in unregisterEventCallback()
961 if (event_callback_ != nullptr) { in ForceDisplaysRefresh()
963 event_callback_->onRefresh(pair.first); in ForceDisplaysRefresh()
990 LOG_ALWAYS_FATAL_IF(event_callback_ != nullptr && primary_display == nullptr, in UpdateVsyncCallbackEnabledLocked()
993 event_callback_ != nullptr && primary_display->vsync_enabled(); in UpdateVsyncCallbackEnabledLocked()
994 vsync_callback_->SetEventCallback(send_vsync ? event_callback_ : nullptr); in UpdateVsyncCallbackEnabledLocked()
Dvr_hwc.h324 EventCallback* event_callback_ = nullptr; variable