Home
last modified time | relevance | path

Searched refs:callback (Results 1 – 25 of 104) sorted by relevance

12345

/hardware/intel/common/libmix/mix_video/src/
Dmixbuffer.c46 self->callback = NULL; in mix_buffer_init()
128 this_target->callback = this_src->callback; in mix_buffer_copy()
162 && this_first->callback == this_second->callback) { in mix_buffer_equal()
181 gulong token, MixBufferCallback callback) { in mix_buffer_set_data() argument
187 obj->callback = callback; in mix_buffer_set_data()
214 if (obj->callback) { in mix_buffer_unref()
215 obj->callback(obj->token, obj->data); in mix_buffer_unref()
Dmixbuffer.h76 MixBufferCallback callback; member
128 gulong token, MixBufferCallback callback);
/hardware/libhardware/modules/tv_input/
Dtv_input.cpp32 const tv_input_callback_ops_t* callback; member
58 const tv_input_callback_ops_t* callback, void* data) in tv_input_initialize() argument
60 if (dev == NULL || callback == NULL) { in tv_input_initialize()
64 if (priv->callback != NULL) { in tv_input_initialize()
68 priv->callback = callback; in tv_input_initialize()
/hardware/bsp/intel/peripheral/libupm/src/nrf24l01/
DCallback.h16 static void generic_callback (Callback* callback) in generic_callback() argument
18 if (callback == NULL) in generic_callback()
20 callback->run(); in generic_callback()
/hardware/bsp/intel/peripheral/libupm/src/
DIsrCallback.h20 IsrCallback* callback = (IsrCallback*) data; in generic_callback_isr() local
21 if (callback == NULL) in generic_callback_isr()
23 callback->run(); in generic_callback_isr()
/hardware/bsp/intel/peripheral/libupm/examples/java/
DHCSR04Sample.java41 HCSR04ISR callback = new HCSR04ISR(); in main() local
43 upm_hcsr04.HCSR04 sonar = new upm_hcsr04.HCSR04((short) 5, (short) 6, callback); in main()
44 callback.setSonar(sonar); in main()
DA110X_intrSample.java50 IsrCallback callback = new A110XISR(); in main() local
51 hall.installISR(callback); in main()
DRPR220_intrSample.java47 IsrCallback callback = new RPRISR(); in main() local
48 sensor.installISR(callback); in main()
DGroveButton_intrSample.java45 IsrCallback callback = new ButtonISR(); in main() local
46 b.installISR(0, callback); in main()
DNRF24L01_transmitterSample.java48 Callback callback = new TransmitterCallback(); in main() local
55 comm.setDataReceivedHandler(callback); in main()
DNRF24L01_receiverSample.java47 Callback callback = new ReceiverCallback(comm); in main() local
55 comm.setDataReceivedHandler(callback); in main()
/hardware/bsp/intel/peripheral/libupm/examples/javascript/
Dgrovegprs.js44 function sendCommand(sensor, cmd, callback) argument
58 if (callback)
59 callback();
Dhm11.js48 function sendCommand(bleObj, cmd, callback) argument
71 if (callback)
72 callback();
/hardware/bsp/intel/peripheral/libmraa/examples/java/
DIsr.java43 Runnable callback = new JavaCallback(); in main() local
45 gpio.isr(Edge.EDGE_RISING, callback); in main()
/hardware/bsp/intel/peripheral/libupm/src/pulsensor/
Dpulsensor.h90 Pulsensor(Callback *callback);
119 callback_handler callback; /**< The callback function */ variable
Dpulsensor.cxx53 callback = handler; in Pulsensor()
118 pulsensor->callback(callback_data); in do_sample()
160 pulsensor->callback(callback_data); in do_sample()
Djavaupm_pulsensor.i10 %ignore callback;
/hardware/libhardware/include/hardware/
Dsound_trigger.h85 sound_model_callback_t callback,
103 recognition_callback_t callback,
/hardware/intel/common/libva/test/putsurface/
Dputsurface_wayland.c116 frame_redraw_callback(void *data, struct wl_callback *callback, uint32_t time) in frame_redraw_callback() argument
121 wl_callback_destroy(callback); in frame_redraw_callback()
141 struct wl_callback *callback; in va_put_surface() local
171 callback = wl_surface_frame(wl_drawable->surface); in va_put_surface()
173 wl_callback_add_listener(callback, &frame_callback_listener, wl_drawable); in va_put_surface()
/hardware/qcom/display/msm8996/hdmi_cec/
Dqhdmi_cec.cpp302 ctx->callback.callback_func(&event, ctx->callback.callback_arg); in cec_receive_message()
314 ctx->callback.callback_func(&event, ctx->callback.callback_arg); in cec_hdmi_hotplug()
318 event_callback_t callback, void* arg) in cec_register_event_callback() argument
322 ctx->callback.callback_func = callback; in cec_register_event_callback()
323 ctx->callback.callback_arg = arg; in cec_register_event_callback()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/
Dusage_dx.dox19 codecs support asynchronous (callback-based) decoding \ref usage_features
20 that allow the application to register a callback to be invoked by the
28 is decoded. For example, a slice callback could be issued for each
30 implementation specific. Also, the image data passed in a slice callback is
40 If the codec does not support callback based decoding, or the application
/hardware/ti/omap4xxx/camera/inc/
DBaseCameraAdapter.h40 …virtual void enableMsgType(int32_t msgs, frame_callback callback=NULL, event_callback eventCb=NULL…
53 …virtual status_t registerImageReleaseCallback(release_image_buffers_callback callback, void *user_…
55 … virtual status_t registerEndCaptureCallback(end_image_capture_callback callback, void *user_data);
/hardware/ti/omap4xxx/camera/
DBaseCameraAdapter.cpp81 status_t BaseCameraAdapter::registerImageReleaseCallback(release_image_buffers_callback callback, v… in registerImageReleaseCallback() argument
87 mReleaseImageBuffersCallback = callback; in registerImageReleaseCallback()
95 status_t BaseCameraAdapter::registerEndCaptureCallback(end_image_capture_callback callback, void *u… in registerEndCaptureCallback() argument
101 mEndImageCaptureCallback= callback; in registerEndCaptureCallback()
131 void BaseCameraAdapter::enableMsgType(int32_t msgs, frame_callback callback, event_callback eventCb… in enableMsgType() argument
139 mFrameSubscribers.add((int) cookie, callback); in enableMsgType()
143 mFrameDataSubscribers.add((int) cookie, callback); in enableMsgType()
147 mImageSubscribers.add((int) cookie, callback); in enableMsgType()
151 mRawSubscribers.add((int) cookie, callback); in enableMsgType()
155 mVideoSubscribers.add((int) cookie, callback); in enableMsgType()
[all …]
/hardware/libhardware/modules/radio/
Dradio_hw.c86 radio_callback_t callback; member
451 if (event.type != RADIO_EVENT_HW_FAILURE && tuner->callback != NULL) { in callback_thread_loop()
453 tuner->callback(&event, tuner->cookie); in callback_thread_loop()
640 radio_callback_t callback, in rdev_open_tuner() argument
655 if (config == NULL || callback == NULL || tuner == NULL) { in rdev_open_tuner()
675 rdev->tuner->callback = callback; in rdev_open_tuner()
714 stub_tuner->callback = NULL; in rdev_close_tuner()
/hardware/ti/omap4-aah/camera/
DBaseCameraAdapter.cpp122 status_t BaseCameraAdapter::registerImageReleaseCallback(release_image_buffers_callback callback, v… in registerImageReleaseCallback() argument
128 mReleaseImageBuffersCallback = callback; in registerImageReleaseCallback()
136 status_t BaseCameraAdapter::registerEndCaptureCallback(end_image_capture_callback callback, void *u… in registerEndCaptureCallback() argument
142 mEndImageCaptureCallback= callback; in registerEndCaptureCallback()
172 void BaseCameraAdapter::enableMsgType(int32_t msgs, frame_callback callback, event_callback eventCb… in enableMsgType() argument
187 mFrameSubscribers.add((int) cookie, callback); in enableMsgType()
190 mFrameDataSubscribers.add((int) cookie, callback); in enableMsgType()
193 mSnapshotSubscribers.add((int) cookie, callback); in enableMsgType()
196 mImageSubscribers.add((int) cookie, callback); in enableMsgType()
199 mRawSubscribers.add((int) cookie, callback); in enableMsgType()
[all …]

12345