Home
last modified time | relevance | path

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

/device/generic/goldfish/wifi/wifi_hal/
Dnetlink.cpp85 void Netlink::stop(StopHandler handler) { in stop() argument
92 mStopHandler = handler; in stop()
136 StopHandler handler; in eventLoop() local
139 handler = mStopHandler; in eventLoop()
141 if (handler) { in eventLoop()
142 handler(); in eventLoop()
156 ReplyHandler handler) { in sendMessage() argument
163 mHandlers[message.sequence()] = handler; in sendMessage()
254 auto handler = mHandlers.find(message.sequence()); in notifyHandler() local
255 if (handler == mHandlers.end()) { in notifyHandler()
[all …]
Dinterface.h36 wifi_stats_result_handler handler);
38 wifi_error setAlertHandler(wifi_request_id id, wifi_alert_handler handler);
58 wifi_ring_buffer_data_handler handler);
78 wifi_stats_result_handler handler,
Dwifi_hal.cpp77 void wifi_cleanup(wifi_handle handle, wifi_cleaned_up_handler handler) { in wifi_cleanup() argument
107 handler(handle); in wifi_cleanup()
149 wifi_stats_result_handler handler) { in wifi_get_link_stats() argument
154 return asInterface(handle)->getLinkStats(id, handler); in wifi_get_link_stats()
168 wifi_alert_handler handler) { in wifi_set_alert_handler() argument
173 return asInterface(handle)->setAlertHandler(id, handler); in wifi_set_alert_handler()
273 wifi_ring_buffer_data_handler handler) { in wifi_set_log_handler() argument
278 return asInterface(handle)->setLogHandler(id, handler); in wifi_set_log_handler()
Dinterface.cpp90 wifi_stats_result_handler handler) { in getLinkStats() argument
104 handler, in getLinkStats()
261 wifi_stats_result_handler handler, in onLinkStatsReply() argument
293 handler.on_link_stats_results(requestId, &ifStats, numRadios, &radioStats); in onLinkStatsReply()
Dnetlink.h41 bool sendMessage(const NetlinkMessage& message, ReplyHandler handler);
/device/google/cuttlefish/host/commands/modem_simulator/
Dmodem_service.cpp49 CommandHandler::CommandHandler(const std::string& command, f_func handler) in CommandHandler() argument
52 f_command_handler(handler) {} in CommandHandler()
54 CommandHandler::CommandHandler(const std::string& command, p_func handler) in CommandHandler() argument
57 p_command_handler(handler) {} in CommandHandler()
91 for (auto& handler : command_handlers_) { in HandleModemCommand() local
92 if (handler.Compare(command) == 0) { in HandleModemCommand()
93 handler.HandleCommand(client, command); in HandleModemCommand()
Dmodem_service.h46 CommandHandler(const std::string& command, f_func handler);
47 CommandHandler(const std::string& command, p_func handler);
/device/google/contexthub/firmware/os/inc/
DnanohubCommand.h28 uint32_t (*handler)(void *, uint8_t, void *, uint64_t); member
39 void (*handler)(void *, uint8_t); member
46 void (*handler)(void *, uint8_t, uint32_t); member
/device/linaro/poplar/wifi/wifi_hal/
Dlink_layer_stats.cpp54 GetLinkStatsCommand(wifi_interface_handle iface, wifi_stats_result_handler handler) in GetLinkStatsCommand() argument
55 : WifiCommand("GetLinkStatsCommand", iface, 0), mHandler(handler) in GetLinkStatsCommand()
120 wifi_interface_handle iface, wifi_stats_result_handler handler) in wifi_get_link_stats() argument
122 GetLinkStatsCommand command(iface, handler); in wifi_get_link_stats()
Dgscan.cpp169 wifi_scan_result_handler handler);
172 wifi_scan_result_handler handler);
395 wifi_scan_result_handler handler) in FullScanResultsCommand() argument
396 : WifiCommand("FullScanResultsCommand", iface, id), mParams(params), mHandler(handler) in FullScanResultsCommand()
475 wifi_scan_result_handler handler) in ScanCommand() argument
476 : WifiCommand("ScanCommand", iface, id), mParams(params), mHandler(handler) in ScanCommand()
698 wifi_scan_result_handler handler) in wifi_start_gscan() argument
704 ScanCommand *cmd = new ScanCommand(iface, id, &params, handler); in wifi_start_gscan()
726 wifi_scan_result_handler handler; in wifi_stop_gscan() local
729 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 …]
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()
Dwifi_hal.cpp379 void wifi_cleanup(wifi_handle handle, wifi_cleaned_up_handler handler) in wifi_cleanup() argument
384 info->cleaned_up_handler = handler; in wifi_cleanup()
1315 wifi_rssi_event_handler handler; in wifi_stop_rssi_monitoring() local
1318 memset(&handler, 0, sizeof(handler)); in wifi_stop_rssi_monitoring()
1320 max_rssi, min_rssi, handler); in wifi_stop_rssi_monitoring()
/device/google/contexthub/firmware/os/cpu/cortexm4/
Dcpu.c244 SyscallFunc handler; in syscallHandler() local
251 else if (!(handler = syscallGetHandler(syscallNr))) in syscallHandler()
254 handler(excRegs, svcNo ? args_fast : args_long); in syscallHandler()
/device/google/cuttlefish/host/frontend/gcastv2/https/
DClientSocket.cpp61 std::shared_ptr<WebSocketHandler> handler) { in setWebSocketHandler() argument
62 mWebSocketHandler = handler; in setWebSocketHandler()
DHTTPServer.cpp246 auto [status, handler] = factory(); in handleWebSocketRequest()
248 if (status != 0 || !handler) { in handleWebSocketRequest()
306 clientSocket->setWebSocketHandler(handler); in handleWebSocketRequest()
/device/google/cuttlefish/host/frontend/gcastv2/https/include/https/
DClientSocket.h48 void setWebSocketHandler(std::shared_ptr<WebSocketHandler> handler);
/device/linaro/hikey/hifi/xaf/hifi-dpf/core/util/gdbstub/
Dgdbstub.c549 _xtos_handler handler[sizeof(cause) / sizeof(cause[0])]; in handle_exception() local
552 handler[i] = _xtos_exc_handler_table[cause[i]]; in handle_exception()
732 _xtos_exc_handler_table[cause[i]] = handler[i]; in handle_exception()
/device/google/contexthub/contexthubhal/test/
Dmain.cpp79 void setHandler(std::function<void(const hub_message_t &)> handler) { in setHandler() argument
80 mHandler = handler; in setHandler()
/device/google/contexthub/firmware/os/core/
DhostIntf.c510 uint8_t respLen = mRxCmd->handler(rxPayload, rx_len, txPayload, mRxTimestamp); in hostIntfGenerateResponse()
1241 halCmd->handler((void *)&halData[1], size - 1); in handleLegacyHalCmd()
1266 halCmd->handler((void *)&halData[1], len, transactionId); in onEvtAppFromHostChre()
DnanohubCommand.c58 { .reason = _reason, .fastHandler = _fastHandler, .handler = _handler, \
62 { .msg = _msg, .handler = _handler }
65 { .msg = _msg, .handler = _handler, \
/device/linaro/dragonboard/db845c/firmware/
Dadsp.b1332handler with node idx %lu��AudioStreamMgr_StreamCmdHandler.cpp:AudioStreamMgr [%u,%u]; enter Audio…
/device/google/cuttlefish_kernel/5.4-arm64/
DSystem.map158018 ffffffc0115c0150 d handler