Lines Matching defs:Waiter
613 struct Waiter : IServiceNotification { struct
614 Waiter(const std::string& interface, const std::string& instanceName, in Waiter() argument
619 void onFirstRef() override { in onFirstRef()
649 ~Waiter() { in ~Waiter()
656 Return<void> onRegistration(const hidl_string& /* fqName */, in onRegistration()
670 void wait(bool timeout) { in wait()
698 void reset() { in reset()
705 void done() { in done()
719 const std::string mInterfaceName;
720 const std::string mInstanceName;
721 sp<IServiceManager1_1> mSm;
722 std::mutex mMutex;
723 std::condition_variable mCondition;
724 bool mRegistered = false;
725 bool mRegisteredForNotifications = false;
726 bool mDoneCalled = false;