Home
last modified time | relevance | path

Searched refs:channel_ (Results 1 – 4 of 4) sorted by relevance

/frameworks/native/libs/vr/libpdx/
Dclient.cpp19 bool Client::IsConnected() const { return channel_.get() != nullptr; } in IsConnected()
31 channel_ = status.take(); in CheckReconnect()
60 : channel_{std::move(channel)} {} in Client()
71 channel_ = status.take();
90 status = channel_->SendImpulse(opcode, nullptr, 0); in SendImpulse()
103 status = channel_->SendImpulse(opcode, buffer, length); in SendImpulse()
109 channel_.reset(); in Close()
115 return IsConnected() ? channel_->event_fd() : -1; in event_fd()
119 return channel_->GetChannelHandle(); in GetChannelHandle()
123 return channel_->GetChannelHandle(); in GetChannelHandle()
Dservice.cpp24 channel_{Channel::GetFromMessageInfo(info)},
42 std::swap(channel_, other.channel_); in operator =()
65 channel_.reset(); in Destroy()
427 std::shared_ptr<Channel> Message::GetChannel() const { return channel_.lock(); } in GetChannel()
430 channel_ = chan; in SetChannel()
/frameworks/native/libs/vr/libpdx/private/pdx/
Dclient.h126 ClientChannel* GetChannel() const { return channel_.get(); } in GetChannel()
127 std::unique_ptr<ClientChannel>&& TakeChannel() { return std::move(channel_); } in TakeChannel()
143 std::unique_ptr<ClientChannel> channel_; variable
Dservice.h336 bool IsChannelExpired() const { return channel_.expired(); } in IsChannelExpired()
356 std::weak_ptr<Channel> channel_; variable