Searched refs:handler (Results 1 - 25 of 40) sorted by relevance

12

/hardware/libhardware_legacy/include/hardware_legacy/
H A Duevent.h27 int uevent_add_native_handler(void (*handler)(void *data, const char *msg, int msg_len),
29 int uevent_remove_native_handler(void (*handler)(void *data, const char *msg, int msg_len));
H A Dtdls.h63 * handler is used to inform the upper layer about the status change and the corresponding reason
66 wifi_tdls_params *params, wifi_tdls_handler handler);
73 * DON'T fire any more events on 'handler' specified in earlier call to
H A Dgscan.h194 wifi_scan_cmd_params params, wifi_scan_result_handler handler);
244 wifi_bssid_hotlist_params params, wifi_hotlist_ap_found_handler handler);
308 wifi_significant_change_params params, wifi_significant_change_handler handler);
399 const wifi_epno_params *epno_params, wifi_epno_handler handler);
426 wifi_passpoint_network *networks, wifi_passpoint_event_handler handler);
H A Dwifi_logger.h295 * The callback is called by log handler whenever ring data comes in driver.
303 * API to set the log handler for getting ring data
304 * - Only a single instance of log handler can be instantiated for each ring buffer.
307 wifi_ring_buffer_data_handler handler);
309 /* API to reset the log handler */
317 * The callback is called by alert handler.
324 * API to set the alert handler for the alert case in Wi-Fi Chip
325 * - Only a single instance of alert handler can be instantiated.
328 wifi_alert_handler handler);
330 /* API to reset the alert handler */
[all...]
H A Dwifi_hal.h88 void wifi_cleanup(wifi_handle handle, wifi_cleaned_up_handler handler);
270 wifi_firmware_memory_dump_handler handler);
272 wifi_ring_buffer_data_handler handler);
275 wifi_alert_handler handler);
293 int num, wifi_passpoint_network *networks, wifi_passpoint_event_handler handler);
H A Dlink_layer_stats.h235 wifi_interface_handle iface, wifi_stats_result_handler handler);
/hardware/bsp/intel/peripheral/libupm/examples/c++/
H A Dpulsensor.cxx43 handler (clbk_data data) { function
51 Pulsensor *sensor = new Pulsensor(handler);
/hardware/intel/common/omx-components/videocodec/
H A DOMXComponentCodecBase.cpp76 OMXHANDLER handler = FindHandler(nIndex, true); local
77 if (handler == NULL) {
78 LOGE("ComponentGetParameter: No handler for index %d", nIndex);
83 return (*handler)(this, pComponentParameterStructure);
90 OMXHANDLER handler = FindHandler(nIndex, false); local
91 if (handler == NULL) {
92 LOGE("ComponentSetParameter: No handler for index %d", nIndex);
97 return (*handler)(this, pComponentParameterStructure);
104 OMXHANDLER handler = FindHandler(nIndex, true); local
105 if (handler
120 OMXHANDLER handler = FindHandler(nIndex, false); local
[all...]
/hardware/libhardware_legacy/uevent/
H A Duevent.c35 void (*handler)(void *data, const char *msg, int msg_len); member in struct:uevent_handler
91 h->handler(h->handler_data, buffer, buffer_length);
103 int uevent_add_native_handler(void (*handler)(void *data, const char *msg, int msg_len),
111 h->handler = handler;
121 int uevent_remove_native_handler(void (*handler)(void *data, const char *msg, int msg_len))
128 if (h->handler == handler) {
/hardware/qcom/wlan/qcwcn/wifi_hal/
H A Dwifihal_internal.h64 wifi_rtt_event_handler handler);
86 wifi_scan_result_handler handler);
100 wifi_hotlist_ap_found_handler handler);
108 wifi_significant_change_handler handler);
116 wifi_hotlist_ssid_handler handler);
H A Drb_wrapper.cpp118 wifi_ring_buffer_data_handler handler; local
130 handler.on_ring_buffer_data = info->on_ring_buffer_data;
132 if (handler.on_ring_buffer_data) {
133 handler.on_ring_buffer_data(rb_info->name, (char *)buf,
H A Dgscan_event_handler.h32 // TODO: derive 3 other command event handler classes from this base and separate
76 void setCallbackHandler(GScanCallbackHandler handler);
H A Dllstatscommand.h110 virtual void setHandler(wifi_stats_result_handler handler);
H A Drtt.cpp65 /* Open LOWI dynamic library, retrieve handler to LOWI APIs and initialize
94 wifi_rtt_event_handler handler)
120 if (handler.on_rtt_results == NULL) {
127 /* Open LOWI dynamic library, retrieve handler to LOWI APIs and initialize
144 handler);
186 /* Open LOWI dynamic library, retrieve handler to LOWI APIs and initialize
233 /* Open LOWI dynamic library, retrieve handler to LOWI APIs and initialize
280 /* Open LOWI dynamic library, retrieve handler to LOWI APIs and initialize
319 /* Open LOWI dynamic library, retrieve handler to LOWI APIs */
363 /* Open LOWI dynamic library, retrieve handler t
90 wifi_rtt_range_request(wifi_request_id id, wifi_interface_handle iface, unsigned num_rtt_config, wifi_rtt_config rtt_config[], wifi_rtt_event_handler handler) argument
[all...]
H A Dwifilogger.cpp201 wifi_alert_handler handler; local
204 handler.on_alert = info->on_alert;
207 if (handler.on_alert) {
208 handler.on_alert(0, NULL, 0, reason_code);
481 wifi_firmware_memory_dump_handler handler)
524 /* copy the callback into callback handler */
528 handler.on_firmware_memory_dump;
547 wifi_ring_buffer_data_handler handler)
553 info->on_ring_buffer_data = handler.on_ring_buffer_data;
555 if (handler
480 wifi_get_firmware_memory_dump(wifi_interface_handle iface, wifi_firmware_memory_dump_handler handler) argument
545 wifi_set_log_handler(wifi_request_id id, wifi_interface_handle iface, wifi_ring_buffer_data_handler handler) argument
574 wifi_set_alert_handler(wifi_request_id id, wifi_interface_handle iface, wifi_alert_handler handler) argument
[all...]
/hardware/qcom/camera/QCamera2/stack/mm-jpeg-interface/src/
H A Dmm_jpeg_interface.c47 static uint16_t g_handler_history_count = 0; /* history count for handler */
59 * utility function to generate handler
64 uint32_t handler = 0; local
70 handler = g_handler_history_count;
71 handler = (handler<<8) | index;
73 return handler;
79 * @handler: handle value
88 uint8_t mm_jpeg_util_get_index_by_handler(uint32_t handler) argument
90 return (handler
[all...]
/hardware/qcom/camera/QCamera2/stack/mm-camera-interface/src/
H A Dmm_camera_thread.c399 * @handler : stream handle if channel data polling thread,
409 uint32_t handler,
419 /* get stream idx from handler if CH type */
420 idx = mm_camera_util_get_index_by_handler(handler);
428 poll_cb->poll_entries[idx].handler = handler;
438 LOGE("invalid handler %d (%d)", handler, idx);
450 * @handler : stream handle if channel data polling thread,
458 uint32_t handler,
408 mm_camera_poll_thread_add_poll_fd(mm_camera_poll_thread_t * poll_cb, uint32_t handler, int32_t fd, mm_camera_poll_notify_t notify_cb, void* userdata, mm_camera_call_type_t call_type) argument
457 mm_camera_poll_thread_del_poll_fd(mm_camera_poll_thread_t * poll_cb, uint32_t handler, mm_camera_call_type_t call_type) argument
[all...]
/hardware/broadcom/wlan/bcmdhd/wifi_hal/
H A Dlink_layer_stats.cpp53 GetLinkStatsCommand(wifi_interface_handle iface, wifi_stats_result_handler handler) argument
54 : WifiCommand("GetLinkStatsCommand", iface, 0), mHandler(handler)
147 wifi_interface_handle iface, wifi_stats_result_handler handler)
149 GetLinkStatsCommand command(iface, handler);
146 wifi_get_link_stats(wifi_request_id id, wifi_interface_handle iface, wifi_stats_result_handler handler) argument
H A Dgscan.cpp151 wifi_scan_result_handler handler);
154 wifi_scan_result_handler handler);
378 wifi_scan_result_handler handler)
379 : WifiCommand("FullScanResultsCommand", iface, id), mParams(params), mHandler(handler)
458 wifi_scan_result_handler handler)
459 : WifiCommand("ScanCommand", iface, id), mParams(params), mHandler(handler)
681 wifi_scan_result_handler handler)
687 ScanCommand *cmd = new ScanCommand(iface, id, &params, handler);
709 wifi_scan_result_handler handler; local
712 memset(&handler,
377 FullScanResultsCommand(wifi_interface_handle iface, int id, int *params, wifi_scan_result_handler handler) argument
457 ScanCommand(wifi_interface_handle iface, int id, wifi_scan_cmd_params *params, wifi_scan_result_handler handler) argument
677 wifi_start_gscan( wifi_request_id id, wifi_interface_handle iface, wifi_scan_cmd_params params, wifi_scan_result_handler handler) argument
724 wifi_enable_full_scan_results( wifi_request_id id, wifi_interface_handle iface, wifi_scan_result_handler handler) argument
750 wifi_handle_full_scan_event( wifi_request_id id, WifiEvent& event, wifi_scan_result_handler handler) argument
800 wifi_scan_result_handler handler; local
997 BssidHotlistCommand(wifi_interface_handle handle, int id, wifi_bssid_hotlist_params params, wifi_hotlist_ap_found_handler handler) argument
1166 ePNOCommand(wifi_interface_handle handle, int id, const wifi_epno_params *params, wifi_epno_handler handler) argument
1355 wifi_set_bssid_hotlist(wifi_request_id id, wifi_interface_handle iface, wifi_bssid_hotlist_params params, wifi_hotlist_ap_found_handler handler) argument
1400 SignificantWifiChangeCommand(wifi_interface_handle handle, int id, wifi_significant_change_params params, wifi_significant_change_handler handler) argument
1576 wifi_set_significant_change_handler(wifi_request_id id, wifi_interface_handle iface, wifi_significant_change_params params, wifi_significant_change_handler handler) argument
1606 wifi_epno_handler handler; local
1619 wifi_set_epno_list(wifi_request_id id, wifi_interface_handle iface, const wifi_epno_params *params, wifi_epno_handler handler) argument
1726 AnqpoConfigureCommand(wifi_request_id id, wifi_interface_handle iface, int num, wifi_passpoint_network *hs_list, wifi_passpoint_event_handler handler) argument
1871 wifi_set_passpoint_list(wifi_request_id id, wifi_interface_handle iface, int num, wifi_passpoint_network *networks, wifi_passpoint_event_handler handler) argument
[all...]
H A Dwifi_logger.cpp480 SetLogHandler(wifi_interface_handle iface, int id, wifi_ring_buffer_data_handler handler) argument
481 : WifiCommand("SetLogHandler", iface, id), mHandler(handler)
494 /* unregister event handler */
559 wifi_ring_buffer_data_handler handler)
564 SetLogHandler *cmd = new SetLogHandler(iface, id, handler);
586 wifi_ring_buffer_data_handler handler; local
587 memset(&handler, 0, sizeof(handler));
589 SetLogHandler *cmd = new SetLogHandler(iface, id, handler);
608 SetAlertHandler(wifi_interface_handle iface, int id, wifi_alert_handler handler) argument
558 wifi_set_log_handler(wifi_request_id id, wifi_interface_handle iface, wifi_ring_buffer_data_handler handler) argument
741 wifi_set_alert_handler(wifi_request_id id, wifi_interface_handle iface, wifi_alert_handler handler) argument
769 wifi_alert_handler handler; local
790 MemoryDumpCommand(wifi_interface_handle iface, wifi_firmware_memory_dump_handler handler) argument
889 wifi_get_firmware_memory_dump( wifi_interface_handle iface, wifi_firmware_memory_dump_handler handler) argument
[all...]
H A Drtt.cpp304 wifi_rtt_config rtt_config[], wifi_rtt_event_handler handler)
306 rttHandler(handler)
612 unsigned num_rtt_config, wifi_rtt_config rtt_config[], wifi_rtt_event_handler handler)
615 RttCommand *cmd = new RttCommand(iface, id, num_rtt_config, rtt_config, handler);
303 RttCommand(wifi_interface_handle iface, int id, unsigned num_rtt_config, wifi_rtt_config rtt_config[], wifi_rtt_event_handler handler) argument
611 wifi_rtt_range_request(wifi_request_id id, wifi_interface_handle iface, unsigned num_rtt_config, wifi_rtt_config rtt_config[], wifi_rtt_event_handler handler) argument
/hardware/bsp/intel/peripheral/libmraa/api/mraa/
H A Diio.hpp208 * Register event handler.
210 * @param handler handler class that implements IioHandler
215 registerEventHandler(IioHandler* handler) const
217 mraa_result_t res = mraa_iio_event_setup_callback(m_iio, private_event_handler, handler);
227 IioHandler* handler = (IioHandler*)args; local
238 handler->onIioEvent(eventData);
/hardware/bsp/intel/peripheral/libupm/src/pulsensor/
H A Dpulsensor.h92 Pulsensor(callback_handler handler);
H A Dpulsensor.cxx51 Pulsensor::Pulsensor (callback_handler handler) : pin_ctx(0) argument
53 callback = handler;
/hardware/qcom/msm8960/original-kernel-headers/linux/mfd/wcd9xxx/
H A Dcore.h185 irq_handler_t handler, const char *name,
190 return request_threaded_irq(wcd9xxx->irq_base + irq, NULL, handler,
184 wcd9xxx_request_irq(struct wcd9xxx *wcd9xxx, int irq, irq_handler_t handler, const char *name, void *data) argument

Completed in 2762 milliseconds

12