/aosp12/frameworks/native/libs/binder/ |
H A D | RpcSession.cpp | 92 ExclusiveConnection connection(sp<RpcSession>::fromExisting(this), ConnectionUse::CLIENT); in getRootObject() 93 return state()->getRootObject(connection.fd(), sp<RpcSession>::fromExisting(this)); in getRootObject() 97 ExclusiveConnection connection(sp<RpcSession>::fromExisting(this), ConnectionUse::CLIENT); in getRemoteMaxThreads() 98 return state()->getMaxThreads(connection.fd(), sp<RpcSession>::fromExisting(this), maxThreads); in getRemoteMaxThreads() 103 ExclusiveConnection connection(sp<RpcSession>::fromExisting(this), in transact() 107 sp<RpcSession>::fromExisting(this), reply, flags); in transact() 111 ExclusiveConnection connection(sp<RpcSession>::fromExisting(this), in sendDecStrong() 124 ExclusiveConnection connection(sp<RpcSession>::fromExisting(this), ConnectionUse::CLIENT); in readId() 126 state()->getSessionId(connection.fd(), sp<RpcSession>::fromExisting(this), &id); in readId() 150 state()->getAndExecuteCommand(connection->fd, sp<RpcSession>::fromExisting(this)); in join() [all …]
|
H A D | IInterface.cpp | 36 return sp<IBinder>::fromExisting(const_cast<IInterface*>(iface)->onAsBinder()); in asBinder() 43 return sp<IBinder>::fromExisting(iface->onAsBinder()); in asBinder()
|
H A D | RpcServer.cpp | 152 std::move(sp<RpcServer>::fromExisting(this)), std::move(clientFd)); in acceptOne() 207 session->setForServer(wp<RpcServer>::fromExisting(this), mSessionIdCounter); in establishConnection()
|
H A D | BpBinder.cpp | 209 sp<BpBinder> thiz = sp<BpBinder>::fromExisting(const_cast<BpBinder*>(this)); in getInterfaceDescriptor() 241 data.markForBinder(sp<BpBinder>::fromExisting(this)); in pingBinder() 418 recipient->binderDied(wp<BpBinder>::fromExisting(this)); in reportOneDeath()
|
H A D | LazyServiceRegistrar.cpp | 148 sp<android::os::IClientCallback>::fromExisting( in registerServiceLocked()
|
H A D | MemoryDealer.cpp | 244 memory = sp<Allocation>::make(sp<MemoryDealer>::fromExisting(this), heap(), offset, size); in allocate()
|
H A D | Parcel.cpp | 300 sp<IBinder>::fromExisting(reinterpret_cast<IBinder*>(flat->cookie)); in unflattenBinder()
|
/aosp12/system/core/libutils/ |
H A D | StrongPointer_test.cpp | 94 auto foo2 = sp<TypeParam>::fromExisting(foo.get()); in TYPED_TEST() 106 EXPECT_DEATH(sp<TypeParam>::fromExisting(foo), ""); in TYPED_TEST()
|
H A D | RefBase_test.cpp | 249 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()
|
/aosp12/frameworks/native/cmds/servicemanager/ |
H A D | ServiceManager.cpp | 276 binder->linkToDeath(sp<ServiceManager>::fromExisting(this)) != OK) { in addService() 346 sp<ServiceManager>::fromExisting(this))) { in registerForNotifications() 522 IInterface::asBinder(cb)->linkToDeath(sp<ServiceManager>::fromExisting(this))) { in registerClientCallback() 552 sp<BpBinder> bpBinder = sp<BpBinder>::fromExisting(binder->remoteBinder()); in getNodeStrongRefCount()
|
/aosp12/system/core/libutils/include/utils/ |
H A D | StrongPointer.h | 57 static inline sp<T> fromExisting(T* other); 227 sp<T> sp<T>::fromExisting(T* other) { in fromExisting() function 299 return sp<T>::fromExisting(static_cast<T*>(other.get())); in cast()
|
H A D | RefBase.h | 412 static inline wp<T> fromExisting(T* other); 540 wp<T> wp<T>::fromExisting(T* other) { in fromExisting() function
|
/aosp12/frameworks/native/libs/binder/include/binder/ |
H A D | Binder.h | 135 inline sp<IBinder> remoteStrong() const { return sp<IBinder>::fromExisting(mRemote); } in remoteStrong()
|
H A D | IInterface.h | 188 if (_descriptor == INTERFACE::descriptor) return sp<IInterface>::fromExisting(this); in queryLocalInterface()
|
/aosp12/frameworks/native/include/binder/ |
H A D | Binder.h | 135 inline sp<IBinder> remoteStrong() const { return sp<IBinder>::fromExisting(mRemote); } in remoteStrong()
|
H A D | IInterface.h | 188 if (_descriptor == INTERFACE::descriptor) return sp<IInterface>::fromExisting(this); in queryLocalInterface()
|
/aosp12/packages/services/Telephony/tests/src/com/android/services/telephony/rcs/ |
H A D | SipSessionTrackerTest.java | 90 public DialogAttributes fromExisting() { in fromExisting() method in SipSessionTrackerTest.DialogAttributes 253 DialogAttributes attrB2 = attrB1.fromExisting(); in testForkDialog()
|