Home
last modified time | relevance | path

Searched refs:finalResult (Results 1 – 19 of 19) sorted by relevance

/frameworks/av/media/libstagefright/mpeg2ts/
DAnotherPacketSource.h47 bool hasBufferAvailable(status_t *finalResult);
50 bool hasDataBufferAvailable(status_t *finalResult);
54 size_t getAvailableBufferCount(status_t *finalResult);
58 int64_t getBufferedDurationUs(status_t *finalResult);
DAnotherPacketSource.cpp371 bool AnotherPacketSource::hasBufferAvailable(status_t *finalResult) { in hasBufferAvailable() argument
373 *finalResult = OK; in hasBufferAvailable()
381 *finalResult = mEOSResult; in hasBufferAvailable()
385 bool AnotherPacketSource::hasDataBufferAvailable(status_t *finalResult) { in hasDataBufferAvailable() argument
387 *finalResult = OK; in hasDataBufferAvailable()
399 *finalResult = mEOSResult; in hasDataBufferAvailable()
403 size_t AnotherPacketSource::getAvailableBufferCount(status_t *finalResult) { in getAvailableBufferCount() argument
406 *finalResult = OK; in getAvailableBufferCount()
413 *finalResult = mEOSResult; in getAvailableBufferCount()
417 int64_t AnotherPacketSource::getBufferedDurationUs(status_t *finalResult) { in getBufferedDurationUs() argument
[all …]
DMPEG2TSExtractor.cpp467 status_t finalResult; in feedUntilBufferAvailable() local
468 while (!impl->hasBufferAvailable(&finalResult)) { in feedUntilBufferAvailable()
469 if (finalResult != OK) { in feedUntilBufferAvailable()
470 return finalResult; in feedUntilBufferAvailable()
DATSParser.cpp68 void signalEOS(status_t finalResult);
136 void signalEOS(status_t finalResult);
280 void ATSParser::Program::signalEOS(status_t finalResult) { in signalEOS() argument
282 mStreams.editValueAt(i)->signalEOS(finalResult); in signalEOS()
814 void ATSParser::Stream::signalEOS(status_t finalResult) { in signalEOS() argument
816 mSource->signalEOS(finalResult); in signalEOS()
1230 void ATSParser::signalEOS(status_t finalResult) { in signalEOS() argument
1231 if (finalResult == (status_t) OK) { in signalEOS()
1237 mPrograms.editItemAt(i)->signalEOS(finalResult); in signalEOS()
DMPEG2PSExtractor.cpp667 status_t finalResult; in read() local
668 while (!mSource->hasBufferAvailable(&finalResult)) { in read()
669 if (finalResult != OK) { in read()
DATSParser.h108 void signalEOS(status_t finalResult);
/frameworks/av/media/libmediaplayerservice/nuplayer/
DRTSPSource.cpp200 status_t finalResult; in dequeueAccessUnit() local
201 if (!source->hasBufferAvailable(&finalResult)) { in dequeueAccessUnit()
202 if (finalResult == OK) { in dequeueAccessUnit()
238 return finalResult; in dequeueAccessUnit()
322 status_t finalResult; in checkBuffering() local
325 int64_t bufferedDurationUs = src->getBufferedDurationUs(&finalResult); in checkBuffering()
556 int32_t finalResult; in onMessageReceived() local
557 CHECK(msg->findInt32("finalResult", &finalResult)); in onMessageReceived()
558 CHECK_NE(finalResult, (status_t)OK); in onMessageReceived()
563 source->signalEOS(finalResult); in onMessageReceived()
[all …]
DStreamingSource.cpp250 status_t finalResult; in dequeueAccessUnit() local
251 if (!source->hasBufferAvailable(&finalResult)) { in dequeueAccessUnit()
252 return finalResult == OK ? -EWOULDBLOCK : finalResult; in dequeueAccessUnit()
DNuPlayerRenderer.cpp158 void NuPlayer::Renderer::queueEOS(bool audio, status_t finalResult) { in queueEOS() argument
159 CHECK_NE(finalResult, (status_t)OK); in queueEOS()
164 msg->setInt32("finalResult", finalResult); in queueEOS()
551 status_t finalResult; in onMessageReceived() local
552 CHECK(msg->findInt32("finalResult", &finalResult)); in onMessageReceived()
553 notifyEOS(true /* audio */, finalResult); in onMessageReceived()
1306 void NuPlayer::Renderer::notifyEOS(bool audio, status_t finalResult, int64_t delayUs) { in notifyEOS() argument
1310 msg->setInt32("finalResult", finalResult); in notifyEOS()
1317 notify->setInt32("finalResult", finalResult); in notifyEOS()
1433 int32_t finalResult; in onQueueEOS() local
[all …]
DNuPlayerRenderer.h52 void queueEOS(bool audio, status_t finalResult);
261 void notifyEOS(bool audio, status_t finalResult, int64_t delayUs = 0);
DGenericSource.cpp894 status_t finalResult; in dequeueAccessUnit() local
895 if (!track->mPackets->hasBufferAvailable(&finalResult)) { in dequeueAccessUnit()
896 if (finalResult == OK) { in dequeueAccessUnit()
901 return finalResult; in dequeueAccessUnit()
908 if (track->mPackets->getAvailableBufferCount(&finalResult) < 2) { in dequeueAccessUnit()
DNuPlayer.cpp1108 int32_t finalResult; in onMessageReceived() local
1109 CHECK(msg->findInt32("finalResult", &finalResult)); in onMessageReceived()
1117 if (finalResult == ERROR_END_OF_STREAM) { in onMessageReceived()
1121 audio ? "audio" : "video", finalResult); in onMessageReceived()
1124 MEDIA_ERROR, MEDIA_ERROR_UNKNOWN, finalResult); in onMessageReceived()
/frameworks/av/media/libstagefright/httplive/
DLiveDataSource.cpp154 void LiveDataSource::queueEOS(status_t finalResult) { in queueEOS() argument
155 CHECK_NE(finalResult, (status_t)OK); in queueEOS()
159 mFinalResult = finalResult; in queueEOS()
DLiveDataSource.h39 void queueEOS(status_t finalResult);
DLiveSession.cpp341 status_t finalResult = OK; in dequeueAccessUnit() local
355 if (!packetSource->hasDataBufferAvailable(&finalResult)) { in dequeueAccessUnit()
357 streamStr, finalResult); in dequeueAccessUnit()
359 if (finalResult == OK) { in dequeueAccessUnit()
362 return finalResult; in dequeueAccessUnit()
1961 status_t finalResult = OK; in swapPacketSource() local
1963 while (aps2->hasBufferAvailable(&finalResult) && finalResult == OK && in swapPacketSource()
2168 status_t finalResult; in checkBuffering() local
2170 mPacketSources[i]->getBufferedDurationUs(&finalResult); in checkBuffering()
DPlaylistFetcher.cpp796 status_t finalResult = OK; in onMonitorQueue() local
802 packetSource->getBufferedDurationUs(&finalResult); in onMonitorQueue()
816 mPacketSources.valueAt(i)->getBufferedDurationUs(&finalResult); in onMonitorQueue()
830 if (finalResult == OK && bufferedDurationUs < kMinBufferedDurationUs) { in onMonitorQueue()
1728 status_t finalResult; in extractAndQueueAccessUnitsFromTs() local
1729 while (source->hasBufferAvailable(&finalResult) in extractAndQueueAccessUnitsFromTs()
/frameworks/base/services/core/java/com/android/server/connectivity/
DNetworkMonitor.java871 final AtomicReference<CaptivePortalProbeResult> finalResult = new AtomicReference<>(); in sendParallelHttpProbes() local
894 finalResult.compareAndSet(null, mResult); in sendParallelHttpProbes()
916 finalResult.compareAndSet(null, httpsProbe.getResult()); in sendParallelHttpProbes()
918 return finalResult.get(); in sendParallelHttpProbes()
/frameworks/base/core/java/android/hardware/camera2/impl/
DCameraDeviceImpl.java1793 CaptureResult finalResult; in onResultReceived() local
1813 finalResult = resultAsCapture; in onResultReceived()
1834 finalResult = resultAsCapture; in onResultReceived()
1840 mFrameNumberTracker.updateTracker(frameNumber, finalResult, isPartialResult, in onResultReceived()
/frameworks/av/media/libstagefright/rtsp/
DMyHandler.h1934 void postQueueEOS(size_t trackIndex, status_t finalResult) { in postQueueEOS()
1938 msg->setInt32("finalResult", finalResult); in postQueueEOS()