Home
last modified time | relevance | path

Searched refs:bufRets (Results 1 – 3 of 3) sorted by relevance

/hardware/interfaces/camera/device/3.5/default/
DExternalCameraDeviceSession.cpp169 hidl_vec<StreamBufferRet> bufRets; in threadLoop() local
171 [&status, &bufRets] in threadLoop()
174 bufRets = std::move(rets); in threadLoop()
184 if (bufRets.size() != mHalBufferReqs.size()) { in threadLoop()
186 __FUNCTION__, mHalBufferReqs.size(), bufRets.size()); in threadLoop()
197 importedFences.resize(bufRets.size()); in threadLoop()
198 for (size_t i = 0; i < bufRets.size(); i++) { in threadLoop()
199 int streamId = bufRets[i].streamId; in threadLoop()
200 switch (bufRets[i].val.getDiscriminator()) { in threadLoop()
204 const hidl_vec<V3_2::StreamBuffer>& hBufs = bufRets[i].val.buffers(); in threadLoop()
DCameraDeviceSession.cpp190 hidl_vec<StreamBufferRet> bufRets; in requestStreamBuffers() local
192 [&status, &bufRets] in requestStreamBuffers()
195 bufRets = std::move(rets); in requestStreamBuffers()
219 if (bufRets.size() != num_buffer_reqs) { in requestStreamBuffers()
221 __FUNCTION__, num_buffer_reqs, bufRets.size()); in requestStreamBuffers()
228 Camera3Stream* stream = getStreamPointer(bufRets[i].streamId); in requestStreamBuffers()
230 ALOGE("%s: unknown streamId %d", __FUNCTION__, bufRets[i].streamId); in requestStreamBuffers()
238 if (bufRets[i].val.getDiscriminator() == StreamBuffersVal::hidl_discriminator::error) { in requestStreamBuffers()
240 switch (bufRets[i].val.error()) { in requestStreamBuffers()
255 __FUNCTION__, bufRets[i].val.error()); in requestStreamBuffers()
[all …]
/hardware/interfaces/camera/provider/2.4/vts/functional/
DVtsHalCameraProviderV2_4TargetTest.cpp1549 hidl_vec<StreamBufferRet> bufRets; in requestStreamBuffers() local
1555 _hidl_cb(BufferRequestStatus::FAILED_ILLEGAL_ARGUMENTS, bufRets); in requestStreamBuffers()
1562 _hidl_cb(BufferRequestStatus::FAILED_ILLEGAL_ARGUMENTS, bufRets); in requestStreamBuffers()
1580 _hidl_cb(BufferRequestStatus::FAILED_ILLEGAL_ARGUMENTS, bufRets); in requestStreamBuffers()
1587 bufRets.resize(bufReqs.size()); in requestStreamBuffers()
1594 bufRets[i].streamId = stream.v3_2.id; in requestStreamBuffers()
1595 bufRets[i].val.error(StreamBufferRequestError::MAX_BUFFER_EXCEEDED); in requestStreamBuffers()
1619 bufRets[i].streamId = stream.v3_2.id; in requestStreamBuffers()
1620 bufRets[i].val.buffers(std::move(tmpRetBuffers)); in requestStreamBuffers()
1624 _hidl_cb(BufferRequestStatus::OK, bufRets); in requestStreamBuffers()
[all …]