Home
last modified time | relevance | path

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

/frameworks/native/libs/binder/ndk/include_cpp/android/
Dbinder_interface_utils.h51 class SharedRefBase {
53 SharedRefBase() {} in SharedRefBase() function
54 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 {
/frameworks/native/libs/binder/ndk/tests/
DbinderVendorDoubleLoadTest.cpp43 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()
Dlibbinder_ndk_unit_test.cpp81 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()