Home
last modified time | relevance | path

Searched refs:cb (Results 1 – 25 of 69) sorted by relevance

123

/hardware/libhardware/modules/input/evdev/
DInputHost.h43 InputHostBase(input_host_t* host, input_host_callbacks_t cb) : mHost(host), mCallbacks(cb) {} in InputHostBase() argument
63 InputReport(input_host_t* host, input_host_callbacks_t cb, input_report_t* r) : in InputReport() argument
64 InputHostBase(host, cb), mReport(r) {} in InputReport()
88 input_host_t* host, input_host_callbacks_t cb, input_report_definition_t* r) : in InputReportDefinition() argument
89 InputHostBase(host, cb), mReportDefinition(r) {} in InputReportDefinition()
108 input_host_t* host, input_host_callbacks_t cb, input_device_definition_t* d) : in InputDeviceDefinition() argument
109 InputHostBase(host, cb), mDeviceDefinition(d) {} in InputDeviceDefinition()
136 input_host_t* host, input_host_callbacks_t cb, input_property_t* p) : in InputProperty() argument
137 InputHostBase(host, cb), mProperty(p) {} in InputProperty()
163 input_host_t* host, input_host_callbacks_t cb, input_property_map_t* m) : in InputPropertyMap() argument
[all …]
DEvdevModule.cpp98 input_host_t* host, input_host_callbacks_t cb) { in input_init() argument
100 InputHost inputHost = {host, cb}; in input_init()
/hardware/broadcom/wlan/bcmdhd/dhdutil/
Ddhdu_nl80211.c81 dhd_nli->cb = nl_cb_alloc(NL_CB_DEBUG); in dhd_nl_sock_connect()
82 if (dhd_nli->cb == NULL) in dhd_nl_sock_connect()
85 nl_socket_set_cb(dhd_nli->nl, dhd_nli->cb); in dhd_nl_sock_connect()
89 nl_cb_put(dhd_nli->cb); in dhd_nl_sock_connect()
97 nl_cb_put(dhd_nli->cb); in dhd_nl_sock_disconnect()
121 nl_cb_err(dhd_nli->cb, NL_CB_CUSTOM, dhd_nl_error_handler, &err); in dhd_nl_do_testmode()
122 nl_cb_set(dhd_nli->cb, NL_CB_ACK, NL_CB_CUSTOM, in dhd_nl_do_testmode()
124 nl_cb_set(dhd_nli->cb, NL_CB_FINISH, NL_CB_CUSTOM, in dhd_nl_do_testmode()
126 nl_cb_set(dhd_nli->cb, NL_CB_VALID, NL_CB_CUSTOM, in dhd_nl_do_testmode()
129 nl_recvmsgs(dhd_nli->nl, dhd_nli->cb); in dhd_nl_do_testmode()
Ddhdu_nl80211.h39 struct nl_cb *cb; member
/hardware/ti/omap4-aah/
Dtm.c25 char *cf, *cb; in main() local
48 cb = ptr[5]; in main()
49 cb[60] = 'a'; in main()
/hardware/ti/omap4xxx/
Dtm.c25 char *cf, *cb; in main() local
48 cb = ptr[5]; in main()
49 cb[60] = 'a'; in main()
/hardware/qcom/wlan/qcwcn/wifi_hal/
Dwificonfig.cpp384 struct nl_cb *cb; in requestEvent() local
386 cb = nl_cb_alloc(NL_CB_DEFAULT); in requestEvent()
387 if (!cb) { in requestEvent()
398 nl_cb_err(cb, NL_CB_CUSTOM, error_handler_wifi_config, &res); in requestEvent()
399 nl_cb_set(cb, NL_CB_FINISH, NL_CB_CUSTOM, finish_handler_wifi_config, in requestEvent()
401 nl_cb_set(cb, NL_CB_ACK, NL_CB_CUSTOM, ack_handler_wifi_config, &res); in requestEvent()
405 nl_recvmsgs(mInfo->cmd_sock, cb); in requestEvent()
Dwifi_hal.cpp213 struct nl_cb *cb = nl_socket_get_cb(user_sock); in wifi_init_user_sock() local
214 if (cb == NULL) { in wifi_init_user_sock()
220 nl_cb_set(cb, NL_CB_SEQ_CHECK, NL_CB_CUSTOM, no_seq_check, NULL); in wifi_init_user_sock()
221 nl_cb_err(cb, NL_CB_CUSTOM, error_handler, &info->user_sock_arg); in wifi_init_user_sock()
222 nl_cb_set(cb, NL_CB_FINISH, NL_CB_CUSTOM, finish_handler, &info->user_sock_arg); in wifi_init_user_sock()
223 nl_cb_set(cb, NL_CB_ACK, NL_CB_CUSTOM, ack_handler, &info->user_sock_arg); in wifi_init_user_sock()
225 nl_cb_set(cb, NL_CB_VALID, NL_CB_CUSTOM, user_sock_message_handler, info); in wifi_init_user_sock()
226 nl_cb_put(cb); in wifi_init_user_sock()
314 struct nl_cb *cb = NULL; in wifi_initialize() local
355 cb = nl_socket_get_cb(event_sock); in wifi_initialize()
[all …]
Dcpp_bindings.cpp610 struct nl_cb *cb = nl_cb_alloc(NL_CB_DEFAULT); in requestResponse() local
611 if (!cb) in requestResponse()
620 nl_cb_set(cb, NL_CB_SEQ_CHECK, NL_CB_CUSTOM, no_seq_check, NULL); in requestResponse()
621 nl_cb_err(cb, NL_CB_CUSTOM, error_handler, &err); in requestResponse()
622 nl_cb_set(cb, NL_CB_FINISH, NL_CB_CUSTOM, finish_handler, &err); in requestResponse()
623 nl_cb_set(cb, NL_CB_ACK, NL_CB_CUSTOM, ack_handler, &err); in requestResponse()
624 nl_cb_set(cb, NL_CB_VALID, NL_CB_CUSTOM, response_handler, this); in requestResponse()
627 int res = nl_recvmsgs(mInfo->cmd_sock, cb); in requestResponse()
633 nl_cb_put(cb); in requestResponse()
Dwifilogger.cpp771 struct nl_cb *cb; in requestEvent() local
773 cb = nl_cb_alloc(NL_CB_DEFAULT); in requestEvent()
774 if (!cb) { in requestEvent()
786 nl_cb_err(cb, NL_CB_CUSTOM, error_handler_wifi_logger, &res); in requestEvent()
787 nl_cb_set(cb, NL_CB_FINISH, NL_CB_CUSTOM, finish_handler_wifi_logger, &res); in requestEvent()
788 nl_cb_set(cb, NL_CB_ACK, NL_CB_CUSTOM, ack_handler_wifi_logger, &res); in requestEvent()
792 nl_recvmsgs(mInfo->cmd_sock, cb); in requestEvent()
/hardware/ril/libril/
DRilSocket.cpp140 void RilSocket::setListenCb(ril_event_cb cb) { in setListenCb() argument
141 listenCb = cb; in setListenCb()
144 void RilSocket::setCommandCb(ril_event_cb cb) { in setCommandCb() argument
145 commandCb = cb; in setCommandCb()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vpx/src/
Dvpx_decoder.c152 vpx_codec_put_frame_cb_fn_t cb, in vpx_codec_register_put_frame_cb() argument
156 if (!ctx || !cb) in vpx_codec_register_put_frame_cb()
162 ctx->priv->dec.put_frame_cb.u.put_frame = cb; in vpx_codec_register_put_frame_cb()
172 vpx_codec_put_slice_cb_fn_t cb, in vpx_codec_register_put_slice_cb() argument
176 if (!ctx || !cb) in vpx_codec_register_put_slice_cb()
182 ctx->priv->dec.put_slice_cb.u.put_slice = cb; in vpx_codec_register_put_slice_cb()
/hardware/libhardware/tests/input/evdev/
DInputHub_test.cpp56 void setInputCallback(InputCbFunc cb) { mInputCb = cb; } in setInputCallback() argument
57 void setDeviceAddedCallback(DeviceCbFunc cb) { mDeviceAddedCb = cb; } in setDeviceAddedCallback() argument
58 void setDeviceRemovedCallback(DeviceCbFunc cb) { mDeviceRemovedCb = cb; } in setDeviceRemovedCallback() argument
/hardware/broadcom/wlan/bcmdhd/wifi_hal/
Dcpp_bindings.cpp592 struct nl_cb *cb = nl_cb_alloc(NL_CB_DEFAULT); in requestResponse() local
593 if (!cb) in requestResponse()
602 nl_cb_set(cb, NL_CB_SEQ_CHECK, NL_CB_CUSTOM, no_seq_check, NULL); in requestResponse()
603 nl_cb_err(cb, NL_CB_CUSTOM, error_handler, &err); in requestResponse()
604 nl_cb_set(cb, NL_CB_FINISH, NL_CB_CUSTOM, finish_handler, &err); in requestResponse()
605 nl_cb_set(cb, NL_CB_ACK, NL_CB_CUSTOM, ack_handler, &err); in requestResponse()
606 nl_cb_set(cb, NL_CB_VALID, NL_CB_CUSTOM, response_handler, this); in requestResponse()
609 int res = nl_recvmsgs(mInfo->cmd_sock, cb); in requestResponse()
615 nl_cb_put(cb); in requestResponse()
/hardware/invensense/6515/libsensors_iio/software/simple_apps/common/
Dmlerrorcode.h61 #define CALL_CHECK_N_CALLBACK(f, cb) { \ argument
66 cb; \
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vpx/
Dvpx_decoder.h284 vpx_codec_put_frame_cb_fn_t cb,
326 vpx_codec_put_slice_cb_fn_t cb,
/hardware/qcom/camera/QCamera2/HAL/
DQCamera2HWICallbacks.cpp2427 qcamera_callback_argm_t *cb = in cbNotifyRoutine() local
2430 if (NULL != cb) { in cbNotifyRoutine()
2433 cb->cb_type); in cbNotifyRoutine()
2435 if (pme->mParent->msgTypeEnabledWithLock(cb->msg_type)) { in cbNotifyRoutine()
2436 switch (cb->cb_type) { in cbNotifyRoutine()
2439 if (cb->msg_type == CAMERA_MSG_FOCUS) { in cbNotifyRoutine()
2445 pme->mNotifyCb(cb->msg_type, in cbNotifyRoutine()
2446 cb->ext1, in cbNotifyRoutine()
2447 cb->ext2, in cbNotifyRoutine()
2458 pme->mDataCb(cb->msg_type, in cbNotifyRoutine()
[all …]
/hardware/intel/img/hwcomposer/merrifield/ips/common/
DHdcpControl.cpp104 bool HdcpControl::startHdcpAsync(HdcpStatusCallback cb, void *userData) in startHdcpAsync() argument
114 if (cb == NULL || userData == NULL) { in startHdcpAsync()
133 mCallback = cb; in startHdcpAsync()
/hardware/intel/img/hwcomposer/moorefield_hdmi/ips/common/
DHdcpControl.cpp105 bool HdcpControl::startHdcpAsync(HdcpStatusCallback cb, void *userData) in startHdcpAsync() argument
115 if (cb == NULL || userData == NULL) { in startHdcpAsync()
134 mCallback = cb; in startHdcpAsync()
/hardware/intel/common/omx-components/videocodec/libvpx_internal/libvpx/vpx_scale/generic/
Dyv12config.c141 vpx_get_frame_buffer_cb_fn_t cb, in vp9_realloc_frame_buffer() argument
169 if (cb != NULL) { in vp9_realloc_frame_buffer()
176 if (cb(cb_priv, external_frame_size, fb) < 0) in vp9_realloc_frame_buffer()
/hardware/intel/img/hwcomposer/merrifield/include/
DIHdcpControl.h30 virtual bool startHdcpAsync(HdcpStatusCallback cb, void *userData) = 0;
/hardware/intel/img/hwcomposer/moorefield_hdmi/include/
DIHdcpControl.h30 virtual bool startHdcpAsync(HdcpStatusCallback cb, void *userData) = 0;
/hardware/ti/omap4xxx/camera/inc/
DEncoder_libjpeg.h130 encoder_libjpeg_callback_t cb, in Encoder_libjpeg() argument
135 : Thread(false), mMainInput(main_jpeg), mThumbnailInput(tn_jpeg), mCb(cb), in Encoder_libjpeg()
/hardware/qcom/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_thread.c608 if (NULL != cmd_thread->cb) { in mm_camera_cmd_thread()
609 cmd_thread->cb(node, cmd_thread->user_data); in mm_camera_cmd_thread()
625 mm_camera_cmd_cb_t cb, in mm_camera_cmd_thread_launch() argument
632 cmd_thread->cb = cb; in mm_camera_cmd_thread_launch()
/hardware/ti/omap4-aah/camera/inc/
DEncoder_libjpeg.h146 encoder_libjpeg_callback_t cb, in Encoder_libjpeg() argument
151 : android::Thread(false), mMainInput(main_jpeg), mThumbnailInput(tn_jpeg), mCb(cb), in Encoder_libjpeg()

123