Home
last modified time | relevance | path

Searched refs:connection_ (Results 1 – 8 of 8) sorted by relevance

/device/google/cuttlefish/guest/hals/camera/
Dvsock_camera_server.cpp48 connection_ = std::make_shared<cuttlefish::VsockServerConnection>(); in VsockCameraServer()
63 connection_->ServerShutdown(); in stop()
73 if (callback && connection_->IsConnected() && in setConnectedCallback()
75 callback(connection_, settings_); in setConnectedCallback()
82 if (connection_->Connect( in serverLoop()
85 auto json_settings = connection_->ReadJsonMessage(); in serverLoop()
91 connected_callback_(connection_, settings); in serverLoop()
Dvsock_frame_provider.cpp42 connection_ = connection; in start()
54 writeJsonEventMessage(connection_, "VIRTUAL_DEVICE_STOP_CAMERA_SESSION"); in stop()
55 connection_ = nullptr; in stop()
68 writeJsonEventMessage(connection_, "VIRTUAL_DEVICE_CAPTURE_IMAGE"); in requestJpeg()
157 while (running_.load() && connection_->ReadMessage(next_frame_)) { in VsockReadLoop()
174 if (!connection_->IsConnected()) { in VsockReadLoop()
Dvsock_camera_provider_2_7.cpp61 connection_ = connection; in setCallback()
64 connection_->SetDisconnectCallback( in setCallback()
112 _hidl_cb(Status::OK, new VsockCameraDevice(name, settings_, connection_)); in getCameraDeviceInterface_V3_x()
Dvsock_camera_device_3_4.cpp36 connection_(connection), in VsockCameraDevice()
83 frame_provider_->start(connection_, metadata_.getPreferredWidth(), in open()
Dvsock_camera_server.h49 std::shared_ptr<cuttlefish::VsockServerConnection> connection_; variable
Dvsock_frame_provider.h65 std::shared_ptr<cuttlefish::VsockConnection> connection_; variable
Dvsock_camera_device_3_4.h70 std::shared_ptr<cuttlefish::VsockConnection> connection_; variable
Dvsock_camera_provider_2_7.h76 std::shared_ptr<cuttlefish::VsockConnection> connection_; variable