Searched refs:SharedRefBase (Results 1 – 3 of 3) sorted by relevance
51 class SharedRefBase {53 SharedRefBase() {} in SharedRefBase() function54 virtual ~SharedRefBase() { in ~SharedRefBase()64 std::shared_ptr<SharedRefBase> ref() { in ref()65 std::shared_ptr<SharedRefBase> thiz = mThis.lock(); in ref()67 std::call_once(mFlagThis, [&]() { mThis = thiz = std::shared_ptr<SharedRefBase>(this); }); in ref()93 std::weak_ptr<SharedRefBase> mThis;103 class ICInterface : public SharedRefBase {
43 using ::ndk::SharedRefBase;87 std::shared_ptr<NdkServer> ndkServer = SharedRefBase::make<NdkServer>(); in TEST()151 std::shared_ptr<NdkServer> ndkServer = SharedRefBase::make<NdkServer>(); in main()165 std::shared_ptr<NdkServer> ndkServer = SharedRefBase::make<NdkServer>(); in main()
81 auto service = ndk::SharedRefBase::make<MyBinderNdkUnitTest>(); in generatedService()335 std::shared_ptr<MyEmpty> empty = ndk::SharedRefBase::make<MyEmpty>(); in TEST()362 ndk::SharedRefBase::make<MyBinderNdkUnitTest>()->asBinder()}) { in TEST()