Searched refs:DeviceHandler (Results 1 – 6 of 6) sorted by relevance
/device/google/cuttlefish/host/frontend/webrtc_operator/ |
D | device_handler.cpp | 25 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()
|
D | device_registry.h | 29 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_;
|
D | device_handler.h | 33 class DeviceHandler : public SignalHandler, 34 public std::enable_shared_from_this<DeviceHandler> { 36 DeviceHandler(struct lws* wsi, DeviceRegistry* registry,
|
D | device_registry.cpp | 26 std::weak_ptr<DeviceHandler> device_handler) { in RegisterDevice() 48 std::shared_ptr<DeviceHandler> DeviceRegistry::GetDevice( in GetDevice()
|
D | client_handler.cpp | 166 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_;
|
D | client_handler.h | 29 class DeviceHandler; variable 56 std::weak_ptr<DeviceHandler> device_handler_;
|