Home
last modified time | relevance | path

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

/system/core/libutils/binder/
DStrongPointer_test.cpp94 auto foo2 = sp<TypeParam>::fromExisting(foo.get()); in TYPED_TEST()
106 EXPECT_DEATH(sp<TypeParam>::fromExisting(foo), ""); in TYPED_TEST()
DRefBase_test.cpp249 EXPECT_EQ(weakFoo, wp<Foo>::fromExisting(foo.get())); in TEST()
250 EXPECT_EQ(weakFoo.unsafe_get(), wp<Foo>::fromExisting(foo.get()).unsafe_get()); in TEST()
263 EXPECT_DEATH(wp<Foo>::fromExisting(foo), ""); in TEST()
/system/core/libutils/include/utils/
DStrongPointer.h57 static inline sp<T> fromExisting(T* other);
213 sp<T> sp<T>::fromExisting(T* other) { in fromExisting() function
281 return sp<T>::fromExisting(static_cast<T*>(other.get())); in cast()
DRefBase.h413 static inline wp<T> fromExisting(T* other);
541 wp<T> wp<T>::fromExisting(T* other) { in fromExisting() function
/system/core/libutils/binder/include/utils/
DStrongPointer.h57 static inline sp<T> fromExisting(T* other);
213 sp<T> sp<T>::fromExisting(T* other) { in fromExisting() function
281 return sp<T>::fromExisting(static_cast<T*>(other.get())); in cast()
DRefBase.h413 static inline wp<T> fromExisting(T* other);
541 wp<T> wp<T>::fromExisting(T* other) { in fromExisting() function
/system/core/libutils/
DThreads.cpp676 mHoldSelf = sp<Thread>::fromExisting(this); in run()
DLooper.cpp125 return sp<Looper>::fromExisting(looper); in getForThread()
/system/tools/aidl/tests/
Daidl_test_service.cpp795 auto srv = sp<ITestService>::fromExisting(this); in GetCircular()