Home
last modified time | relevance | path

Searched refs:Client (Results 1 – 25 of 41) sorted by relevance

12

/device/google/cuttlefish/host/commands/modem_simulator/
Dchannel_monitor.h53 class Client {
57 Client() = default;
58 ~Client() = default;
59 Client(SharedFD fd);
60 Client(SharedFD read, SharedFD write);
61 Client(SharedFD fd, ClientType client_type);
62 Client(SharedFD read, SharedFD write, ClientType client_type);
63 Client(const Client& client) = delete;
64 Client(Client&& client) = delete;
66 Client& operator=(Client&& other) = delete;
[all …]
Dchannel_monitor.cpp43 Client::Client(SharedFD fd) : client_read_fd_(fd), client_write_fd_(fd) {} in Client() function in cuttlefish::Client
45 Client::Client(SharedFD read, SharedFD write) in Client() function in cuttlefish::Client
48 Client::Client(SharedFD fd, ClientType client_type) in Client() function in cuttlefish::Client
51 Client::Client(SharedFD read, SharedFD write, ClientType client_type) in Client() function in cuttlefish::Client
56 bool Client::operator==(const Client& other) const { in operator ==()
61 void Client::SendCommandResponse(std::string response) const { in SendCommandResponse()
76 void Client::SendCommandResponse( in SendCommandResponse()
95 auto remote_client = std::make_unique<Client>(client, Client::REMOTE); in SetRemoteClient()
125 auto client = std::make_unique<Client>(client_fd); in AcceptIncomingConnection()
135 void ChannelMonitor::ReadCommand(Client& client) { in ReadCommand()
[all …]
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 HandleCSIM_IO(const Client& client, const std::string& command);
43 void HandleGetIMSI(const Client& client);
44 void HandleGetIccId(const Client& client);
45 void HandleFacilityLock(const Client& client, const std::string& command);
46 void HandleOpenLogicalChannel(const Client& client,
48 void HandleCloseLogicalChannel(const Client& client,
50 void HandleTransmitLogicalChannel(const Client& client,
[all …]
Dsms_service.cpp34 [this](const Client& client, std::string& cmd) { in InitializeCommandHandlers()
38 [this](const Client& client, std::string& cmd) { in InitializeCommandHandlers()
42 [this](const Client& client, std::string& cmd) { in InitializeCommandHandlers()
46 [this](const Client& client, std::string& cmd) { in InitializeCommandHandlers()
50 [this](const Client& client, std::string& cmd) { in InitializeCommandHandlers()
55 [this](const Client& client) { this->HandleGetSmscAddress(client); }), in InitializeCommandHandlers()
57 [this](const Client& client, std::string& cmd) { in InitializeCommandHandlers()
61 [this](const Client& client, std::string& cmd) { in InitializeCommandHandlers()
93 void SmsService::HandleSendSMS(const Client& client, std::string& /*command*/) { in HandleSendSMS()
118 void SmsService::HandleSMSAcknowledge(const Client& client, std::string& /*command*/) { in HandleSMSAcknowledge()
[all …]
Ddata_service.cpp34 [this](const Client& client, std::string& cmd) { in InitializeCommandHandlers()
38 [this](const Client& client) { in InitializeCommandHandlers()
42 [this](const Client& client, std::string& cmd) { in InitializeCommandHandlers()
46 [this](const Client& client) { in InitializeCommandHandlers()
50 [this](const Client& client) { in InitializeCommandHandlers()
54 [this](const Client& client) { in InitializeCommandHandlers()
58 [this](const Client& client) { in InitializeCommandHandlers()
62 [this](const Client& client, std::string& cmd) { in InitializeCommandHandlers()
66 [this](const Client& client) { in InitializeCommandHandlers()
70 [this](const Client& client, std::string& cmd) { in InitializeCommandHandlers()
[all …]
Dnetwork_service.cpp47 [this](const Client& client) { this->HandleRadioPowerReq(client); }), in InitializeCommandHandlers()
49 [this](const Client& client, std::string& cmd) { in InitializeCommandHandlers()
53 [this](const Client& client, std::string& cmd) { in InitializeCommandHandlers()
58 [this](const Client& client) { this->HandleSignalStrength(client); }), in InitializeCommandHandlers()
60 [this](const Client& client) { in InitializeCommandHandlers()
64 [this](const Client& client) { in InitializeCommandHandlers()
68 [this](const Client& client) { in InitializeCommandHandlers()
72 [this](const Client& client, std::string& cmd) { in InitializeCommandHandlers()
76 [this](const Client& client, std::string& cmd) { in InitializeCommandHandlers()
80 [this](const Client& client, std::string& cmd) { in InitializeCommandHandlers()
[all …]
Dnetwork_service.h40 void HandleRadioPowerReq(const Client& client);
41 void HandleRadioPower(const Client& client, std::string& command);
42 void HandleSignalStrength(const Client& client);
43 void HandleQueryNetworkSelectionMode(const Client& client);
44 void HandleRequestOperator(const Client& client);
45 void HandleQueryAvailableNetwork(const Client& client);
46 void HandleSetNetworkSelectionMode(const Client& client, std::string& command);
47 void HandleVoiceNetworkRegistration(const Client& client, std::string& command);
48 void HandleDataNetworkRegistration(const Client& client, std::string& command);
49 void HandleGetPreferredNetworkType(const Client& client);
[all …]
Dmisc_service.cpp63 [this](const Client& client) { in InitializeCommandHandlers()
67 [this](const Client& client) { in InitializeCommandHandlers()
71 [this](const Client& client) { in InitializeCommandHandlers()
75 [this](const Client& client) { in InitializeCommandHandlers()
79 [this](const Client& client) { in InitializeCommandHandlers()
83 [this](const Client& client) { in InitializeCommandHandlers()
87 [this](const Client& client) { in InitializeCommandHandlers()
91 [this](const Client& client) { in InitializeCommandHandlers()
96 [this](const Client& client, std::string& cmd) { in InitializeCommandHandlers()
100 [this](const Client& client, std::string& cmd) { in InitializeCommandHandlers()
[all …]
Dcall_service.cpp51 [this](const Client& client, std::string& cmd) { in InitializeCommandHandlers()
56 [this](const Client& client) { this->HandleAcceptCall(client); }), in InitializeCommandHandlers()
59 [this](const Client& client) { this->HandleRejectCall(client); }), in InitializeCommandHandlers()
62 [this](const Client& client) { this->HandleCurrentCalls(client); }), in InitializeCommandHandlers()
64 [this](const Client& client, std::string& cmd) { in InitializeCommandHandlers()
68 [this](const Client& client, std::string& cmd) { in InitializeCommandHandlers()
72 [this](const Client& client, std::string& cmd) { in InitializeCommandHandlers()
76 [this](const Client& client, std::string& cmd) { in InitializeCommandHandlers()
80 [this](const Client& client, std::string& cmd) { in InitializeCommandHandlers()
84 [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);
Dsup_service.cpp30 [this](const Client& client, std::string& cmd) { in InitializeCommandHandlers()
34 [this](const Client& client, std::string& cmd) { in InitializeCommandHandlers()
38 [this](const Client& client, std::string& cmd) { in InitializeCommandHandlers()
42 "+CLIP?", [this](const Client& client) { this->HandleCLIP(client); }), in InitializeCommandHandlers()
44 [this](const Client& client, std::string& cmd) { in InitializeCommandHandlers()
48 [this](const Client& client, std::string& cmd) { in InitializeCommandHandlers()
85 void SupService::HandleUSSD(const Client& client, std::string& /*command*/) { in HandleUSSD()
112 void SupService::HandleCLIR(const Client& client, std::string& command) { in HandleCLIR()
149 void SupService::HandleCLIP(const Client& client) { in HandleCLIP()
174 void SupService::HandleSuppServiceNotifications(const Client& client, std::string& /*command*/) { in HandleSuppServiceNotifications()
[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.cpp297 [this](const Client& client) { this->HandleSIMStatusReq(client); }), in InitializeCommandHandlers()
299 [this](const Client& client, std::string& cmd) { in InitializeCommandHandlers()
303 [this](const Client& client, std::string& cmd) { in InitializeCommandHandlers()
307 [this](const Client& client, std::string& cmd) { in InitializeCommandHandlers()
312 [this](const Client& client) { this->HandleGetIMSI(client); }), in InitializeCommandHandlers()
315 [this](const Client& client) { this->HandleGetIccId(client); }), in InitializeCommandHandlers()
317 [this](const Client& client, std::string& cmd) { in InitializeCommandHandlers()
321 [this](const Client& client, std::string& cmd) { in InitializeCommandHandlers()
325 [this](const Client& client, std::string& cmd) { in InitializeCommandHandlers()
329 [this](const Client& client, std::string& cmd) { in InitializeCommandHandlers()
[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);
Dsup_service.h31 void HandleUSSD(const Client& client, std::string& command);
32 void HandleCLIR(const Client& client, std::string& command);
33 void HandleCallWaiting(const Client& client, std::string& command);
34 void HandleCLIP(const Client& client);
35 void HandleCallForward(const Client& client, std::string& command);
36 void HandleSuppServiceNotifications(const Client& client, std::string& command);
Dstk_service.cpp29 [this](const Client& client) { in InitializeCommandHandlers()
33 [this](const Client& client, std::string& cmd) { in InitializeCommandHandlers()
37 [this](const Client& client, std::string& cmd) { in InitializeCommandHandlers()
65 void StkService::HandleReportStkServiceIsRunning(const Client& client) { in HandleReportStkServiceIsRunning()
106 void StkService::HandleSendEnvelope(const Client& client , std::string& command) { in HandleSendEnvelope()
170 void StkService::HandleSendTerminalResponseToSim(const Client& client, std::string& command) { in HandleSendTerminalResponseToSim()
Dmodem_service.h40 using f_func = std::function<void(const Client&)>; // Full match
41 using p_func = std::function<void(const Client&, std::string&)>; // Partial match
51 void HandleCommand(const Client& client, std::string& command) const;
71 bool HandleModemCommand(const Client& client, std::string command);
107 void HandleCommandDefaultSupported(const Client& client);
/device/google/coral/
Dsec_config2 /* <GPS QMI Service ID - 16>:<GPS QMI Instance ID - all instances>:<Client Group ID> */
4 /* <QDMA QMI Service ID - 75>:<QDMA QMI Instance ID - all instances>:<Client Group ID> */
6 /* <LOWI QMI Service ID - 38>:<LOWI QMI Instance ID - all instances>:<Client Group ID> */
10 /* <UIMHTTP QMI Service ID - 16>:<UIMHTTP QMI Instance ID - all instances>:<Client Group ID> */
12 /* <UIMRMT QMI Service ID - 16>:<UIMRMT QMI Instance ID - all instances>:<Client Group ID> */
325 /* <WLFW QMI Service ID - 0x45>:<WLFW QMI Instance ID - all instances>:<Client Group ID> */
327 /* <WLPS QMI Service ID - 0x39>:<WLFW QMI Instance ID - all instances>:<Client Group ID> */
329 /* <MODEM_SVC QMI Service ID - 235>:<MODEM_SVC QMI Instance ID - all instances>:<Client Group ID> */
/device/google/redbull/
Dsec_config2 /* <GPS QMI Service ID - 16>:<GPS QMI Instance ID - all instances>:<Client Group ID> */
4 /* <QDMA QMI Service ID - 75>:<QDMA QMI Instance ID - all instances>:<Client Group ID> */
6 /* <LOWI QMI Service ID - 38>:<LOWI QMI Instance ID - all instances>:<Client Group ID> */
10 /* <UIMHTTP QMI Service ID - 16>:<UIMHTTP QMI Instance ID - all instances>:<Client Group ID> */
12 /* <UIMRMT QMI Service ID - 16>:<UIMRMT QMI Instance ID - all instances>:<Client Group ID> */
325 /* <WLFW QMI Service ID - 0x45>:<WLFW QMI Instance ID - all instances>:<Client Group ID> */
327 /* <WLPS QMI Service ID - 0x39>:<WLFW QMI Instance ID - all instances>:<Client Group ID> */
329 /* <MODEM_SVC QMI Service ID - 235>:<MODEM_SVC QMI Instance ID - all instances>:<Client Group ID> */
/device/google/sunfish/
Dsec_config2 /* <GPS QMI Service ID - 16>:<GPS QMI Instance ID - all instances>:<Client Group ID> */
4 /* <QDMA QMI Service ID - 75>:<QDMA QMI Instance ID - all instances>:<Client Group ID> */
6 /* <LOWI QMI Service ID - 38>:<LOWI QMI Instance ID - all instances>:<Client Group ID> */
10 /* <UIMHTTP QMI Service ID - 16>:<UIMHTTP QMI Instance ID - all instances>:<Client Group ID> */
12 /* <UIMRMT QMI Service ID - 16>:<UIMRMT QMI Instance ID - all instances>:<Client Group ID> */
328 /* <WLFW QMI Service ID - 0x45>:<WLFW QMI Instance ID - all instances>:<Client Group ID> */
330 /* <WLPS QMI Service ID - 0x39>:<WLFW QMI Instance ID - all instances>:<Client Group ID> */
/device/google/contexthub/contexthubhal/test/
Dmain.cpp67 class Client : IClient { class in CHub
73 explicit Client(const context_hub_t *hub, CHub *parent) { in Client() function in CHub::Client
77 ~Client() = default;
114 mHubs[item->hub_id] = std::unique_ptr<Client>(new Client(item, this)); in CHub()
131 Client *cli = getClientById(hubId); in onMessage()
151 Client *getClientById(size_t id) { return mHubs.count(id) ? mHubs[id].get() : nullptr; } in getClientById()
156 std::map <size_t, std::unique_ptr<Client> > mHubs;
164 Client *getClientByIndex(size_t idx) { in getClientByIndex()
172 CHub::Client *mClient;
/device/google/cuttlefish/host/frontend/webrtc_operator/
DReadme.md65 * **Client** connects to *connect_client*
67 * **Client** sends **connect** message
69 * **Server** sends **config** message to **Client**
71 * **Server** sends **device_info** message to **Client**
73 * **Client** sends **forward** message
86 design, the **Client** connects first and only receives a **config** message
88 the **Server** sends the **device_info** messaage to the **Client**.
/device/google/cuttlefish/common/frontend/socket_vsock_proxy/
Dclient.h25 class Client {
29 virtual ~Client() = default;
32 class TcpClient : public Client {
45 class VsockClient : public Client {
Dsocket_vsock_proxy.cpp120 static std::unique_ptr<Client> BuildClient() { in BuildClient()
133 std::unique_ptr<Client> client = nullptr; in BuildClient()
148 static Result<std::unique_ptr<ProxyServer>> StartProxyAsync(Server& server, Client& client) { in StartProxyAsync()
156 Server& server, Client& client) { in ListenEventsAndProxy()
/device/generic/goldfish/tnc/
Dmain.cpp21 Client, enumerator
187 mode = Mode::Client; in main()
197 if (mode == Mode::Client || mode == Mode::Server) { in main()
211 case Mode::Client: in main()

12