Home
last modified time | relevance | path

Searched refs:numFds (Results 1 – 25 of 80) sorted by relevance

1234

/hardware/interfaces/graphics/mapper/2.1/utils/hal/include/mapper-hal/2.1/
DMapper.h59 uint32_t numFds = 0; in getTransportSize() local
61 Error error = mHal->getTransportSize(bufferHandle, &numFds, &numInts); in getTransportSize()
62 hidl_cb(error, numFds, numInts); in getTransportSize()
/hardware/interfaces/camera/common/1.0/default/
DHandleImporter.cpp122 if (fenceHandle->numInts != 0 || fenceHandle->numFds != 1) { in unlockInternal()
124 __FUNCTION__, fenceHandle->numInts, fenceHandle->numFds); in unlockInternal()
144 if (!handle->numFds && !handle->numInts) { in importBuffer()
193 if (handle == nullptr || handle->numFds == 0) { in importFence()
195 } else if (handle->numFds == 1) { in importFence()
203 handle->numFds); in importFence()
/hardware/libhardware/modules/gralloc/
Dgralloc_priv.h94 numFds = sNumFds; in private_handle_t()
103 h->numInts != sNumInts() || h->numFds != sNumFds || in validate()
/hardware/qcom/display/msm8960/libgralloc/
Dgralloc_priv.h203 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/
DCameraDeviceSession.h121 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/
Dgr_priv_handle.h119 numFds = kNumFds; in fd()
135 h->numFds != kNumFds) { in validate()
138 h ? h->numFds : -1, kNumFds); in validate()
/hardware/qcom/display/msm8996/libgralloc1/
Dgr_priv_handle.h131 numFds = kNumFds; in fd()
149 h->numFds != kNumFds || hnd->magic != kMagic) { in validate()
154 h ? h->numFds : -1, kNumFds, in validate()
/hardware/qcom/display/msm8084/libgralloc/
Dgralloc_priv.h244 numFds = sNumFds; in fd()
257 h->numInts != sNumInts || h->numFds != sNumFds || in validate()
266 h ? h->numFds : -1, sNumFds, in validate()
/hardware/qcom/display/msm8226/libgralloc/
Dgralloc_priv.h247 numFds = sNumFds; in fd()
260 h->numInts != sNumInts() || h->numFds != sNumFds || in validate()
269 h ? h->numFds : -1, sNumFds, in validate()
/hardware/qcom/display/msm8998/libgralloc1/
Dgr_priv_handle.h133 numFds = kNumFds; in fd()
155 h->numFds != kNumFds) { in validate()
158 h ? h->numFds : -1, kNumFds); in validate()
/hardware/qcom/display/msm8994/libgralloc/
Dgralloc_priv.h265 numFds = sNumFds; in fd()
278 h->numInts != sNumInts() || h->numFds != sNumFds || in validate()
287 h ? h->numFds : -1, sNumFds, in validate()
/hardware/qcom/display/msm8996/libgralloc/
Dgralloc_priv.h268 numFds = sNumFds; in fd()
277 h->numInts != sNumInts() || h->numFds != sNumFds || in validate()
286 h ? h->numFds : -1, sNumFds, in validate()
/hardware/qcom/display/msm8909/gralloc/
Dgr_priv_handle.h137 numFds = kNumFds; in fd()
155 h->numFds != kNumFds || hnd->magic != kMagic) { in validate()
160 h ? h->numFds : -1, kNumFds, in validate()
/hardware/qcom/display/msm8909w_3100/libgralloc1/
Dgr_priv_handle.h138 numFds = kNumFds; in fd()
156 h->numFds != kNumFds || hnd->magic != kMagic) { in validate()
161 h ? h->numFds : -1, kNumFds, in validate()
/hardware/qcom/display/msm8998/libgralloc/
Dgralloc_priv.h281 numFds = sNumFds; in private_handle_t()
316 h->numInts != sNumInts() || h->numFds != sNumFds) { in validate()
321 h ? h->numFds : -1, sNumFds); in validate()
/hardware/qcom/display/msm8909w_3100/libgralloc/
Dgralloc_priv.h272 numFds = sNumFds; in private_handle_t()
303 h->numInts != sNumInts() || h->numFds != sNumFds || in validate()
312 h ? h->numFds : -1, sNumFds, in validate()
/hardware/google/av/codec2/vndk/
DC2AllocatorGralloc.cpp102 handle->numFds < 0 || in native_handle_is_invalid()
105 handle->numFds > int((INT_MAX - handle->version) / sizeof(int)) - handle->numInts); in native_handle_is_invalid()
137 &handle->data[handle->numFds + handle->numInts - NUM_INTS]); in getExtraData()
168 … handle->numInts > int((INT_MAX - handle->version) / sizeof(int)) - NUM_INTS - handle->numFds) { in WrapAndMoveNativeHandle()
176 native_handle_t *res = native_handle_create(handle->numFds, handle->numInts + NUM_INTS); in WrapAndMoveNativeHandle()
178 memcpy(&res->data, &handle->data, sizeof(int) * (handle->numFds + handle->numInts)); in WrapAndMoveNativeHandle()
210 native_handle_t *res = native_handle_create(handle->numFds, handle->numInts - NUM_INTS); in UnwrapNativeHandle()
212 memcpy(&res->data, &handle->data, sizeof(int) * (res->numFds + res->numInts)); in UnwrapNativeHandle()
227 native_handle_t *res = native_handle_create(handle->numFds, handle->numInts - NUM_INTS); in UnwrapNativeHandle()
229 memcpy(&res->data, &handle->data, sizeof(int) * (res->numFds + res->numInts)); in UnwrapNativeHandle()
/hardware/interfaces/graphics/mapper/2.0/utils/hal/include/mapper-hal/2.0/
DMapper.h178 if (handle && handle->numFds > 1) { in getFenceFd()
179 ALOGE("invalid fence handle with %d fds", handle->numFds); in getFenceFd()
183 int fenceFd = (handle && handle->numFds == 1) ? handle->data[0] : -1; in getFenceFd()
/hardware/interfaces/dumpstate/1.0/default/
DDumpstateDevice.cpp40 if (handle == nullptr || handle->numFds < 1) { in dumpstateBoard()
/hardware/interfaces/graphics/composer/2.2/utils/hal/include/composer-hal/2.2/
DComposerClient.h185 if (handle && handle->numFds > 1) { in getFenceFd()
186 ALOGE("invalid fence handle with %d fds", handle->numFds); in getFenceFd()
190 int fenceFd = (handle && handle->numFds == 1) ? handle->data[0] : -1; in getFenceFd()
/hardware/qcom/sm8150/display/gralloc/
DQtiMapper.cpp132 if (handle && handle->numFds > 1) { in GetFenceFd()
133 ALOGE("invalid fence handle with %d fds", handle->numFds); in GetFenceFd()
137 *outFenceFd = (handle && handle->numFds == 1) ? handle->data[0] : -1; in GetFenceFd()
/hardware/interfaces/graphics/mapper/3.0/utils/vts/
DMapperVts.cpp249 if (fenceHandle->numFds == 1) { in unlock()
253 ASSERT_EQ(0, fenceHandle->numFds) << " invalid fence handle " << fenceHandle; in unlock()
279 ASSERT_GE(bufferHandle->numFds, int(tmpNumFds)) << "invalid numFds " << tmpNumFds; in getTransportSize()
/hardware/interfaces/graphics/mapper/2.1/vts/functional/
DVtsHalGraphicsMapperV2_1TargetTest.cpp152 uint32_t numFds; in TEST_P() local
155 ASSERT_NO_FATAL_FAILURE(mGralloc->getTransportSize(bufferHandle, &numFds, &numInts)); in TEST_P()
/hardware/interfaces/graphics/mapper/2.0/utils/vts/
DMapperVts.cpp227 if (fenceHandle->numFds == 1) { in unlock()
231 ASSERT_EQ(0, fenceHandle->numFds) << " invalid fence handle " << fenceHandle; in unlock()
/hardware/interfaces/graphics/composer/2.1/utils/command-buffer/include/composer-command-buffer/2.1/
DComposerCommandBuffer.h527 native_handle_t* getTemporaryHandle(int numFds, int numInts) { in getTemporaryHandle() argument
528 native_handle_t* handle = native_handle_create(numFds, numInts); in getTemporaryHandle()
730 if (!handle || handle->numFds == 0) { in readFence()
734 if (handle->numFds != 1) { in readFence()
735 ALOGE("invalid fence handle with %d fds", handle->numFds); in readFence()

1234