Home
last modified time | relevance | path

Searched refs:callbackInfo (Results 1 – 4 of 4) sorted by relevance

/hardware/interfaces/automotive/vehicle/aidl/impl/utils/common/src/
DRecurrentTimer.cpp128 CallbackInfo* callbackInfo = it->second.get(); in handleMessage() local
129 callback = callbackInfo->callback; in handleMessage()
133 (nowNanos - callbackInfo->nextTimeInNanos) / callbackInfo->intervalInNanos + 1; in handleMessage()
134 callbackInfo->nextTimeInNanos += intervalCount * callbackInfo->intervalInNanos; in handleMessage()
136 mLooper->sendMessageAtTime(callbackInfo->nextTimeInNanos, mHandler, Message(callbackId)); in handleMessage()
/hardware/google/graphics/common/libhwc2.1/libdevice/
DExynosDevice.cpp595 const auto& callbackInfo = hotplugEventCallback->second; in onHotPlug() local
596 if (callbackInfo.funcPointer != nullptr && callbackInfo.callbackData != nullptr) { in onHotPlug()
600 callbackInfo.funcPointer); in onHotPlug()
601 callbackFunc(callbackInfo.callbackData, displayId, in onHotPlug()
1321 const auto &callbackInfo = idleCallback->second; in onVsyncIdle() local
1322 if (callbackInfo.funcPointer == nullptr || callbackInfo.callbackData == nullptr) return; in onVsyncIdle()
1326 hwc2_display_t hwcDisplay)>(callbackInfo.funcPointer); in onVsyncIdle()
1327 callbackFunc(callbackInfo.callbackData, displayId); in onVsyncIdle()
1360 const auto &callbackInfo = refreshRateCallback->second; in onRefreshRateChangedDebug() local
1361 if (callbackInfo.funcPointer == nullptr || callbackInfo.callbackData == nullptr) return; in onRefreshRateChangedDebug()
[all …]
/hardware/interfaces/graphics/composer/2.1/utils/hwc2on1adapter/
DHWC2On1Adapter.cpp2541 const auto& callbackInfo = mCallbacks[Callback::Refresh]; in hwc1Invalidate() local
2550 auto refresh = reinterpret_cast<HWC2_PFN_REFRESH>(callbackInfo.pointer); in hwc1Invalidate()
2552 refresh(callbackInfo.data, display); in hwc1Invalidate()
2573 const auto& callbackInfo = mCallbacks[Callback::Vsync]; in hwc1Vsync() local
2579 auto vsync = reinterpret_cast<HWC2_PFN_VSYNC>(callbackInfo.pointer); in hwc1Vsync()
2580 vsync(callbackInfo.data, displayId, timestamp); in hwc1Vsync()
2628 const auto& callbackInfo = mCallbacks[Callback::Hotplug]; in hwc1Hotplug() local
2633 auto hotplug = reinterpret_cast<HWC2_PFN_HOTPLUG>(callbackInfo.pointer); in hwc1Hotplug()
2636 hotplug(callbackInfo.data, displayId, static_cast<int32_t>(hwc2Connected)); in hwc1Hotplug()
/hardware/qcom/display/msm8994/libhwcomposer/
DHWC2On1Adapter.cpp2567 const auto& callbackInfo = mCallbacks[Callback::Refresh]; in hwc1Invalidate() local
2576 auto refresh = reinterpret_cast<HWC2_PFN_REFRESH>(callbackInfo.pointer); in hwc1Invalidate()
2578 refresh(callbackInfo.data, display); in hwc1Invalidate()
2600 const auto& callbackInfo = mCallbacks[Callback::Vsync]; in hwc1Vsync() local
2606 auto vsync = reinterpret_cast<HWC2_PFN_VSYNC>(callbackInfo.pointer); in hwc1Vsync()
2607 vsync(callbackInfo.data, displayId, timestamp); in hwc1Vsync()
2656 const auto& callbackInfo = mCallbacks[Callback::Hotplug]; in hwc1Hotplug() local
2661 auto hotplug = reinterpret_cast<HWC2_PFN_HOTPLUG>(callbackInfo.pointer); in hwc1Hotplug()
2664 hotplug(callbackInfo.data, displayId, static_cast<int32_t>(hwc2Connected)); in hwc1Hotplug()