Home
last modified time | relevance | path

Searched refs:callback_ (Results 1 – 5 of 5) sorted by relevance

/frameworks/native/services/vr/hardware_composer/
Dvr_composer.cpp41 if (callback_.get()) { in registerObserver()
46 callback_ = callback; in registerObserver()
47 IInterface::asBinder(callback_)->linkToDeath(this); in registerObserver()
59 callback_ = nullptr; in clearObserver()
66 if (!callback_.get()) in OnNewFrame()
71 binder::Status ret = callback_->onNewFrame(parcelable_frame, &fence); in OnNewFrame()
81 callback_ = nullptr; in binderDied()
Dvr_composer.h41 sp<IVrComposerCallback> callback_; variable
/frameworks/native/libs/vr/libdvr/
Ddvr_hardware_composer_client.cpp43 CallbackFunction callback_; member in __anonde521ab60111::HwcCallback
50 : callback_(callback) {} in HwcCallback()
56 callback_ = nullptr; in Shutdown()
64 if (!callback_) { in onNewFrame()
72 fence->set_fence(android::base::unique_fd(callback_(dvr_frame.release()))); in onNewFrame()
/frameworks/native/services/vr/hardware_composer/impl/
Dvr_hwc.cpp1017 if (callback_ != nullptr) in onVsync()
1018 callback_->onVsync(kDefaultDisplayId, vsync_timestamp); in onVsync()
1024 callback_ = callback; in SetEventCallback()
Dvr_hwc.h305 EventCallback* callback_; variable