Home
last modified time | relevance | path

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

123456

/hardware/google/aemu/base/include/aemu/base/async/
DLooper.h105 typedef void (*Callback)(void* opaque, Timer* timer); typedef
131 Timer(Looper* looper, Callback callback, void* opaque,
135 Callback mCallback;
141 virtual Timer* createTimer(Timer::Callback callback, void* opaque,
159 typedef void (*Callback)(void* opaque, int fd, unsigned events); typedef
185 FdWatch(Looper* looper, int fd, Callback callback, void* opaque);
189 Callback mCallback;
195 FdWatch::Callback callback,
204 using Callback = std::function<void()>;
217 Task(Looper* looper, Callback&& callback);
[all …]
DDefaultLooper.h52 FdWatch(DefaultLooper* looper, int fd, Callback callback, void* opaque);
94 Looper::FdWatch::Callback callback,
104 Callback callback,
149 Looper::Timer* createTimer(Looper::Timer::Callback callback,
158 Task(Looper* looper, Looper::Task::Callback&& callback,
DSubscriberList.h51 using Callback = std::function<void()>;
53 explicit SubscriptionTokenImpl(const Callback& cb) : mCb(cb) {} in SubscriptionTokenImpl()
62 void invalidate() { mCb = Callback(); } in invalidate()
65 Callback mCb;
/hardware/interfaces/automotive/vehicle/aidl/impl/utils/common/include/
DRecurrentTimer.h43 using Callback = std::function<void()>;
51 void registerTimerCallback(int64_t intervalInNanos, std::shared_ptr<Callback> callback);
54 void unregisterTimerCallback(std::shared_ptr<Callback> callback);
63 std::shared_ptr<Callback> callback;
75 std::unordered_map<std::shared_ptr<Callback>, int> mIdByCallback GUARDED_BY(mLock);
79 int getCallbackIdLocked(std::shared_ptr<Callback> callback) REQUIRES(mLock);
/hardware/interfaces/health/utils/libhealth2impl/include/health2impl/
DCallback.h32 class Callback {
34 virtual ~Callback() {} in ~Callback()
39 class Callback_2_0 : public Callback {
51 class Callback_2_1 : public Callback {
63 inline std::unique_ptr<Callback> Wrap(const sp<V2_0::IHealthInfoCallback>& callback_2_0) { in Wrap()
/hardware/qcom/sm7250/display/composer/
Dhwc_callbacks.cpp122 HWC2::Error HWCCallbacks::Register(HWC2::Callback descriptor, hwc2_callback_data_t callback_data, in Register()
125 case HWC2::Callback::Hotplug: { in Register()
132 case HWC2::Callback::Refresh: { in Register()
137 case HWC2::Callback::Vsync: { in Register()
142 case HWC2::Callback::Vsync_2_4: { in Register()
147 case HWC2::Callback::VsyncPeriodTimingChanged: { in Register()
153 case HWC2::Callback::SeamlessPossible: { in Register()
/hardware/qcom/display/msm8996/sdm/libs/hwc2/
Dhwc_callbacks.cpp55 HWC2::Error HWCCallbacks::Register(HWC2::Callback descriptor, hwc2_callback_data_t callback_data, in Register()
58 case HWC2::Callback::Hotplug: in Register()
62 case HWC2::Callback::Refresh: in Register()
66 case HWC2::Callback::Vsync: in Register()
/hardware/interfaces/automotive/can/1.0/default/
DCloseHandle.h26 using Callback = std::function<void()>; member
35 CloseHandle(Callback callback = nullptr);
41 const Callback mCallback;
/hardware/interfaces/automotive/audiocontrol/2.0/default/
DCloseHandle.h27 using Callback = std::function<void()>;
36 CloseHandle(Callback callback = nullptr);
42 const Callback mCallback;
/hardware/qcom/display/msm8909/sdm/libs/hwc2/
Dhwc_callbacks.cpp61 HWC2::Error HWCCallbacks::Register(HWC2::Callback descriptor, hwc2_callback_data_t callback_data, in Register()
64 case HWC2::Callback::Hotplug: in Register()
68 case HWC2::Callback::Refresh: in Register()
72 case HWC2::Callback::Vsync: in Register()
/hardware/qcom/display/msm8909w_3100/sdm/libs/hwc2/
Dhwc_callbacks.cpp61 HWC2::Error HWCCallbacks::Register(HWC2::Callback descriptor, hwc2_callback_data_t callback_data, in Register()
64 case HWC2::Callback::Hotplug: in Register()
68 case HWC2::Callback::Refresh: in Register()
72 case HWC2::Callback::Vsync: in Register()
/hardware/qcom/sm8150/display/sdm/libs/hwc2/
Dhwc_callbacks.cpp88 HWC2::Error HWCCallbacks::Register(HWC2::Callback descriptor, hwc2_callback_data_t callback_data, in Register()
91 case HWC2::Callback::Hotplug: { in Register()
96 case HWC2::Callback::Refresh: { in Register()
101 case HWC2::Callback::Vsync: { in Register()
106 case HWC2::Callback::Vsync_2_4: { in Register()
111 case HWC2::Callback::VsyncPeriodTimingChanged: { in Register()
/hardware/qcom/display/msm8998/sdm/libs/hwc2/
Dhwc_callbacks.cpp59 HWC2::Error HWCCallbacks::Register(HWC2::Callback descriptor, hwc2_callback_data_t callback_data, in Register()
62 case HWC2::Callback::Hotplug: { in Register()
67 case HWC2::Callback::Refresh: { in Register()
72 case HWC2::Callback::Vsync: { in Register()
/hardware/interfaces/health/2.1/vts/functional/
DVtsHalHealthV2_1TargetTest.cpp145 template <typename Callback>
147 sp<Callback> first = new Callback(); in TestCallbacks()
148 sp<Callback> second = new Callback(); in TestCallbacks()
190 template <typename Callback>
192 sp<Callback> callback = new Callback(); in TestUnregisterNonExistentCallback()
/hardware/google/gfxstream/host/vulkan/
DVkQsriTimeline.h17 using Callback = std::function<void()>;
25 void registerCallbackForNextPresentAndPoll(Callback callback) { in registerCallbackForNextPresentAndPoll()
51 std::map<uint64_t, Callback> mPendingCallbacks;
/hardware/google/aemu/base/include/aemu/base/
DProfiler.h55 using Callback = std::function<void(std::string_view,
65 ScopedMemoryProfiler(std::string_view tag, Callback c) in ScopedMemoryProfiler()
85 Callback mCallback = {[](std::string_view tag,
/hardware/interfaces/automotive/vehicle/aidl/impl/utils/common/src/
DRecurrentTimer.cpp60 int RecurrentTimer::getCallbackIdLocked(std::shared_ptr<RecurrentTimer::Callback> callback) { in getCallbackIdLocked()
69 std::shared_ptr<RecurrentTimer::Callback> callback) { in registerTimerCallback()
98 void RecurrentTimer::unregisterTimerCallback(std::shared_ptr<RecurrentTimer::Callback> callback) { in unregisterTimerCallback()
116 std::shared_ptr<RecurrentTimer::Callback> callback; in handleMessage()
/hardware/interfaces/soundtrigger/2.1/
DISoundTriggerHwCallback.hal23 * SoundTrigger HAL Callback interface. Obtained during SoundTrigger setup.
60 * Callback method called by the HAL when the sound recognition triggers.
70 * Callback method called by the HAL when the sound recognition triggers
82 * Callback method called by the HAL when the sound model loading completes.
/hardware/interfaces/gnss/1.0/
DIAGnssCallback.hal19 /** Callback structure for the AGNSS interface. */
67 * Callback with AGNSS(IpV4) status information.
74 * Callback with AGNSS(IpV6) status information.
/hardware/interfaces/audio/core/all-versions/default/include/core/default/
DDevicesFactory.h53 template <class DeviceShim, class Callback>
54 Return<void> openDevice(const char* moduleName, Callback _hidl_cb);
/hardware/interfaces/wifi/1.0/
DIWifiChipEventCallback.hal21 * Callback indicating that the chip has been reconfigured successfully. At
32 * Callback indicating that a chip reconfiguration failed. This is a fatal
42 * Callback indicating that a new iface has been added to the chip.
50 * Callback indicating that an existing iface has been removed from the chip.
84 * Callback indicating that the chip has encountered a fatal error.
/hardware/interfaces/camera/provider/2.4/
DICameraProviderCallback.hal22 * Callback functions for a camera provider HAL to use to inform the camera
30 * Callback to the camera service to indicate that the state of a specific
53 * Callback to the camera service to indicate that the state of the torch
/hardware/google/gfxstream/guest/android-emu/aemu/base/fit/
DDefer.h148 using DeferredCallback = DeferredAction<fit::Callback<void()>>;
152 inline DeferredCallback deferCallback(fit::Callback<void()> target) { in deferCallback()
/hardware/interfaces/confirmationui/support/include/android/hardware/confirmationui/1.0/generic/
DGenericOperation.h44 template <typename Callback, typename TimeStamper, typename HmacImplementation>
51 ResponseCode init(const Callback& resultCB, const hidl_string& promptText, in init()
189 Callback resultCB_;
/hardware/interfaces/health/2.0/vts/functional/
DVtsHalHealthV2_0TargetTest.cpp82 class Callback : public IHealthInfoCallback { class
128 sp<Callback> firstCallback = new Callback(); in TEST_P()
129 sp<Callback> secondCallback = new Callback(); in TEST_P()
163 sp<Callback> callback = new Callback(); in TEST_P()

123456