Home
last modified time | relevance | path

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

12

/hardware/intel/common/omx-components/videocodec/
DOMXComponentCodecBase.cpp76 OMXHANDLER handler = FindHandler(nIndex, true); in ComponentGetParameter() local
77 if (handler == NULL) { in ComponentGetParameter()
83 return (*handler)(this, pComponentParameterStructure); in ComponentGetParameter()
90 OMXHANDLER handler = FindHandler(nIndex, false); in ComponentSetParameter() local
91 if (handler == NULL) { in ComponentSetParameter()
97 return (*handler)(this, pComponentParameterStructure); in ComponentSetParameter()
104 OMXHANDLER handler = FindHandler(nIndex, true); in ComponentGetConfig() local
105 if (handler == NULL) { in ComponentGetConfig()
111 return (*handler)(this, pComponentConfigStructure); in ComponentGetConfig()
120 OMXHANDLER handler = FindHandler(nIndex, false); in ComponentSetConfig() local
[all …]
/hardware/libhardware_legacy/uevent/
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/wlan/qcwcn/wifi_hal/
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);
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()
Dwifilogger.cpp201 wifi_alert_handler handler; in send_alert() local
204 handler.on_alert = info->on_alert; in send_alert()
207 if (handler.on_alert) { in send_alert()
208 handler.on_alert(0, NULL, 0, reason_code); in send_alert()
481 wifi_firmware_memory_dump_handler handler) in wifi_get_firmware_memory_dump() argument
528 handler.on_firmware_memory_dump; in wifi_get_firmware_memory_dump()
547 wifi_ring_buffer_data_handler handler) in wifi_set_log_handler() argument
553 info->on_ring_buffer_data = handler.on_ring_buffer_data; in wifi_set_log_handler()
555 if (handler.on_ring_buffer_data == NULL) { in wifi_set_log_handler()
576 wifi_alert_handler handler) in wifi_set_alert_handler() argument
[all …]
Drtt.cpp94 wifi_rtt_event_handler handler) in wifi_rtt_range_request() argument
120 if (handler.on_rtt_results == NULL) { in wifi_rtt_range_request()
144 handler); in wifi_rtt_range_request()
Dllstatscommand.h110 virtual void setHandler(wifi_stats_result_handler handler);
Dgscan.cpp278 wifi_scan_result_handler handler) in wifi_start_gscan() argument
310 ret = lowiWifiHalApi->start_gscan(id, iface, params, handler); in wifi_start_gscan()
459 callbackHandler.on_full_scan_result = handler.on_full_scan_result; in wifi_start_gscan()
460 callbackHandler.on_scan_event = handler.on_scan_event; in wifi_start_gscan()
597 wifi_hotlist_ap_found_handler handler) in wifi_set_bssid_hotlist() argument
626 ret = lowiWifiHalApi->set_bssid_hotlist(id, iface, params,handler); in wifi_set_bssid_hotlist()
723 callbackHandler.on_hotlist_ap_found = handler.on_hotlist_ap_found; in wifi_set_bssid_hotlist()
724 callbackHandler.on_hotlist_ap_lost = handler.on_hotlist_ap_lost; in wifi_set_bssid_hotlist()
866 wifi_significant_change_handler handler) in wifi_set_significant_change_handler() argument
898 handler); in wifi_set_significant_change_handler()
[all …]
Dgscan_event_handler.h76 void setCallbackHandler(GScanCallbackHandler handler);
/hardware/qcom/camera/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/camera/QCamera2/stack/mm-camera-interface/src/
Dmm_camera_thread.c409 uint32_t handler, in mm_camera_poll_thread_add_poll_fd() argument
420 idx = mm_camera_util_get_index_by_handler(handler); in mm_camera_poll_thread_add_poll_fd()
428 poll_cb->poll_entries[idx].handler = handler; in mm_camera_poll_thread_add_poll_fd()
438 LOGE("invalid handler %d (%d)", handler, idx); in mm_camera_poll_thread_add_poll_fd()
458 uint32_t handler, in mm_camera_poll_thread_del_poll_fd() argument
466 idx = mm_camera_util_get_index_by_handler(handler); in mm_camera_poll_thread_del_poll_fd()
473 (handler == poll_cb->poll_entries[idx].handler)) { in mm_camera_poll_thread_del_poll_fd()
476 poll_cb->poll_entries[idx].handler = 0; in mm_camera_poll_thread_del_poll_fd()
487 (poll_cb->poll_entries[idx].handler != 0)) { in mm_camera_poll_thread_del_poll_fd()
488 LOGE("invalid handler %d (%d)", poll_cb->poll_entries[idx].handler, in mm_camera_poll_thread_del_poll_fd()
[all …]
/hardware/broadcom/wlan/bcmdhd/wifi_hal/
Dgscan.cpp151 wifi_scan_result_handler handler);
154 wifi_scan_result_handler handler);
378 wifi_scan_result_handler handler) in FullScanResultsCommand() argument
379 : WifiCommand("FullScanResultsCommand", iface, id), mParams(params), mHandler(handler) in FullScanResultsCommand()
458 wifi_scan_result_handler handler) in ScanCommand() argument
459 : WifiCommand("ScanCommand", iface, id), mParams(params), mHandler(handler) in ScanCommand()
681 wifi_scan_result_handler handler) in wifi_start_gscan() argument
687 ScanCommand *cmd = new ScanCommand(iface, id, &params, handler); in wifi_start_gscan()
709 wifi_scan_result_handler handler; in wifi_stop_gscan() local
712 memset(&handler, 0, sizeof(handler)); in wifi_stop_gscan()
[all …]
Dlink_layer_stats.cpp53 GetLinkStatsCommand(wifi_interface_handle iface, wifi_stats_result_handler handler) in GetLinkStatsCommand() argument
54 : WifiCommand("GetLinkStatsCommand", iface, 0), mHandler(handler) in GetLinkStatsCommand()
147 wifi_interface_handle iface, wifi_stats_result_handler handler) in wifi_get_link_stats() argument
149 GetLinkStatsCommand command(iface, handler); in wifi_get_link_stats()
Dwifi_logger.cpp480 SetLogHandler(wifi_interface_handle iface, int id, wifi_ring_buffer_data_handler handler) in SetLogHandler() argument
481 : WifiCommand("SetLogHandler", iface, id), mHandler(handler) in SetLogHandler()
559 wifi_ring_buffer_data_handler handler) in wifi_set_log_handler() argument
564 SetLogHandler *cmd = new SetLogHandler(iface, id, handler); in wifi_set_log_handler()
586 wifi_ring_buffer_data_handler handler; in wifi_reset_log_handler() local
587 memset(&handler, 0, sizeof(handler)); in wifi_reset_log_handler()
589 SetLogHandler *cmd = new SetLogHandler(iface, id, handler); in wifi_reset_log_handler()
608 SetAlertHandler(wifi_interface_handle iface, int id, wifi_alert_handler handler) in SetAlertHandler() argument
609 : WifiCommand("SetAlertHandler", iface, id), mHandler(handler), mBuffSize(0), mBuff(NULL), in SetAlertHandler()
742 wifi_alert_handler handler) in wifi_set_alert_handler() argument
[all …]
/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.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);
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);
Dwifi_logger.h307 wifi_ring_buffer_data_handler handler);
328 wifi_alert_handler handler);
384 wifi_firmware_memory_dump_handler handler);
Dtdls.h66 wifi_tdls_params *params, wifi_tdls_handler handler);
/hardware/bsp/intel/peripheral/libupm/examples/c++/
Dpulsensor.cxx43 handler (clbk_data data) { in handler() function
51 Pulsensor *sensor = new Pulsensor(handler); in main()
/hardware/bsp/intel/peripheral/libmraa/api/mraa/
Diio.hpp215 registerEventHandler(IioHandler* handler) const in registerEventHandler()
217 mraa_result_t res = mraa_iio_event_setup_callback(m_iio, private_event_handler, handler); in registerEventHandler()
227 IioHandler* handler = (IioHandler*)args; in private_event_handler() local
238 handler->onIioEvent(eventData); in private_event_handler()
/hardware/bsp/intel/peripheral/libupm/src/pulsensor/
Dpulsensor.cxx51 Pulsensor::Pulsensor (callback_handler handler) : pin_ctx(0) in Pulsensor() argument
53 callback = handler; in Pulsensor()
Dpulsensor.h92 Pulsensor(callback_handler handler);
/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/QCamera2/stack/mm-camera-interface/inc/
Dmm_camera.h159 uint32_t handler; member
734 uint8_t mm_camera_util_get_index_by_handler(uint32_t handler);
743 uint32_t handler,
750 uint32_t handler,

12