Home
last modified time | relevance | path

Searched refs:finalResult (Results 1 – 25 of 25) 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.cpp415 bool AnotherPacketSource::hasBufferAvailable(status_t *finalResult) { in hasBufferAvailable() argument
417 *finalResult = OK; in hasBufferAvailable()
425 *finalResult = mEOSResult; in hasBufferAvailable()
429 bool AnotherPacketSource::hasDataBufferAvailable(status_t *finalResult) { in hasDataBufferAvailable() argument
431 *finalResult = OK; in hasDataBufferAvailable()
443 *finalResult = mEOSResult; in hasDataBufferAvailable()
447 size_t AnotherPacketSource::getAvailableBufferCount(status_t *finalResult) { in getAvailableBufferCount() argument
450 *finalResult = OK; in getAvailableBufferCount()
457 *finalResult = mEOSResult; in getAvailableBufferCount()
461 int64_t AnotherPacketSource::getBufferedDurationUs(status_t *finalResult) { in getBufferedDurationUs() argument
[all …]
DATSParser.h128 void signalEOS(status_t finalResult);
DATSParser.cpp83 void signalEOS(status_t finalResult);
172 void signalEOS(status_t finalResult);
363 void ATSParser::Program::signalEOS(status_t finalResult) { in signalEOS() argument
365 mStreams.editValueAt(i)->signalEOS(finalResult); in signalEOS()
1230 void ATSParser::Stream::signalEOS(status_t finalResult) { in signalEOS() argument
1232 mSource->signalEOS(finalResult); in signalEOS()
1955 void ATSParser::signalEOS(status_t finalResult) { in signalEOS() argument
1956 if (finalResult == (status_t) OK) { in signalEOS()
1962 mPrograms.editItemAt(i)->signalEOS(finalResult); in signalEOS()
/frameworks/av/media/libmediaplayer2/nuplayer2/
DRTSPSource2.cpp215 status_t finalResult; in dequeueAccessUnit() local
216 if (!source->hasBufferAvailable(&finalResult)) { in dequeueAccessUnit()
217 if (finalResult == OK) { in dequeueAccessUnit()
247 return finalResult; in dequeueAccessUnit()
335 status_t finalResult; in checkBuffering() local
342 int64_t bufferedDurationUs = src->getBufferedDurationUs(&finalResult); in checkBuffering()
434 status_t finalResult; in sourceReachedEOS() local
436 !source->hasBufferAvailable(&finalResult) && in sourceReachedEOS()
437 finalResult == ERROR_END_OF_STREAM); in sourceReachedEOS()
655 int32_t finalResult; in onMessageReceived() local
[all …]
DNuPlayer2Renderer.h55 void queueEOS(bool audio, status_t finalResult);
280 void notifyEOS(bool audio, status_t finalResult, int64_t delayUs = 0);
281 void notifyEOS_l(bool audio, status_t finalResult, int64_t delayUs = 0);
DGenericSource2.cpp747 status_t finalResult; in dequeueAccessUnit() local
748 if (!track->mPackets->hasBufferAvailable(&finalResult)) { in dequeueAccessUnit()
749 if (finalResult == OK) { in dequeueAccessUnit()
754 return finalResult; in dequeueAccessUnit()
762 if (track->mPackets->getAvailableBufferCount(&finalResult) < 2) { in dequeueAccessUnit()
766 int64_t durationUs = track->mPackets->getBufferedDurationUs(&finalResult); in dequeueAccessUnit()
771 if (finalResult == OK) { in dequeueAccessUnit()
775 if (track->mPackets->getAvailableBufferCount(&finalResult) < 2 in dequeueAccessUnit()
1318 status_t finalResult; in readBuffer() local
1319 int64_t durationUs = track->mPackets->getBufferedDurationUs(&finalResult); in readBuffer()
[all …]
DNuPlayer2Renderer.cpp191 void NuPlayer2::Renderer::queueEOS(bool audio, status_t finalResult) { in queueEOS() argument
192 CHECK_NE(finalResult, (status_t)OK); in queueEOS()
197 msg->setInt32("finalResult", finalResult); in queueEOS()
641 status_t finalResult; in onMessageReceived() local
642 CHECK(msg->findInt32("finalResult", &finalResult)); in onMessageReceived()
643 notifyEOS(true /* audio */, finalResult); in onMessageReceived()
1404 void NuPlayer2::Renderer::notifyEOS(bool audio, status_t finalResult, int64_t delayUs) { in notifyEOS() argument
1406 notifyEOS_l(audio, finalResult, delayUs); in notifyEOS()
1409 void NuPlayer2::Renderer::notifyEOS_l(bool audio, status_t finalResult, int64_t delayUs) { in notifyEOS_l() argument
1413 msg->setInt32("finalResult", finalResult); in notifyEOS_l()
[all …]
DNuPlayer2.cpp1423 int32_t finalResult; in onMessageReceived() local
1424 CHECK(msg->findInt32("finalResult", &finalResult)); in onMessageReceived()
1432 if (finalResult == ERROR_END_OF_STREAM) { in onMessageReceived()
1436 audio ? "audio" : "video", finalResult); in onMessageReceived()
1440 MEDIA2_ERROR_UNKNOWN, finalResult); in onMessageReceived()
/frameworks/av/media/libmediaplayerservice/nuplayer/
DRTSPSource.cpp216 status_t finalResult; in dequeueAccessUnit() local
217 if (!source->hasBufferAvailable(&finalResult)) { in dequeueAccessUnit()
218 if (finalResult == OK) { in dequeueAccessUnit()
248 return finalResult; in dequeueAccessUnit()
336 status_t finalResult; in checkBuffering() local
343 int64_t bufferedDurationUs = src->getBufferedDurationUs(&finalResult); in checkBuffering()
435 status_t finalResult; in sourceReachedEOS() local
437 !source->hasBufferAvailable(&finalResult) && in sourceReachedEOS()
438 finalResult == ERROR_END_OF_STREAM); in sourceReachedEOS()
656 int32_t finalResult; in onMessageReceived() local
[all …]
DStreamingSource.cpp266 status_t finalResult; in dequeueAccessUnit() local
267 if (!source->hasBufferAvailable(&finalResult)) { in dequeueAccessUnit()
268 return finalResult == OK ? -EWOULDBLOCK : finalResult; in dequeueAccessUnit()
DNuPlayerRenderer.h53 void queueEOS(bool audio, status_t finalResult);
279 void notifyEOS(bool audio, status_t finalResult, int64_t delayUs = 0);
280 void notifyEOS_l(bool audio, status_t finalResult, int64_t delayUs = 0);
DGenericSource.cpp865 status_t finalResult; in dequeueAccessUnit() local
866 if (!track->mPackets->hasBufferAvailable(&finalResult)) { in dequeueAccessUnit()
867 if (finalResult == OK) { in dequeueAccessUnit()
872 return finalResult; in dequeueAccessUnit()
880 if (track->mPackets->getAvailableBufferCount(&finalResult) < 2) { in dequeueAccessUnit()
884 int64_t durationUs = track->mPackets->getBufferedDurationUs(&finalResult); in dequeueAccessUnit()
889 if (finalResult == OK) { in dequeueAccessUnit()
893 if (track->mPackets->getAvailableBufferCount(&finalResult) < 2 in dequeueAccessUnit()
1473 status_t finalResult; in readBuffer() local
1474 int64_t durationUs = track->mPackets->getBufferedDurationUs(&finalResult); in readBuffer()
[all …]
DNuPlayerRenderer.cpp192 void NuPlayer::Renderer::queueEOS(bool audio, status_t finalResult) { in queueEOS() argument
193 CHECK_NE(finalResult, (status_t)OK); in queueEOS()
198 msg->setInt32("finalResult", finalResult); in queueEOS()
654 status_t finalResult; in onMessageReceived() local
655 CHECK(msg->findInt32("finalResult", &finalResult)); in onMessageReceived()
656 notifyEOS(true /* audio */, finalResult); in onMessageReceived()
1418 void NuPlayer::Renderer::notifyEOS(bool audio, status_t finalResult, int64_t delayUs) { in notifyEOS() argument
1420 notifyEOS_l(audio, finalResult, delayUs); in notifyEOS()
1423 void NuPlayer::Renderer::notifyEOS_l(bool audio, status_t finalResult, int64_t delayUs) { in notifyEOS_l() argument
1427 msg->setInt32("finalResult", finalResult); in notifyEOS_l()
[all …]
DNuPlayer.cpp1253 int32_t finalResult; in onMessageReceived() local
1254 CHECK(msg->findInt32("finalResult", &finalResult)); in onMessageReceived()
1262 if (finalResult == ERROR_END_OF_STREAM) { in onMessageReceived()
1266 audio ? "audio" : "video", finalResult); in onMessageReceived()
1269 MEDIA_ERROR, MEDIA_ERROR_UNKNOWN, finalResult); in onMessageReceived()
/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/
DHdmiCecLocalDeviceTest.java157 (int finalResult) -> callbackResult = finalResult); in handleGivePhysicalAddress_success()
174 (int finalResult) -> callbackResult = finalResult); in handleGiveDeviceVendorId_success()
/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.cpp340 status_t finalResult = OK; in dequeueAccessUnit() local
354 if (!packetSource->hasDataBufferAvailable(&finalResult)) { in dequeueAccessUnit()
356 streamStr, finalResult); in dequeueAccessUnit()
358 if (finalResult == OK) { in dequeueAccessUnit()
361 return finalResult; in dequeueAccessUnit()
1981 status_t finalResult = OK; in swapPacketSource() local
1983 while (aps2->hasBufferAvailable(&finalResult) && finalResult == OK && in swapPacketSource()
2188 status_t finalResult; in checkBuffering() local
2190 mPacketSources[i]->getBufferedDurationUs(&finalResult); in checkBuffering()
DPlaylistFetcher.cpp872 status_t finalResult = OK; in onMonitorQueue() local
878 packetSource->getBufferedDurationUs(&finalResult); in onMonitorQueue()
892 mPacketSources.valueAt(i)->getBufferedDurationUs(&finalResult); in onMonitorQueue()
906 if (finalResult == OK && bufferedDurationUs < kMinBufferedDurationUs) { in onMonitorQueue()
1839 status_t finalResult; in extractAndQueueAccessUnitsFromTs() local
1840 while (source->hasBufferAvailable(&finalResult) in extractAndQueueAccessUnitsFromTs()
/frameworks/av/media/extractors/mpeg2/
DMPEG2TSExtractor.cpp779 status_t finalResult; in feedUntilBufferAvailable() local
780 while (!impl->hasBufferAvailable(&finalResult)) { in feedUntilBufferAvailable()
781 if (finalResult != OK) { in feedUntilBufferAvailable()
782 return finalResult; in feedUntilBufferAvailable()
DMPEG2PSExtractor.cpp685 status_t finalResult; in read() local
686 while (!mSource->hasBufferAvailable(&finalResult)) { in read()
687 if (finalResult != OK) { in read()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
DActivityManagerWrapper.java321 final boolean finalResult = result; in startActivityFromRecentsAsync()
326 resultCallback.accept(finalResult); in startActivityFromRecentsAsync()
/frameworks/base/core/java/android/hardware/camera2/impl/
DCameraDeviceImpl.java2175 CaptureResult finalResult; in onResultReceived() local
2217 finalResult = resultAsCapture; in onResultReceived()
2264 finalResult = resultAsCapture; in onResultReceived()
2275 mFrameNumberTracker.updateTracker(frameNumber, finalResult, isPartialResult, in onResultReceived()
/frameworks/av/media/libstagefright/rtsp/
DMyHandler.h1947 void postQueueEOS(size_t trackIndex, status_t finalResult) { in postQueueEOS()
1951 msg->setInt32("finalResult", finalResult); in postQueueEOS()