Home
last modified time | relevance | path

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

/system/libhidl/transport/
DHidlBinderSupport.cpp209 sp<IBinder> getOrCreateCachedBinder(::android::hidl::base::V1_0::IBase* ifacePtr) { in getOrCreateCachedBinder() argument
210 if (ifacePtr == nullptr) { in getOrCreateCachedBinder()
214 if (ifacePtr->isRemote()) { in getOrCreateCachedBinder()
217 BpHwBase* bpBase = static_cast<BpHwBase*>(ifacePtr); in getOrCreateCachedBinder()
222 std::string descriptor = details::getDescriptor(ifacePtr); in getOrCreateCachedBinder()
231 wp<BHwBinder> wBnObj = details::gBnMap->getLocked(ifacePtr, nullptr); in getOrCreateCachedBinder()
243 sBnObj = sp<IBinder>(func(static_cast<void*>(ifacePtr))); in getOrCreateCachedBinder()
247 details::gBnMap->setLocked(ifacePtr, static_cast<BHwBinder*>(sBnObj.get())); in getOrCreateCachedBinder()
/system/libhidl/transport/include/hidl/
DHidlBinderSupport.h185 sp<IBinder> getOrCreateCachedBinder(::android::hidl::base::V1_0::IBase* ifacePtr);
195 IType *ifacePtr = iface.get(); in toBinder() local
196 return getOrCreateCachedBinder(ifacePtr); in toBinder()