/hardware/interfaces/common/support/ |
D | NativeHandle.cpp | 47 to.fds = std::vector<ndk::ScopedFileDescriptor>(handle->numFds); in toAidl() 48 for (size_t i = 0; i < handle->numFds; i++) { in toAidl() 53 to.ints = std::vector<int32_t>(handle->data + handle->numFds, in toAidl() 54 handle->data + handle->numFds + handle->numInts); in toAidl()
|
D | test.cpp | 27 ASSERT_EQ(libcutils->numFds, aidl.fds.size()); in checkEq() 29 for (size_t i = 0; i < libcutils->numFds; i++) { in checkEq() 47 int lfd = libcutils->data[libcutils->numFds + i]; in checkEq()
|
/hardware/interfaces/graphics/mapper/2.1/utils/hal/include/mapper-hal/2.1/ |
D | Mapper.h | 59 uint32_t numFds = 0; in getTransportSize() local 61 Error error = this->mHal->getTransportSize(bufferHandle, &numFds, &numInts); in getTransportSize() 62 hidl_cb(error, numFds, numInts); in getTransportSize()
|
/hardware/google/gchips/gralloc4/src/ |
D | mali_gralloc_buffer.h | 287 numFds = n; in set_numfds() 294 numFds += n; in incr_numfds() 297 return numFds; in incr_numfds() 304 h->numFds + h->numInts != NUM_INTS_IN_PRIVATE_HANDLE) in validate() 380 numInts, numFds, fd_count, in dump()
|
D | mali_gralloc_buffer4.h | 287 numFds = n; in set_numfds() 294 numFds += n; in incr_numfds() 297 return numFds; in incr_numfds() 304 h->numFds + h->numInts != NUM_INTS_IN_PRIVATE_HANDLE) in validate() 380 numInts, numFds, fd_count, in dump()
|
/hardware/libhardware/modules/gralloc/ |
D | gralloc_priv.h | 94 numFds = sNumFds; in private_handle_t() 103 h->numInts != sNumInts() || h->numFds != sNumFds || in validate()
|
/hardware/qcom/display/msm8960/libgralloc/ |
D | gralloc_priv.h | 203 numFds = sNumFds; in fd() 216 h->numInts != sNumInts || h->numFds != sNumFds || in validate() 224 h ? h->numFds : -1, sNumFds, in validate()
|
/hardware/interfaces/camera/device/3.5/default/include/device_v3_5_impl/ |
D | CameraDeviceSession.h | 121 result = 31 * result + buf->numFds; in operator() 122 for (int i = 0; i < buf->numFds; i++) { in operator() 131 if (buf1->numFds == buf2->numFds) { in operator() 132 for (int i = 0; i < buf1->numFds; i++) { in operator()
|
/hardware/qcom/sdm845/display/gralloc/ |
D | gr_priv_handle.h | 119 numFds = kNumFds; in fd() 135 h->numFds != kNumFds) { in validate() 138 h ? h->numFds : -1, kNumFds); in validate()
|
/hardware/qcom/display/msm8998/libgralloc1/ |
D | gr_priv_handle.h | 133 numFds = kNumFds; in fd() 155 h->numFds != kNumFds) { in validate() 158 h ? h->numFds : -1, kNumFds); in validate()
|
/hardware/qcom/display/msm8996/libgralloc1/ |
D | gr_priv_handle.h | 131 numFds = kNumFds; in fd() 149 h->numFds != kNumFds || hnd->magic != kMagic) { in validate() 154 h ? h->numFds : -1, kNumFds, in validate()
|
/hardware/qcom/display/msm8226/libgralloc/ |
D | gralloc_priv.h | 247 numFds = sNumFds; in fd() 260 h->numInts != sNumInts() || h->numFds != sNumFds || in validate() 269 h ? h->numFds : -1, sNumFds, in validate()
|
/hardware/qcom/display/msm8084/libgralloc/ |
D | gralloc_priv.h | 244 numFds = sNumFds; in fd() 257 h->numInts != sNumInts || h->numFds != sNumFds || in validate() 266 h ? h->numFds : -1, sNumFds, in validate()
|
/hardware/interfaces/neuralnetworks/utils/common/src/ |
D | CommonUtils.cpp | 316 if (memory.handle()->numFds != 1) { in createSharedMemoryFromHidlMemory() 318 << memory.handle()->numFds << " numFds, but expected 1"; in createSharedMemoryFromHidlMemory() 332 if (memory.handle()->numFds != 1) { in createSharedMemoryFromHidlMemory() 334 << memory.handle()->numFds << " numFds, but expected 1"; in createSharedMemoryFromHidlMemory() 419 std::copy(handle.ints.begin(), handle.ints.end(), &nativeHandle->data[nativeHandle->numFds]); in hidlHandleFromSharedHandle() 432 fds.reserve(handle->numFds); in sharedHandleFromNativeHandle() 433 for (int i = 0; i < handle->numFds; ++i) { in sharedHandleFromNativeHandle() 441 std::vector<int> ints(&handle->data[handle->numFds], in sharedHandleFromNativeHandle() 442 &handle->data[handle->numFds + handle->numInts]); in sharedHandleFromNativeHandle()
|
/hardware/qcom/display/msm8994/libgralloc/ |
D | gralloc_priv.h | 265 numFds = sNumFds; in fd() 278 h->numInts != sNumInts() || h->numFds != sNumFds || in validate() 287 h ? h->numFds : -1, sNumFds, in validate()
|
/hardware/qcom/display/msm8909/gralloc/ |
D | gr_priv_handle.h | 137 numFds = kNumFds; in fd() 155 h->numFds != kNumFds || hnd->magic != kMagic) { in validate() 160 h ? h->numFds : -1, kNumFds, in validate()
|
/hardware/qcom/display/msm8996/libgralloc/ |
D | gralloc_priv.h | 268 numFds = sNumFds; in fd() 277 h->numInts != sNumInts() || h->numFds != sNumFds || in validate() 286 h ? h->numFds : -1, sNumFds, in validate()
|
/hardware/qcom/display/msm8909w_3100/libgralloc1/ |
D | gr_priv_handle.h | 138 numFds = kNumFds; in fd() 156 h->numFds != kNumFds || hnd->magic != kMagic) { in validate() 161 h ? h->numFds : -1, kNumFds, in validate()
|
/hardware/interfaces/camera/common/1.0/default/ |
D | HandleImporter.cpp | 215 if (fenceHandle->numInts != 0 || fenceHandle->numFds != 1) { in unlockInternal() 217 __FUNCTION__, fenceHandle->numInts, fenceHandle->numFds); in unlockInternal() 237 if (!handle->numFds && !handle->numInts) { in importBuffer() 294 if (handle == nullptr || handle->numFds == 0) { in importFence() 296 } else if (handle->numFds == 1) { in importFence() 304 handle->numFds); in importFence()
|
/hardware/qcom/display/msm8909w_3100/libgralloc/ |
D | gralloc_priv.h | 272 numFds = sNumFds; in private_handle_t() 303 h->numInts != sNumInts() || h->numFds != sNumFds || in validate() 312 h ? h->numFds : -1, sNumFds, in validate()
|
/hardware/qcom/display/msm8998/libgralloc/ |
D | gralloc_priv.h | 281 numFds = sNumFds; in private_handle_t() 316 h->numInts != sNumInts() || h->numFds != sNumFds) { in validate() 321 h ? h->numFds : -1, sNumFds); in validate()
|
/hardware/interfaces/graphics/mapper/4.0/utils/vts/ |
D | MapperVts.cpp | 231 if (fenceHandle->numFds == 1) { in unlock() 235 ASSERT_EQ(0, fenceHandle->numFds) << " invalid fence handle " << fenceHandle; in unlock() 253 if (fenceHandle->numFds == 1) { in flushLockedBuffer() 257 ASSERT_EQ(0, fenceHandle->numFds) << " invalid fence handle " << fenceHandle; in flushLockedBuffer() 289 ASSERT_GE(bufferHandle->numFds, int(tmpNumFds)) << "invalid numFds " << tmpNumFds; in getTransportSize()
|
/hardware/interfaces/graphics/mapper/2.0/utils/hal/include/mapper-hal/2.0/ |
D | Mapper.h | 174 if (handle && handle->numFds > 1) { in getFenceFd() 175 ALOGE("invalid fence handle with %d fds", handle->numFds); in getFenceFd() 179 int fenceFd = (handle && handle->numFds == 1) ? handle->data[0] : -1; in getFenceFd()
|
/hardware/interfaces/dumpstate/1.0/default/ |
D | DumpstateDevice.cpp | 40 if (handle == nullptr || handle->numFds < 1) { in dumpstateBoard()
|
/hardware/interfaces/health/storage/1.0/default/ |
D | Storage.cpp | 45 if (handle == nullptr || handle->numFds < 1) { in debug()
|