Home
last modified time | relevance | path

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

12

/hardware/libhardware_legacy/
Duevent.c35 void (*handler)(void *data, const char *msg, int msg_len); member
91 h->handler(h->handler_data, buffer, buffer_length); in uevent_next_event()
103 int uevent_add_native_handler(void (*handler)(void *data, const char *msg, int msg_len), in uevent_add_native_handler()
111 h->handler = handler; in uevent_add_native_handler()
121 int uevent_remove_native_handler(void (*handler)(void *data, const char *msg, int msg_len)) in uevent_remove_native_handler()
128 if (h->handler == handler) { in uevent_remove_native_handler()
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-jpeg-interface/src/
Dmm_jpeg_interface.c64 uint32_t handler = 0; in mm_jpeg_util_generate_handler() local
70 handler = g_handler_history_count; in mm_jpeg_util_generate_handler()
71 handler = (handler<<8) | index; in mm_jpeg_util_generate_handler()
73 return handler; in mm_jpeg_util_generate_handler()
88 uint8_t mm_jpeg_util_get_index_by_handler(uint32_t handler) in mm_jpeg_util_get_index_by_handler() argument
90 return (handler & 0x000000ff); in mm_jpeg_util_get_index_by_handler()
/hardware/qcom/wlan/qcwcn/wifi_hal/
Dwifihal_internal.h85 wifi_rtt_event_handler handler);
107 wifi_scan_result_handler handler);
121 wifi_hotlist_ap_found_handler handler);
129 wifi_significant_change_handler handler);
137 wifi_hotlist_ssid_handler handler);
Drb_wrapper.cpp118 wifi_ring_buffer_data_handler handler; in push_out_rb_data() local
130 handler.on_ring_buffer_data = info->on_ring_buffer_data; in push_out_rb_data()
132 if (handler.on_ring_buffer_data) { in push_out_rb_data()
133 handler.on_ring_buffer_data(rb_info->name, (char *)buf, in push_out_rb_data()
Drtt.cpp87 wifi_rtt_event_handler handler) in wifi_rtt_range_request() argument
110 if (handler.on_rtt_results == NULL) { in wifi_rtt_range_request()
131 rtt_config, handler); in wifi_rtt_range_request()
Dwifilogger.cpp205 wifi_alert_handler handler; in send_alert() local
208 handler.on_alert = info->on_alert; in send_alert()
211 if (handler.on_alert) { in send_alert()
212 handler.on_alert(0, alert_msg, strlen(alert_msg), reason_code); in send_alert()
477 wifi_firmware_memory_dump_handler handler) in wifi_get_firmware_memory_dump() argument
532 handler.on_firmware_memory_dump; in wifi_get_firmware_memory_dump()
550 wifi_ring_buffer_data_handler handler) in wifi_set_log_handler() argument
556 info->on_ring_buffer_data = handler.on_ring_buffer_data; in wifi_set_log_handler()
558 if (handler.on_ring_buffer_data == NULL) { in wifi_set_log_handler()
579 wifi_alert_handler handler) in wifi_set_alert_handler() argument
[all …]
Dradio_mode.cpp43 void RADIOModeCommand::setCallbackHandler(wifi_radio_mode_change_handler handler) in setCallbackHandler() argument
45 mHandler = handler; in setCallbackHandler()
Dllstatscommand.h114 virtual void setHandler(wifi_stats_result_handler handler);
Dgscan_event_handler.h76 void setCallbackHandler(GScanCallbackHandler handler);
Dgscan.cpp196 wifi_scan_result_handler handler) in wifi_start_gscan() argument
363 callbackHandler.on_full_scan_result = handler.on_full_scan_result; in wifi_start_gscan()
364 callbackHandler.on_scan_event = handler.on_scan_event; in wifi_start_gscan()
487 wifi_hotlist_ap_found_handler handler) in wifi_set_bssid_hotlist() argument
600 callbackHandler.on_hotlist_ap_found = handler.on_hotlist_ap_found; in wifi_set_bssid_hotlist()
601 callbackHandler.on_hotlist_ap_lost = handler.on_hotlist_ap_lost; in wifi_set_bssid_hotlist()
728 wifi_significant_change_handler handler) in wifi_set_significant_change_handler() argument
851 callbackHandler.on_significant_change = handler.on_significant_change; in wifi_set_significant_change_handler()
1662 wifi_epno_handler handler) in wifi_set_epno_list() argument
1801 callbackHandler.on_pno_network_found = handler.on_network_found; in wifi_set_epno_list()
[all …]
Drssi_monitor.cpp101 void RSSIMonitorCommand::setCallbackHandler(wifi_rssi_event_handler handler) in setCallbackHandler() argument
103 mHandler = handler; in setCallbackHandler()
/hardware/interfaces/health/2.0/default/
Dhealthd_common_adapter.cpp51 int healthd_register_event(int fd, void (*handler)(uint32_t), EventWakeup wakeup) { in healthd_register_event()
54 auto wrapped_handler = [handler](auto*, uint32_t epevents) { handler(epevents); }; in healthd_register_event()
/hardware/broadcom/wlan/bcmdhd/wifi_hal/
Dgscan.cpp169 wifi_scan_result_handler handler);
172 wifi_scan_result_handler handler);
396 wifi_scan_result_handler handler) in FullScanResultsCommand() argument
397 : WifiCommand("FullScanResultsCommand", iface, id), mParams(params), mHandler(handler) in FullScanResultsCommand()
476 wifi_scan_result_handler handler) in ScanCommand() argument
477 : WifiCommand("ScanCommand", iface, id), mParams(params), mHandler(handler) in ScanCommand()
699 wifi_scan_result_handler handler) in wifi_start_gscan() argument
705 ScanCommand *cmd = new ScanCommand(iface, id, &params, handler); in wifi_start_gscan()
727 wifi_scan_result_handler handler; in wifi_stop_gscan() local
730 memset(&handler, 0, sizeof(handler)); in wifi_stop_gscan()
[all …]
Dwifi_logger.cpp497 SetLogHandler(wifi_interface_handle iface, int id, wifi_ring_buffer_data_handler handler) in SetLogHandler() argument
498 : WifiCommand("SetLogHandler", iface, id), mHandler(handler) in SetLogHandler()
576 wifi_ring_buffer_data_handler handler) in wifi_set_log_handler() argument
581 SetLogHandler *cmd = new SetLogHandler(iface, id, handler); in wifi_set_log_handler()
603 wifi_ring_buffer_data_handler handler; in wifi_reset_log_handler() local
604 memset(&handler, 0, sizeof(handler)); in wifi_reset_log_handler()
606 SetLogHandler *cmd = new SetLogHandler(iface, id, handler); in wifi_reset_log_handler()
625 SetAlertHandler(wifi_interface_handle iface, int id, wifi_alert_handler handler) in SetAlertHandler() argument
626 : WifiCommand("SetAlertHandler", iface, id), mHandler(handler), mBuffSize(0), mBuff(NULL), in SetAlertHandler()
759 wifi_alert_handler handler) in wifi_set_alert_handler() argument
[all …]
Dlink_layer_stats.cpp70 GetLinkStatsCommand(wifi_interface_handle iface, wifi_stats_result_handler handler) in GetLinkStatsCommand() argument
71 : WifiCommand("GetLinkStatsCommand", iface, 0), mHandler(handler) in GetLinkStatsCommand()
164 wifi_interface_handle iface, wifi_stats_result_handler handler) in wifi_get_link_stats() argument
166 GetLinkStatsCommand command(iface, handler); in wifi_get_link_stats()
Drtt.cpp323 wifi_rtt_config rtt_config[], wifi_rtt_event_handler handler) in RttCommand() argument
325 rttHandler(handler) in RttCommand()
631 unsigned num_rtt_config, wifi_rtt_config rtt_config[], wifi_rtt_event_handler handler) in wifi_rtt_range_request() argument
634 RttCommand *cmd = new RttCommand(iface, id, num_rtt_config, rtt_config, handler); in wifi_rtt_range_request()
/hardware/libhardware_legacy/include/hardware_legacy/
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));
Dgscan.h203 wifi_scan_cmd_params params, wifi_scan_result_handler handler);
253 wifi_bssid_hotlist_params params, wifi_hotlist_ap_found_handler handler);
307 wifi_significant_change_params params, wifi_significant_change_handler handler);
398 const wifi_epno_params *epno_params, wifi_epno_handler handler);
425 wifi_passpoint_network *networks, wifi_passpoint_event_handler handler);
Dwifi_logger.h307 wifi_ring_buffer_data_handler handler);
328 wifi_alert_handler handler);
384 wifi_firmware_memory_dump_handler handler);
Dwifi_hal.h129 void wifi_cleanup(wifi_handle handle, wifi_cleaned_up_handler handler);
341 wifi_firmware_memory_dump_handler handler);
343 wifi_ring_buffer_data_handler handler);
346 wifi_alert_handler handler);
364 int num, wifi_passpoint_network *networks, wifi_passpoint_event_handler handler);
Dtdls.h66 wifi_tdls_params *params, wifi_tdls_handler handler);
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_thread.c411 uint8_t idx, uint32_t handler, int32_t fd, mm_camera_poll_notify_t notify_cb, in mm_camera_poll_thread_add_poll_fd() argument
418 poll_cb->poll_entries[idx].handler = handler; in mm_camera_poll_thread_add_poll_fd()
428 LOGE("invalid handler %d (%d)", handler, idx); in mm_camera_poll_thread_add_poll_fd()
449 uint8_t idx, uint32_t handler, mm_camera_call_type_t call_type) in mm_camera_poll_thread_del_poll_fd() argument
454 (handler == poll_cb->poll_entries[idx].handler)) { in mm_camera_poll_thread_del_poll_fd()
457 poll_cb->poll_entries[idx].handler = 0; in mm_camera_poll_thread_del_poll_fd()
468 (poll_cb->poll_entries[idx].handler != 0)) { in mm_camera_poll_thread_del_poll_fd()
469 LOGE("invalid handler %d (%d)", poll_cb->poll_entries[idx].handler, in mm_camera_poll_thread_del_poll_fd()
473 LOGW("invalid handler %d (%d)", handler, idx); in mm_camera_poll_thread_del_poll_fd()
Dmm_camera_muxer.c53 uint32_t handler);
55 uint32_t handler);
70 uint8_t mm_camera_util_get_index_by_num(uint8_t cam_num, uint32_t handler) in mm_camera_util_get_index_by_num() argument
73 idx = ((mm_camera_util_get_handle_by_num(cam_num, handler) >> in mm_camera_util_get_index_by_num()
90 uint32_t mm_camera_util_get_handle_by_num(uint8_t cam_num, uint32_t handler) in mm_camera_util_get_handle_by_num() argument
92 return (handler & (MM_CAMERA_HANDLE_BIT_MASK << in mm_camera_util_get_handle_by_num()
109 uint32_t handler = mm_camera_util_generate_handler(index); in mm_camera_util_generate_handler_by_num() local
110 handler = (handler << (MM_CAMERA_HANDLE_SHIFT_MASK * cam_num)); in mm_camera_util_generate_handler_by_num()
111 return handler; in mm_camera_util_generate_handler_by_num()
/hardware/qcom/msm8960/original-kernel-headers/linux/mfd/wcd9xxx/
Dcore.h185 irq_handler_t handler, const char *name, in wcd9xxx_request_irq() argument
190 return request_threaded_irq(wcd9xxx->irq_base + irq, NULL, handler, in wcd9xxx_request_irq()
/hardware/qcom/camera/msm8998/QCamera2/stack/mm-camera-interface/inc/
Dmm_camera.h166 uint32_t handler; member
862 uint8_t mm_camera_util_get_index_by_handler(uint32_t handler);
870 mm_camera_poll_thread_t * poll_cb, uint8_t idx, uint32_t handler,
874 mm_camera_poll_thread_t * poll_cb, uint8_t idx, uint32_t handler,

12