Home
last modified time | relevance | path

Searched refs:bufRets (Results 1 – 5 of 5) 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/aidl/vts/
Ddevice_cb.cpp81 std::vector<StreamBufferRet>& bufRets = *buffers; in requestStreamBuffers() local
119 bufRets.resize(bufReqs.size()); in requestStreamBuffers()
128 bufRets[i].streamId = stream.id; in requestStreamBuffers()
129 bufRets[i].val.set<StreamBuffersVal::Tag::error>( in requestStreamBuffers()
161 bufRets[i].streamId = stream.id; in requestStreamBuffers()
162 bufRets[i].val.set<StreamBuffersVal::Tag::buffers>(std::move(tmpRetBuffers)); in requestStreamBuffers()
/hardware/interfaces/camera/device/default/
DExternalCameraDeviceSession.cpp2018 std::vector<StreamBufferRet> bufRets; in threadLoop() local
2019 ScopedAStatus ret = mCallbacks->requestStreamBuffers(mHalBufferReqs, &bufRets, &status); in threadLoop()
2030 if (bufRets.size() != mHalBufferReqs.size()) { in threadLoop()
2032 mHalBufferReqs.size(), bufRets.size()); in threadLoop()
2049 importedFences.resize(bufRets.size()); in threadLoop()
2051 for (size_t i = 0; i < bufRets.size(); i++) { in threadLoop()
2052 int streamId = bufRets[i].streamId; in threadLoop()
2053 switch (bufRets[i].val.getTag()) { in threadLoop()
2058 bufRets[i].val.get<StreamBuffersVal::Tag::buffers>(); in threadLoop()
/hardware/interfaces/camera/provider/2.4/vts/functional/
DVtsHalCameraProviderV2_4TargetTest.cpp1605 hidl_vec<StreamBufferRet> bufRets; in requestStreamBuffers() local
1611 _hidl_cb(BufferRequestStatus::FAILED_ILLEGAL_ARGUMENTS, bufRets); in requestStreamBuffers()
1618 _hidl_cb(BufferRequestStatus::FAILED_ILLEGAL_ARGUMENTS, bufRets); in requestStreamBuffers()
1636 _hidl_cb(BufferRequestStatus::FAILED_ILLEGAL_ARGUMENTS, bufRets); in requestStreamBuffers()
1643 bufRets.resize(bufReqs.size()); in requestStreamBuffers()
1650 bufRets[i].streamId = stream.v3_2.id; in requestStreamBuffers()
1651 bufRets[i].val.error(StreamBufferRequestError::MAX_BUFFER_EXCEEDED); in requestStreamBuffers()
1675 bufRets[i].streamId = stream.v3_2.id; in requestStreamBuffers()
1676 bufRets[i].val.buffers(std::move(tmpRetBuffers)); in requestStreamBuffers()
1680 _hidl_cb(BufferRequestStatus::OK, bufRets); in requestStreamBuffers()
[all …]