Home
last modified time | relevance | path

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

/frameworks/native/libs/binder/ndk/include_ndk/android/
Dbinder_interface_utils.h46 class SharedRefBase {
48 SharedRefBase() {} in SharedRefBase() function
49 virtual ~SharedRefBase() { in ~SharedRefBase()
59 std::shared_ptr<SharedRefBase> ref() { in ref()
60 std::shared_ptr<SharedRefBase> thiz = mThis.lock(); in ref()
62 std::call_once(mFlagThis, [&]() { mThis = thiz = std::shared_ptr<SharedRefBase>(this); }); in ref()
86 std::weak_ptr<SharedRefBase> mThis;
92 class ICInterface : public SharedRefBase {