Lines Matching refs:offlineStreams

127 bool ExternalCameraDeviceSession::canDropRequest(const hidl_vec<int32_t>& offlineStreams,  in canDropRequest()  argument
130 for (auto offlineStreamId : offlineStreams) { in canDropRequest()
140 void ExternalCameraDeviceSession::fillOfflineSessionInfo(const hidl_vec<int32_t>& offlineStreams, in fillOfflineSessionInfo() argument
149 info->offlineStreams.resize(offlineStreams.size()); in fillOfflineSessionInfo()
162 for (size_t i = 0; i < offlineStreams.size(); i++) { in fillOfflineSessionInfo()
163 int32_t streamId = offlineStreams[i]; in fillOfflineSessionInfo()
164 info->offlineStreams[i].id = streamId; in fillOfflineSessionInfo()
167 info->offlineStreams[i].numOutstandingBuffers = 0; in fillOfflineSessionInfo()
169 info->offlineStreams[i].circulatingBufferIds.resize(bufIdMap.size()); in fillOfflineSessionInfo()
173 info->offlineStreams[i].circulatingBufferIds[bIdx++] = pair.first; in fillOfflineSessionInfo()
179 Status ExternalCameraDeviceSession::switchToOffline(const hidl_vec<int32_t>& offlineStreams, in switchToOffline() argument
185 if (offlineStreams.size() > 1) { in switchToOffline()
206 for (auto streamId : offlineStreams) { in switchToOffline()
219 bool dropReq = canDropRequest(offlineStreams, halReq); in switchToOffline()
237 for (auto offlineStreamId : offlineStreams) { in switchToOffline()
292 streamInfos.resize(offlineStreams.size()); in switchToOffline()
297 for(auto streamId : offlineStreams) { in switchToOffline()
305 fillOfflineSessionInfo(offlineStreams, offlineReqs, circulatingBuffers, info); in switchToOffline()