Home
last modified time | relevance | path

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

/system/libhidl/transport/
DHidlBinderSupport.cpp217 ::android::hidl::base::V1_0::IBase* ifacePtr) { in forceGetRefBase() argument
229 BpHwBase* bpBase = static_cast<BpHwBase*>(ifacePtr); in forceGetRefBase()
233 sp<IBinder> getOrCreateCachedBinder(::android::hidl::base::V1_0::IBase* ifacePtr) { in getOrCreateCachedBinder() argument
234 if (ifacePtr == nullptr) { in getOrCreateCachedBinder()
238 if (ifacePtr->isRemote()) { in getOrCreateCachedBinder()
239 BpHwRefBase* bpRefBase = forceGetRefBase(ifacePtr); in getOrCreateCachedBinder()
243 std::string descriptor = details::getDescriptor(ifacePtr); in getOrCreateCachedBinder()
252 wp<BHwBinder> wBnObj = details::gBnMap->getLocked(ifacePtr, nullptr); in getOrCreateCachedBinder()
260 sBnObj = sp<IBinder>(func(static_cast<void*>(ifacePtr))); in getOrCreateCachedBinder()
264 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()