Home
last modified time | relevance | path

Searched refs:DeviceHandler (Results 1 – 6 of 6) sorted by relevance

/device/google/cuttlefish/host/frontend/webrtc_operator/
Ddevice_handler.cpp25 DeviceHandler::DeviceHandler(struct lws* wsi, DeviceRegistry* registry, in DeviceHandler() function in cuttlefish::DeviceHandler
29 void DeviceHandler::OnClosed() { in OnClosed()
35 size_t DeviceHandler::RegisterClient( in RegisterClient()
41 void DeviceHandler::handleMessage(const std::string& type, in handleMessage()
52 void DeviceHandler::HandleRegistrationRequest(const Json::Value& message) { in HandleRegistrationRequest()
78 void DeviceHandler::HandleForward(const Json::Value& message) { in HandleForward()
106 void DeviceHandler::SendClientMessage(size_t client_id, in SendClientMessage()
115 void DeviceHandler::SendClientDisconnectMessage(size_t client_id) { in SendClientDisconnectMessage()
129 new DeviceHandler(wsi, registry_, server_config_)); in Build()
Ddevice_registry.h29 class DeviceHandler; variable
34 std::weak_ptr<DeviceHandler> device_handler);
37 std::shared_ptr<DeviceHandler> GetDevice(const std::string& device_id);
42 std::map<std::string, std::weak_ptr<DeviceHandler>> devices_;
Ddevice_handler.h33 class DeviceHandler : public SignalHandler,
34 public std::enable_shared_from_this<DeviceHandler> {
36 DeviceHandler(struct lws* wsi, DeviceRegistry* registry,
Ddevice_registry.cpp26 std::weak_ptr<DeviceHandler> device_handler) { in RegisterDevice()
48 std::shared_ptr<DeviceHandler> DeviceRegistry::GetDevice( in GetDevice()
Dclient_handler.cpp166 void SetDeviceHandler(std::weak_ptr<DeviceHandler> device_handler) { in SetDeviceHandler()
173 std::shared_ptr<DeviceHandler> device_handler() const { in device_handler()
179 std::weak_ptr<DeviceHandler> device_handler_;
Dclient_handler.h29 class DeviceHandler; variable
56 std::weak_ptr<DeviceHandler> device_handler_;