Home
last modified time | relevance | path

Searched refs:Callback (Results 1 – 9 of 9) sorted by relevance

/device/google/contexthub/firmware/os/algos/calibration/online_calibration/common_data/
Dcalibration_callback.h55 class Callback : public CallbackInterface<CalibrationType> {
58 Callback() = delete;
59 Callback(ClassCallerType* obj, in Callback() function
/device/google/cuttlefish/host/commands/modem_simulator/
Dthread_looper.h59 typedef std::function<void()> Callback; typedef
62 Serial Post(Callback cb);
63 Serial PostWithDelay(std::chrono::steady_clock::duration delay, Callback cb);
73 Callback cb;
Dthread_looper.cpp33 ThreadLooper::Serial ThreadLooper::Post(Callback cb) { in Post()
46 std::chrono::steady_clock::duration delay, Callback cb) { in PostWithDelay()
86 Callback cb; in ThreadLoop()
/device/google/contexthub/sensorhal/
Dsensors.cpp321 class Callback : public SensorEventCallback { class
323 Callback(sp<HubConnection> hubConnection) : mHubConnection(hubConnection) {} in Callback() function in __anonff3b30990111::Callback
329 int Callback::submitEvent(sp<BaseSensorObject> source, const sensors_event_t &e) { in submitEvent()
364 mEventCallback.reset(new Callback(mHubConnection)); in initializeHalExtension()
/device/google/cuttlefish/guest/hals/hwcomposer/cutf_cvm/
DHWC2.cpp431 static bool isValid(Callback descriptor) { in isValid()
433 case Callback::Hotplug: // Fall-through in isValid()
434 case Callback::Refresh: // Fall-through in isValid()
435 case Callback::Vsync: return true; in isValid()
440 Error CfHWC2::registerCallback(Callback descriptor, in registerCallback()
464 if (descriptor == Callback::Refresh) { in registerCallback()
472 } else if (descriptor == Callback::Vsync) { in registerCallback()
485 } else if (descriptor == Callback::Hotplug) { in registerCallback()
2692 if (mCallbacks.count(Callback::Refresh) == 0) { in hwc1Invalidate()
2697 const auto& callbackInfo = mCallbacks[Callback::Refresh]; in hwc1Invalidate()
[all …]
DHWC2.h113 HWC2::Error registerCallback(HWC2::Callback descriptor,
118 auto descriptor = static_cast<HWC2::Callback>(intDesc); in registerCallbackHook()
723 std::unordered_map<HWC2::Callback, CallbackInfo> mCallbacks;
/device/generic/goldfish-opengl/system/hwc2/
DEmuHWC2.h107 HWC2::Error registerCallback(HWC2::Callback descriptor,
112 auto descriptor = static_cast<HWC2::Callback>(intDesc); in registerCallbackHook()
483 std::unordered_map<HWC2::Callback, CallbackInfo> mCallbacks;
DEmuHWC2.cpp351 static bool isValid(Callback descriptor) { in isValid()
353 case Callback::Hotplug: // Fall-through in isValid()
354 case Callback::Refresh: // Fall-through in isValid()
355 case Callback::Vsync: return true; in isValid()
360 Error EmuHWC2::registerCallback(Callback descriptor, in registerCallback()
383 if (descriptor == Callback::Hotplug) { in registerCallback()
1469 const auto& callbackInfo = mDisplay.mDevice.mCallbacks[Callback::Vsync]; in threadLoop()
/device/linaro/dragonboard/db845c/firmware/
Dadsp.b072 …ADSP: ICB Callback: Ab: %d KBps, Ib: %d KBps, Extrapolated values: Bus clock: %d kHz, Bus voltage …