Lines Matching defs:Waiter
572 struct Waiter : IServiceNotification { struct
573 Waiter(const std::string& interface, const std::string& instanceName, in Waiter() argument
578 void onFirstRef() override { in onFirstRef()
608 ~Waiter() { in ~Waiter()
615 Return<void> onRegistration(const hidl_string& /* fqName */, in onRegistration()
629 void wait(bool timeout) { in wait()
657 void reset() { in reset()
664 void done() { in done()
678 const std::string mInterfaceName;
679 const std::string mInstanceName;
680 sp<IServiceManager1_1> mSm;
681 std::mutex mMutex;
682 std::condition_variable mCondition;
683 bool mRegistered = false;
684 bool mRegisteredForNotifications = false;
685 bool mDoneCalled = false;