Home
last modified time | relevance | path

Searched refs:socket_ (Results 1 – 2 of 2) sorted by relevance

/frameworks/native/libs/vr/libpdx_uds/
Dclient_channel_factory.cpp43 : socket_{std::move(socket)} {} in ClientChannelFactory()
61 bool connected = socket_.IsValid(); in Connect()
63 socket_.Reset(socket(AF_UNIX, SOCK_STREAM | SOCK_CLOEXEC, 0)); in Connect()
69 if (!socket_) { in Connect()
98 socket_.Get(), reinterpret_cast<sockaddr*>(&remote), sizeof(remote))); in Connect()
127 status = ReceiveData(socket_.Borrow(), &connection_info); in Connect()
130 socket_ = std::move(connection_info.channel_fd); in Connect()
131 if (!socket_) { in Connect()
143 status = SendData(socket_.Borrow(), request); in Connect()
148 status = ReceiveData(socket_.Borrow(), &response); in Connect()
[all …]
/frameworks/native/libs/vr/libpdx_uds/private/uds/
Dclient_channel_factory.h28 mutable LocalHandle socket_; variable