Home
last modified time | relevance | path

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

/system/libhidl/transport/
DHidlBinderSupport.cpp223 sp<IBinder> getOrCreateCachedBinder(::android::hidl::base::V1_0::IBase* ifacePtr) { in getOrCreateCachedBinder() argument
224 if (ifacePtr == nullptr) { in getOrCreateCachedBinder()
228 if (ifacePtr->isRemote()) { in getOrCreateCachedBinder()
231 BpHwBase* bpBase = static_cast<BpHwBase*>(ifacePtr); in getOrCreateCachedBinder()
236 std::string descriptor = details::getDescriptor(ifacePtr); in getOrCreateCachedBinder()
245 wp<BHwBinder> wBnObj = details::gBnMap->getLocked(ifacePtr, nullptr); in getOrCreateCachedBinder()
257 sBnObj = sp<IBinder>(func(static_cast<void*>(ifacePtr))); in getOrCreateCachedBinder()
261 details::gBnMap->setLocked(ifacePtr, static_cast<BHwBinder*>(sBnObj.get())); in getOrCreateCachedBinder()
/system/libhidl/transport/include/hidl/
DHidlBinderSupport.h313 sp<IBinder> getOrCreateCachedBinder(::android::hidl::base::V1_0::IBase* ifacePtr);
323 IType *ifacePtr = iface.get(); in toBinder() local
324 return getOrCreateCachedBinder(ifacePtr); in toBinder()