Lines Matching refs:mInputStream
407 streams.reserve(mOutputStreams.size() + (mInputStream != nullptr ? 1 : 0)); in disconnectImpl()
411 if (mInputStream != nullptr) { in disconnectImpl()
412 streams.push_back(mInputStream); in disconnectImpl()
451 mInputStream.clear(); in disconnectImpl()
736 if (mInputStream != NULL) { in dump()
738 mInputStream->dump(fd, args); in dump()
1057 mTagMonitor, mInputStream, mOutputStreams, listener, *this, *this, *mInterface in processCaptureResult_3_4()
1115 mTagMonitor, mInputStream, mOutputStreams, listener, *this, *this, *mInterface in processCaptureResult()
1155 mTagMonitor, mInputStream, mOutputStreams, listener, *this, *this, *mInterface in notify()
1286 if (mInputStream != 0) { in createInputStream()
1295 mInputStream = newStream; in createInputStream()
1573 if (mInputStream != NULL && id == mInputStream->getId()) { in deleteStream()
1574 deletedStream = mInputStream; in deleteStream()
1575 mInputStream.clear(); in deleteStream()
1655 } else if (mInputStream == NULL) { in getInputBufferProducer()
1659 return mInputStream->getInputBufferProducer(producer); in getInputBufferProducer()
2235 if (mInputStream == NULL || in createCaptureRequest()
2236 mInputStream->getId() != inputStreams.data.i32[0]) { in createCaptureRequest()
2242 if (mInputStream->isConfiguring()) { in createCaptureRequest()
2244 __FUNCTION__, mInputStream->getId()); in createCaptureRequest()
2248 if (mInputStream->isBlockedByPrepare()) { in createCaptureRequest()
2253 newRequest->mInputStream = mInputStream; in createCaptureRequest()
2314 if (mInputStream != NULL && mInputStream->isConfiguring()) { in cancelStreamsConfigurationLocked()
2315 res = mInputStream->cancelConfiguration(); in cancelStreamsConfigurationLocked()
2318 mInputStream->getId(), strerror(-res), res); in cancelStreamsConfigurationLocked()
2345 if ((mInputStream.get() != nullptr) && (mInputStream->isAbandoned())) { in checkAbandonedStreamsLocked()
2444 if (mInputStream != NULL && notifyRequestThread) { in configureStreamsLocked()
2447 status_t res = mInputStream->getInputBuffer(&inputBuffer, in configureStreamsLocked()
2455 res = mInputStream->returnInputBuffer(inputBuffer); in configureStreamsLocked()
2484 config.num_streams = (mInputStream != NULL) + mOutputStreams.size(); in configureStreamsLocked()
2491 if (mInputStream != NULL) { in configureStreamsLocked()
2493 inputStream = mInputStream->startConfiguration(); in configureStreamsLocked()
2506 static_cast<Camera3StreamInterface*>(mInputStream.get())) { in configureStreamsLocked()
2522 size_t k = i + ((mInputStream != nullptr) ? 1 : 0); // Input stream if present should in configureStreamsLocked()
2565 if (mInputStream != NULL && mInputStream->isConfiguring()) { in configureStreamsLocked()
2567 res = mInputStream->finishConfiguration(&streamReConfigured); in configureStreamsLocked()
2570 mInputStream->getId(), strerror(-res), res); in configureStreamsLocked()
2572 if ((res == NO_INIT || res == DEAD_OBJECT) && mInputStream->isAbandoned()) { in configureStreamsLocked()
2578 mInterface->onStreamReConfigured(mInputStream->getId()); in configureStreamsLocked()
3946 if ((*it)->mInputStream != NULL) { in clear()
3948 status_t res = (*it)->mInputStream->getInputBuffer(&inputBuffer, in clear()
3955 res = (*it)->mInputStream->returnInputBuffer(inputBuffer); in clear()
4280 if (mNextRequests[0].captureRequest->mInputStream != nullptr) { in threadLoop()
4281 res = mNextRequests[0].captureRequest->mInputStream->forceToIdle(); in threadLoop()
4296 if (mNextRequests[0].captureRequest->mInputStream != nullptr) { in threadLoop()
4297 mNextRequests[0].captureRequest->mInputStream->restoreConfiguredState(); in threadLoop()
4531 if (captureRequest->mInputStream != NULL) { in prepareHalRequests()
4711 if (stream == nextRequest.captureRequest->mInputStream) return true; in isStreamPending()
4719 if (stream == request->mInputStream) return true; in isStreamPending()
4726 if (stream == request->mInputStream) return true; in isStreamPending()
4888 if (captureRequest->mInputStream != NULL) { in cleanUpFailedRequests()
4890 captureRequest->mInputStream->returnInputBuffer(captureRequest->mInputBuffer); in cleanUpFailedRequests()
5075 if (nextRequest->mInputStream != NULL) { in waitForNextRequestLocked()
5076 res = nextRequest->mInputStream->getInputBuffer(&nextRequest->mInputBuffer); in waitForNextRequestLocked()
5737 bool hasInputStream = mInputStream != nullptr; in getAllStreams()
5740 ret.push_back(mInputStream); in getAllStreams()
5762 bool hasInputStream = mInputStream != nullptr; in switchToOffline()
5763 int32_t inputStreamId = hasInputStream ? mInputStream->getId() : -1; in switchToOffline()
5765 mInputStream->getOfflineProcessingSupport() : false; in switchToOffline()
5769 streamIds.push_back(mInputStream->getId()); in switchToOffline()
5836 static_cast<sp<Camera3StreamInterface>>(mInputStream) : in switchToOffline()
5849 if (mInputStream->hasOutstandingBuffers()) { in switchToOffline()
5851 inputStreamId, mInputStream->getOutstandingBuffersCount()); in switchToOffline()
5897 if (mInputStream != nullptr && id == mInputStream->getId()) { in switchToOffline()
5898 inputStream = mInputStream; in switchToOffline()
5923 if (mInputStream != nullptr && id == mInputStream->getId()) { in switchToOffline()
5924 mInputStream.clear(); in switchToOffline()
5931 if (mInputStream != nullptr) { in switchToOffline()
5932 ret = mInputStream->disconnect(); in switchToOffline()
5948 mInputStream.clear(); in switchToOffline()
5975 bool hasInputStream = mInputStream != nullptr; in getOfflineStreamIds()
5976 if (hasInputStream && mInputStream->getOfflineProcessingSupport()) { in getOfflineStreamIds()
5977 offlineStreamIds->push_back(mInputStream->getId()); in getOfflineStreamIds()