Home
last modified time | relevance | path

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

/frameworks/native/libs/vr/libvrflinger/
Dvsync_service.h37 class VSyncChannel : public pdx::Channel {
39 VSyncChannel(pdx::Service& service, int pid, int cid) in VSyncChannel() function
50 VSyncChannel(const VSyncChannel&) = delete;
51 void operator=(const VSyncChannel&) = delete;
87 void AddClient(const std::shared_ptr<VSyncChannel>& client);
88 void RemoveClient(const std::shared_ptr<VSyncChannel>& client);
98 std::list<std::shared_ptr<VSyncChannel>> clients_;
Dvsync_service.cpp53 auto client = std::make_shared<VSyncChannel>(*this, info.pid, info.cid); in OnChannelOpen()
61 auto client = std::static_pointer_cast<VSyncChannel>(channel); in OnChannelClose()
76 void VSyncService::AddClient(const std::shared_ptr<VSyncChannel>& client) { in AddClient()
81 void VSyncService::RemoveClient(const std::shared_ptr<VSyncChannel>& client) { in RemoveClient()
138 auto client = std::static_pointer_cast<VSyncChannel>(message.GetChannel()); in OnGetLastTimestamp()
148 auto client = std::static_pointer_cast<VSyncChannel>(message.GetChannel()); in OnGetSchedInfo()
185 auto client = std::static_pointer_cast<VSyncChannel>(message.GetChannel()); in OnAcknowledge()
201 void VSyncChannel::Ack() { in Ack()
206 void VSyncChannel::Signal() { in Signal()