Home
last modified time | relevance | path

Searched refs:client (Results 1 – 25 of 90) sorted by relevance

1234

/device/linaro/dragonboard/qcom/tqftpserv/
Dtqftpserv.c75 static ssize_t tftp_send_data(struct tftp_client *client, in tftp_send_data() argument
82 buf = malloc(4 + client->blksize); in tftp_send_data()
91 len = pread(client->fd, p, client->blksize, offset); in tftp_send_data()
102 len = send(client->sock, buf, p - buf, 0); in tftp_send_data()
201 struct tftp_client *client; in handle_rrq() local
288 client = calloc(1, sizeof(*client)); in handle_rrq()
289 client->sq = *sq; in handle_rrq()
290 client->sock = sock; in handle_rrq()
291 client->fd = fd; in handle_rrq()
292 client->blksize = blksize; in handle_rrq()
[all …]
/device/google/cuttlefish/host/commands/modem_simulator/
Ddata_service.cpp34 [this](const Client& client, std::string& cmd) { in InitializeCommandHandlers()
35 this->HandleActivateDataCall(client, cmd); in InitializeCommandHandlers()
38 [this](const Client& client) { in InitializeCommandHandlers()
39 this->HandleQueryDataCallList(client); in InitializeCommandHandlers()
42 [this](const Client& client, std::string& cmd) { in InitializeCommandHandlers()
43 this->HandlePDPContext(client, cmd); in InitializeCommandHandlers()
46 [this](const Client& client) { in InitializeCommandHandlers()
47 this->HandleQueryPDPContextList(client); in InitializeCommandHandlers()
50 [this](const Client& client) { in InitializeCommandHandlers()
51 this->HandleCommandDefaultSupported(client); in InitializeCommandHandlers()
[all …]
Dmisc_service.cpp32 [this](const Client& client) { in InitializeCommandHandlers()
33 this->HandleCommandDefaultSupported(client); in InitializeCommandHandlers()
36 [this](const Client& client) { in InitializeCommandHandlers()
37 this->HandleCommandDefaultSupported(client); in InitializeCommandHandlers()
40 [this](const Client& client) { in InitializeCommandHandlers()
41 this->HandleCommandDefaultSupported(client); in InitializeCommandHandlers()
44 [this](const Client& client) { in InitializeCommandHandlers()
45 this->HandleCommandDefaultSupported(client); in InitializeCommandHandlers()
48 [this](const Client& client) { in InitializeCommandHandlers()
49 this->HandleCommandDefaultSupported(client); in InitializeCommandHandlers()
[all …]
Dsms_service.cpp32 [this](const Client& client, std::string& cmd) { in InitializeCommandHandlers()
33 this->HandleSendSMS(client, cmd); in InitializeCommandHandlers()
36 [this](const Client& client, std::string& cmd) { in InitializeCommandHandlers()
37 this->HandleSMSAcknowledge(client, cmd); in InitializeCommandHandlers()
40 [this](const Client& client, std::string& cmd) { in InitializeCommandHandlers()
41 this->HandleWriteSMSToSim(client, cmd); in InitializeCommandHandlers()
44 [this](const Client& client, std::string& cmd) { in InitializeCommandHandlers()
45 this->HandleDeleteSmsOnSim(client, cmd); in InitializeCommandHandlers()
48 [this](const Client& client, std::string& cmd) { in InitializeCommandHandlers()
49 this->HandleBroadcastConfig(client, cmd); in InitializeCommandHandlers()
[all …]
Dchannel_monitor.cpp71 void ChannelMonitor::SetRemoteClient(cuttlefish::SharedFD client, bool is_accepted) { in SetRemoteClient() argument
72 auto remote_client = std::make_unique<Client>(client, Client::REMOTE); in SetRemoteClient()
97 auto client = std::make_unique<Client>(client_fd); in AcceptIncomingConnection() local
99 clients_.push_back(std::move(client)); in AcceptIncomingConnection()
107 void ChannelMonitor::ReadCommand(Client& client) { in ReadCommand() argument
109 auto bytes_read = client.client_fd->Read(buffer.data(), buffer.size()); in ReadCommand()
111 if (errno == EAGAIN && client.type == Client::REMOTE && in ReadCommand()
112 client.first_read_command_) { in ReadCommand()
117 LOG(ERROR) << "Error reading from client fd: " << client.client_fd->StrError(); in ReadCommand()
118 client.client_fd->Close(); // Ignore errors here in ReadCommand()
[all …]
Dsup_service.cpp30 [this](const Client& client, std::string& cmd) { in InitializeCommandHandlers()
31 this->HandleUSSD(client, cmd); in InitializeCommandHandlers()
34 [this](const Client& client, std::string& cmd) { in InitializeCommandHandlers()
35 this->HandleCLIR(client, cmd); in InitializeCommandHandlers()
38 [this](const Client& client, std::string& cmd) { in InitializeCommandHandlers()
39 this->HandleCallWaiting(client, cmd); in InitializeCommandHandlers()
42 "+CLIP?", [this](const Client& client) { this->HandleCLIP(client); }), in InitializeCommandHandlers()
44 [this](const Client& client, std::string& cmd) { in InitializeCommandHandlers()
45 this->HandleCallForward(client, cmd); in InitializeCommandHandlers()
48 [this](const Client& client, std::string& cmd) { in InitializeCommandHandlers()
[all …]
Dcall_service.cpp46 [this](const Client& client, std::string& cmd) { in InitializeCommandHandlers()
47 this->HandleDial(client, cmd); in InitializeCommandHandlers()
51 [this](const Client& client) { this->HandleAcceptCall(client); }), in InitializeCommandHandlers()
54 [this](const Client& client) { this->HandleRejectCall(client); }), in InitializeCommandHandlers()
57 [this](const Client& client) { this->HandleCurrentCalls(client); }), in InitializeCommandHandlers()
59 [this](const Client& client, std::string& cmd) { in InitializeCommandHandlers()
60 this->HandleHangup(client, cmd); in InitializeCommandHandlers()
63 [this](const Client& client, std::string& cmd) { in InitializeCommandHandlers()
64 this->HandleMute(client, cmd); in InitializeCommandHandlers()
67 [this](const Client& client, std::string& cmd) { in InitializeCommandHandlers()
[all …]
Dnetwork_service.cpp54 [this](const Client& client) { this->HandleRadioPowerReq(client); }), in InitializeCommandHandlers()
56 [this](const Client& client, std::string& cmd) { in InitializeCommandHandlers()
57 this->HandleRadioPower(client, cmd); in InitializeCommandHandlers()
61 [this](const Client& client) { this->HandleSignalStrength(client); }), in InitializeCommandHandlers()
63 [this](const Client& client) { in InitializeCommandHandlers()
64 this->HandleQueryNetworkSelectionMode(client); in InitializeCommandHandlers()
67 [this](const Client& client) { in InitializeCommandHandlers()
68 this->HandleRequestOperator(client); in InitializeCommandHandlers()
71 [this](const Client& client) { in InitializeCommandHandlers()
72 this->HandleQueryAvailableNetwork(client); in InitializeCommandHandlers()
[all …]
Dsim_service.cpp295 [this](const Client& client) { this->HandleSIMStatusReq(client); }), in InitializeCommandHandlers()
297 [this](const Client& client, std::string& cmd) { in InitializeCommandHandlers()
298 this->HandleChangeOrEnterPIN(client, cmd); in InitializeCommandHandlers()
301 [this](const Client& client, std::string& cmd) { in InitializeCommandHandlers()
302 this->HandleSIM_IO(client, cmd); in InitializeCommandHandlers()
306 [this](const Client& client) { this->HandleGetIMSI(client); }), in InitializeCommandHandlers()
309 [this](const Client& client) { this->HandleGetIccId(client); }), in InitializeCommandHandlers()
311 [this](const Client& client, std::string& cmd) { in InitializeCommandHandlers()
312 this->HandleFacilityLock(client, cmd); in InitializeCommandHandlers()
315 [this](const Client& client, std::string& cmd) { in InitializeCommandHandlers()
[all …]
Dsms_service.h35 void HandleSendSMS(const Client& client, std::string& command);
36 void HandleSendSMSPDU(const Client& client, std::string& command);
37 void HandleSMSAcknowledge(const Client& client, std::string& command);
38 void HandleWriteSMSToSim(const Client& client, std::string& command);
39 void HandleDeleteSmsOnSim(const Client& client, std::string& command);
40 void HandleBroadcastConfig(const Client& client, std::string& command);
41 void HandleGetSmscAddress(const Client& client);
42 void HandleSetSmscAddress(const Client& client, std::string& command);
43 void HandleWriteSMSPduToSim(const Client& client, std::string& command);
44 void HandleReceiveRemoteSMS(const Client& client, std::string& command);
Dnetwork_service.h38 void HandleRadioPowerReq(const Client& client);
39 void HandleRadioPower(const Client& client, std::string& command);
40 void HandleSignalStrength(const Client& client);
41 void HandleQueryNetworkSelectionMode(const Client& client);
42 void HandleRequestOperator(const Client& client);
43 void HandleQueryAvailableNetwork(const Client& client);
44 void HandleSetNetworkSelectionMode(const Client& client, std::string& command);
45 void HandleVoiceNetworkRegistration(const Client& client, std::string& command);
46 void HandleDataNetworkRegistration(const Client& client, std::string& command);
47 void HandleGetPreferredNetworkType(const Client& client);
[all …]
Dcall_service.h35 void HandleDial(const Client& client, const std::string& command);
36 void HandleAcceptCall(const Client& client);
37 void HandleRejectCall(const Client& client);
38 void HandleCurrentCalls(const Client& client);
39 void HandleHangup(const Client& client, const std::string& command);
40 void HandleMute(const Client& client, const std::string& command);
41 void HandleSendDtmf(const Client& client, const std::string& command);
42 void HandleCancelUssd(const Client& client, const std::string& command);
43 void HandleEmergencyMode(const Client& client, const std::string& command);
44 void HandleRemoteCall(const Client& client, const std::string& command);
Dsim_service.h39 void HandleSIMStatusReq(const Client& client);
40 void HandleChangeOrEnterPIN(const Client& client, const std::string& command);
41 void HandleSIM_IO(const Client& client, const std::string& command);
42 void HandleGetIMSI(const Client& client);
43 void HandleGetIccId(const Client& client);
44 void HandleFacilityLock(const Client& client, const std::string& command);
45 void HandleOpenLogicalChannel(const Client& client,
47 void HandleCloseLogicalChannel(const Client& client,
49 void HandleTransmitLogicalChannel(const Client& client,
51 void HandleChangePassword(const Client& client, const std::string& command);
[all …]
Dstk_service.cpp28 [this](const Client& client) { in InitializeCommandHandlers()
29 this->HandleReportStkServiceIsRunning(client); in InitializeCommandHandlers()
32 [this](const Client& client, std::string& cmd) { in InitializeCommandHandlers()
33 this->HandleSendEnvelope(client, cmd); in InitializeCommandHandlers()
36 [this](const Client& client, std::string& cmd) { in InitializeCommandHandlers()
37 this->HandleSendTerminalResponseToSim(client, cmd); in InitializeCommandHandlers()
64 void StkService::HandleReportStkServiceIsRunning(const Client& client) { in HandleReportStkServiceIsRunning() argument
66 client.SendCommandResponse(response); in HandleReportStkServiceIsRunning()
101 void StkService::HandleSendEnvelope(const Client& client , std::string& command) { in HandleSendEnvelope() argument
103 client.SendCommandResponse(response); in HandleSendEnvelope()
[all …]
Ddata_service.h31 void HandleActivateDataCall(const Client& client, const std::string& command);
32 void HandleQueryDataCallList(const Client& client);
33 void HandlePDPContext(const Client& client, const std::string& command);
34 void HandleQueryPDPContextList(const Client& client);
35 void HandleEnterDataState(const Client& client, const std::string& command);
36 void HandleReadDynamicParam(const Client& client, const std::string& command);
/device/google/cuttlefish/host/commands/vtpm_passthrough/
Dvtpm_passthrough.cpp34 void HandleClient(cuttlefish::SharedFD client, cuttlefish::SharedFD device) { in HandleClient() argument
38 … CHECK(cuttlefish::ReadExact(client, &command_bytes) == 4) << "Could not receive TPM_SEND_COMMAND"; in HandleClient()
44 CHECK(cuttlefish::ReadExact(client, &locality) == 1) << "Could not receive locality"; in HandleClient()
46 CHECK(cuttlefish::ReadExact(client, &length_bytes) == 4) << "Could not receive command length"; in HandleClient()
48 … CHECK(cuttlefish::ReadExact(client, &command) == command.size()) << "Could not read TPM message"; in HandleClient()
58 CHECK(cuttlefish::WriteAll(client, length_bytes) == 4) in HandleClient()
59 << "Could not send response length: " << client->StrError(); in HandleClient()
60 CHECK(cuttlefish::WriteAll(client, tpm_response) == tpm_response.size()) in HandleClient()
61 << "Could not send response message: " << client->StrError(); in HandleClient()
63 CHECK(cuttlefish::WriteAll(client, parity) == 4) in HandleClient()
[all …]
/device/google/bonito/sdm710/original-kernel-headers/linux/
Dmsm_ipa.h301 #define IPA_CLIENT_IS_APPS_CONS(client) \ argument
302 ((client) == IPA_CLIENT_APPS_LAN_CONS || \
303 (client) == IPA_CLIENT_APPS_WAN_CONS)
305 #define IPA_CLIENT_IS_USB_CONS(client) \ argument
306 ((client) == IPA_CLIENT_USB_CONS || \
307 (client) == IPA_CLIENT_USB2_CONS || \
308 (client) == IPA_CLIENT_USB3_CONS || \
309 (client) == IPA_CLIENT_USB_DPL_CONS || \
310 (client) == IPA_CLIENT_USB4_CONS)
312 #define IPA_CLIENT_IS_WLAN_CONS(client) \ argument
[all …]
/device/google/crosshatch/sdm845/kernel-headers/linux/
Dmsm_ipa.h201 #define IPA_CLIENT_IS_APPS_CONS(client) ((client) == IPA_CLIENT_APPS_LAN_CONS || (client) == IPA_CL… argument
202client) ((client) == IPA_CLIENT_USB_CONS || (client) == IPA_CLIENT_USB2_CONS || (client) == IPA_CL… argument
203 …IS_WLAN_CONS(client) ((client) == IPA_CLIENT_WLAN1_CONS || (client) == IPA_CLIENT_WLAN2_CONS || (c… argument
204 #define IPA_CLIENT_IS_ODU_CONS(client) ((client) == IPA_CLIENT_ODU_EMB_CONS || (client) == IPA_CLIE… argument
205client) ((client) == IPA_CLIENT_Q6_LAN_CONS || (client) == IPA_CLIENT_Q6_WAN_CONS || (client) == I… argument
206client) ((client) == IPA_CLIENT_Q6_LAN_PROD || (client) == IPA_CLIENT_Q6_WAN_PROD || (client) == I… argument
207 …N_ZIP_CONS(client) ((client) == IPA_CLIENT_Q6_LAN_CONS || (client) == IPA_CLIENT_Q6_WAN_CONS || (c… argument
208 #define IPA_CLIENT_IS_Q6_ZIP_CONS(client) ((client) == IPA_CLIENT_Q6_DECOMP_CONS || (client) == IPA… argument
209 …IPA_CLIENT_IS_Q6_NON_ZIP_PROD(client) ((client) == IPA_CLIENT_Q6_LAN_PROD || (client) == IPA_CLIEN… argument
210 #define IPA_CLIENT_IS_Q6_ZIP_PROD(client) ((client) == IPA_CLIENT_Q6_DECOMP_PROD || (client) == IPA… argument
[all …]
/device/google/bonito/sdm710/kernel-headers/linux/
Dmsm_ipa.h201 #define IPA_CLIENT_IS_APPS_CONS(client) ((client) == IPA_CLIENT_APPS_LAN_CONS || (client) == IPA_CL… argument
202client) ((client) == IPA_CLIENT_USB_CONS || (client) == IPA_CLIENT_USB2_CONS || (client) == IPA_CL… argument
203 …IS_WLAN_CONS(client) ((client) == IPA_CLIENT_WLAN1_CONS || (client) == IPA_CLIENT_WLAN2_CONS || (c… argument
204 #define IPA_CLIENT_IS_ODU_CONS(client) ((client) == IPA_CLIENT_ODU_EMB_CONS || (client) == IPA_CLIE… argument
205client) ((client) == IPA_CLIENT_Q6_LAN_CONS || (client) == IPA_CLIENT_Q6_WAN_CONS || (client) == I… argument
206client) ((client) == IPA_CLIENT_Q6_LAN_PROD || (client) == IPA_CLIENT_Q6_WAN_PROD || (client) == I… argument
207 …N_ZIP_CONS(client) ((client) == IPA_CLIENT_Q6_LAN_CONS || (client) == IPA_CLIENT_Q6_WAN_CONS || (c… argument
208 #define IPA_CLIENT_IS_Q6_ZIP_CONS(client) ((client) == IPA_CLIENT_Q6_DECOMP_CONS || (client) == IPA… argument
209 …IPA_CLIENT_IS_Q6_NON_ZIP_PROD(client) ((client) == IPA_CLIENT_Q6_LAN_PROD || (client) == IPA_CLIEN… argument
210 #define IPA_CLIENT_IS_Q6_ZIP_PROD(client) ((client) == IPA_CLIENT_Q6_DECOMP_PROD || (client) == IPA… argument
[all …]
/device/google/crosshatch/sdm845/original-kernel-headers/linux/
Dmsm_ipa.h301 #define IPA_CLIENT_IS_APPS_CONS(client) \ argument
302 ((client) == IPA_CLIENT_APPS_LAN_CONS || \
303 (client) == IPA_CLIENT_APPS_WAN_CONS)
305 #define IPA_CLIENT_IS_USB_CONS(client) \ argument
306 ((client) == IPA_CLIENT_USB_CONS || \
307 (client) == IPA_CLIENT_USB2_CONS || \
308 (client) == IPA_CLIENT_USB3_CONS || \
309 (client) == IPA_CLIENT_USB_DPL_CONS || \
310 (client) == IPA_CLIENT_USB4_CONS)
312 #define IPA_CLIENT_IS_WLAN_CONS(client) \ argument
[all …]
/device/google/coral-kernel/sm8150/original-kernel-headers/linux/
Dmsm_ipa.h399 #define IPA_CLIENT_IS_APPS_CONS(client) \ argument
400 ((client) == IPA_CLIENT_APPS_LAN_CONS || \
401 (client) == IPA_CLIENT_APPS_WAN_CONS || \
402 (client) == IPA_CLIENT_APPS_WAN_COAL_CONS)
404 #define IPA_CLIENT_IS_USB_CONS(client) \ argument
405 ((client) == IPA_CLIENT_USB_CONS || \
406 (client) == IPA_CLIENT_USB2_CONS || \
407 (client) == IPA_CLIENT_USB3_CONS || \
408 (client) == IPA_CLIENT_USB_DPL_CONS || \
409 (client) == IPA_CLIENT_USB4_CONS)
[all …]
/device/google/coral-kernel/sm8150/kernel-headers/linux/
Dmsm_ipa.h265 …ine IPA_CLIENT_IS_APPS_CONS(client) ((client) == IPA_CLIENT_APPS_LAN_CONS || (client) == IPA_CLIEN… argument
266client) ((client) == IPA_CLIENT_USB_CONS || (client) == IPA_CLIENT_USB2_CONS || (client) == IPA_CL… argument
267 …IS_WLAN_CONS(client) ((client) == IPA_CLIENT_WLAN1_CONS || (client) == IPA_CLIENT_WLAN2_CONS || (c… argument
268 #define IPA_CLIENT_IS_ODU_CONS(client) ((client) == IPA_CLIENT_ODU_EMB_CONS || (client) == IPA_CLIE… argument
269client) ((client) == IPA_CLIENT_Q6_LAN_CONS || (client) == IPA_CLIENT_Q6_WAN_CONS || (client) == I… argument
270client) ((client) == IPA_CLIENT_Q6_LAN_PROD || (client) == IPA_CLIENT_Q6_WAN_PROD || (client) == I… argument
271client) ((client) == IPA_CLIENT_Q6_LAN_CONS || (client) == IPA_CLIENT_Q6_WAN_CONS || (client) == I… argument
272 #define IPA_CLIENT_IS_Q6_ZIP_CONS(client) ((client) == IPA_CLIENT_Q6_DECOMP_CONS || (client) == IPA… argument
273client) ((client) == IPA_CLIENT_Q6_LAN_PROD || (client) == IPA_CLIENT_Q6_WAN_PROD || (client) == I… argument
274 #define IPA_CLIENT_IS_Q6_ZIP_PROD(client) ((client) == IPA_CLIENT_Q6_DECOMP_PROD || (client) == IPA… argument
[all …]
/device/linaro/hikey/hifi/xaf/hifi-dpf/core/
Dxf-core.c63 static inline xf_component_t * xf_client_lookup(xf_core_data_t *cd, u32 client) in xf_client_lookup() argument
65 xf_cmap_link_t *link = &cd->cmap[client]; in xf_client_lookup()
74 u32 client = cd->free; in xf_client_alloc() local
77 (client < XF_CFG_MAX_CLIENTS ? cd->free = cd->cmap[client].next : 0); in xf_client_alloc()
79 return client; in xf_client_alloc()
83 static inline void xf_client_free(xf_core_data_t *cd, u32 client) in xf_client_free() argument
86 cd->cmap[client].next = cd->free, cd->free = client; in xf_client_free()
98 u32 client; in xf_proxy_register() local
102 XF_CHK_ERR((client = xf_client_alloc(cd)) != XF_CFG_MAX_CLIENTS, -EBUSY); in xf_proxy_register()
110 xf_client_free(cd, client); in xf_proxy_register()
[all …]
/device/google/cuttlefish/host/libs/wayland/
Dwayland_seat.cpp77 void seat_get_pointer(wl_client* client, wl_resource* seat, uint32_t id) { in seat_get_pointer() argument
83 wl_resource_create(client, &wl_pointer_interface, in seat_get_pointer()
92 void seat_get_keyboard(wl_client* client, wl_resource* seat, uint32_t id) { in seat_get_keyboard() argument
98 wl_resource_create(client, &wl_keyboard_interface, in seat_get_keyboard()
107 void seat_get_touch(wl_client* client, wl_resource* seat, uint32_t id) { in seat_get_touch() argument
113 wl_resource_create(client, &wl_touch_interface, in seat_get_touch()
136 void bind_seat(wl_client* client, void* data, uint32_t version, uint32_t id) { in bind_seat() argument
138 wl_resource_create(client, &wl_seat_interface, in bind_seat()
Dwayland_dmabuf.cpp68 void linux_buffer_params_create(wl_client* client, in linux_buffer_params_create() argument
82 wl_resource_create(client, &wl_buffer_interface, 1, 0); in linux_buffer_params_create()
88 void linux_buffer_params_create_immed(wl_client* client, in linux_buffer_params_create_immed() argument
104 wl_resource_create(client, &wl_buffer_interface, 1, id); in linux_buffer_params_create_immed()
124 void linux_dmabuf_create_params(wl_client* client, in linux_dmabuf_create_params() argument
132 wl_resource_create(client, &zwp_linux_buffer_params_v1_interface, 1, id); in linux_dmabuf_create_params()
146 void bind_linux_dmabuf(wl_client* client, in bind_linux_dmabuf() argument
151 wl_resource_create(client, &zwp_linux_dmabuf_v1_interface, in bind_linux_dmabuf()

1234