Home
last modified time | relevance | path

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

12

/device/google/cuttlefish/host/commands/modem_simulator/
Dchannel_monitor.h40 class Client {
51 Client() = default;
52 ~Client() = default;
53 Client(cuttlefish::SharedFD fd);
54 Client(cuttlefish::SharedFD fd, ClientType client_type);
55 Client(const Client& client) = delete;
56 Client(Client&& client) = delete;
58 Client& operator=(Client&& other) = delete;
60 bool operator==(const Client& other) const;
87 std::vector<std::unique_ptr<Client>> clients_;
[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 …]
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 …]
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);
Dmisc_service.cpp32 [this](const Client& client) { in InitializeCommandHandlers()
36 [this](const Client& client) { in InitializeCommandHandlers()
40 [this](const Client& client) { in InitializeCommandHandlers()
44 [this](const Client& client) { in InitializeCommandHandlers()
48 [this](const Client& client) { in InitializeCommandHandlers()
52 [this](const Client& client) { in InitializeCommandHandlers()
56 [this](const Client& client) { in InitializeCommandHandlers()
60 [this](const Client& client) { in InitializeCommandHandlers()
65 [this](const Client& client, std::string& cmd) { in InitializeCommandHandlers()
72 void MiscService::HandleGetIMEI(const Client& client, std::string& command) { in HandleGetIMEI()
Dchannel_monitor.cpp29 Client::Client(cuttlefish::SharedFD fd) : client_fd(fd) {} in Client() function in cuttlefish::Client
31 Client::Client(cuttlefish::SharedFD fd, ClientType client_type) in Client() function in cuttlefish::Client
34 bool Client::operator==(const Client& other) const { in operator ==()
38 void Client::SendCommandResponse(std::string response) const { in SendCommandResponse()
49 std::lock_guard<std::mutex> autolock(const_cast<Client*>(this)->write_mutex); in SendCommandResponse()
53 void Client::SendCommandResponse( in SendCommandResponse()
72 auto remote_client = std::make_unique<Client>(client, Client::REMOTE); in SetRemoteClient()
97 auto client = std::make_unique<Client>(client_fd); in AcceptIncomingConnection()
107 void ChannelMonitor::ReadCommand(Client& client) { in ReadCommand()
111 if (errno == EAGAIN && client.type == Client::REMOTE && in ReadCommand()
[all …]
Dsms_service.cpp32 [this](const Client& client, std::string& cmd) { in InitializeCommandHandlers()
36 [this](const Client& client, std::string& cmd) { in InitializeCommandHandlers()
40 [this](const Client& client, std::string& cmd) { in InitializeCommandHandlers()
44 [this](const Client& client, std::string& cmd) { in InitializeCommandHandlers()
48 [this](const Client& client, std::string& cmd) { in InitializeCommandHandlers()
53 [this](const Client& client) { this->HandleGetSmscAddress(client); }), in InitializeCommandHandlers()
55 [this](const Client& client, std::string& cmd) { in InitializeCommandHandlers()
59 [this](const Client& client, std::string& cmd) { in InitializeCommandHandlers()
91 void SmsService::HandleSendSMS(const Client& client, std::string& /*command*/) { in HandleSendSMS()
116 void SmsService::HandleSMSAcknowledge(const Client& client, std::string& /*command*/) { in HandleSMSAcknowledge()
[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 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 …]
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.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 …]
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);
Dcall_service.cpp46 [this](const Client& client, std::string& 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()
63 [this](const Client& client, std::string& cmd) { in InitializeCommandHandlers()
67 [this](const Client& client, std::string& cmd) { in InitializeCommandHandlers()
71 [this](const Client& client, std::string& cmd) { in InitializeCommandHandlers()
75 [this](const Client& client, std::string& cmd) { in InitializeCommandHandlers()
79 [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()
61 [this](const Client& client) { this->HandleSignalStrength(client); }), in InitializeCommandHandlers()
63 [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, std::string& cmd) { in InitializeCommandHandlers()
79 [this](const Client& client, std::string& cmd) { in InitializeCommandHandlers()
83 [this](const Client& client, std::string& cmd) { in InitializeCommandHandlers()
87 [this](const Client& client, std::string& cmd) { in InitializeCommandHandlers()
[all …]
Dmodem_service.h41 using f_func = std::function<void(const Client&)>; // Full match
42 using p_func = std::function<void(const Client&, std::string&)>; // Partial match
52 void HandleCommand(const Client& client, std::string& command) const;
72 bool HandleModemCommand(const Client& client, std::string command);
101 void HandleCommandDefaultSupported(const Client& client);
Dstk_service.h34 void HandleReportStkServiceIsRunning(const Client& client);
35 void HandleSendEnvelope(const Client& client, std::string& command);
36 void HandleSendTerminalResponseToSim(const Client& client, std::string& command);
Dstk_service.cpp28 [this](const Client& client) { in InitializeCommandHandlers()
32 [this](const Client& client, std::string& cmd) { in InitializeCommandHandlers()
36 [this](const Client& client, std::string& cmd) { in InitializeCommandHandlers()
64 void StkService::HandleReportStkServiceIsRunning(const Client& client) { in HandleReportStkServiceIsRunning()
101 void StkService::HandleSendEnvelope(const Client& client , std::string& command) { in HandleSendEnvelope()
159 void StkService::HandleSendTerminalResponseToSim(const Client& client, std::string& command) { in HandleSendTerminalResponseToSim()
Dsim_service.cpp295 [this](const Client& client) { this->HandleSIMStatusReq(client); }), in InitializeCommandHandlers()
297 [this](const Client& client, std::string& cmd) { in InitializeCommandHandlers()
301 [this](const Client& client, std::string& 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()
315 [this](const Client& client, std::string& cmd) { in InitializeCommandHandlers()
319 [this](const Client& client, std::string& cmd) { in InitializeCommandHandlers()
323 [this](const Client& client, std::string& cmd) { in InitializeCommandHandlers()
327 [this](const Client& client, std::string& cmd) { in InitializeCommandHandlers()
[all …]
/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/bonito/
Dsec_config2 /* <GPS QMI Service ID - 16>:<GPS QMI Instance ID - all instances>:<Client Group ID> */
4 /* <LOWI QMI Service ID - 38>:<LOWI QMI Instance ID - all instances>:<Client Group ID> */
8 /* <UIMHTTP QMI Service ID - 16>:<UIMHTTP QMI Instance ID - all instances>:<Client Group ID> */
10 /* <UIMRMT QMI Service ID - 16>:<UIMRMT QMI Instance ID - all instances>:<Client Group ID> */
321 /* <WLFW QMI Service ID - 0x45>:<WLFW QMI Instance ID - all instances>:<Client Group ID> */
323 /* <WLPS QMI Service ID - 0x39>:<WLFW QMI Instance ID - all instances>:<Client Group ID> */
325 /* <MODEM_SVC QMI Service ID - 235>:<MODEM_SVC QMI Instance ID - all instances>:<Client Group ID> */
/device/google/crosshatch/
Dsec_config2 /* <GPS QMI Service ID - 16>:<GPS QMI Instance ID - all instances>:<Client Group ID> */
4 /* <LOWI QMI Service ID - 38>:<LOWI QMI Instance ID - all instances>:<Client Group ID> */
8 /* <UIMHTTP QMI Service ID - 16>:<UIMHTTP QMI Instance ID - all instances>:<Client Group ID> */
10 /* <UIMRMT QMI Service ID - 16>:<UIMRMT QMI Instance ID - all instances>:<Client Group ID> */
321 /* <WLFW QMI Service ID - 0x45>:<WLFW QMI Instance ID - all instances>:<Client Group ID> */
323 /* <WLPS QMI Service ID - 0x39>:<WLFW QMI Instance ID - all instances>:<Client Group ID> */
325 /* <MODEM_SVC QMI Service ID - 235>:<MODEM_SVC QMI Instance ID - all instances>:<Client Group ID> */
/device/google/wahoo/
Dsec_config2 /* <GPS QMI Service ID - 16>:<GPS QMI Instance ID - all instances>:<Client Group ID> */
4 /* <LOWI QMI Service ID - 38>:<LOWI QMI Instance ID - all instances>:<Client Group ID> */
8 /* <UIMHTTP QMI Service ID - 16>:<UIMHTTP QMI Instance ID - all instances>:<Client Group ID> */
10 /* <UIMRMT QMI Service ID - 16>:<UIMRMT QMI Instance ID - all instances>:<Client Group ID> */
320 /* <WLFW QMI Service ID - 0x45>:<WLFW QMI Instance ID - all instances>:<Client Group ID> */
322 /* <WLPS QMI Service ID - 0x39>:<WLFW QMI Instance ID - all instances>:<Client Group ID> */
/device/google/cuttlefish/host/frontend/gcastv2/signaling_server/
DReadme.md63 * **Client** connects to *connect_client*
65 * **Client** sends **connect** message
67 * **Server** sends **config** message to **Client**
69 * **Server** sends **device_info** message to **Client**
71 * **Client** sends **forward** message
84 design, the **Client** connects first and only receives a **config** message
86 the **Server** sends the **device_info** messaage to the **Client**.
/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/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