Home
last modified time | relevance | path

Searched refs:finalResult (Results 1 – 22 of 22) 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.cpp417 bool AnotherPacketSource::hasBufferAvailable(status_t *finalResult) { in hasBufferAvailable() argument
419 *finalResult = OK; in hasBufferAvailable()
427 *finalResult = mEOSResult; in hasBufferAvailable()
431 bool AnotherPacketSource::hasDataBufferAvailable(status_t *finalResult) { in hasDataBufferAvailable() argument
433 *finalResult = OK; in hasDataBufferAvailable()
445 *finalResult = mEOSResult; in hasDataBufferAvailable()
449 size_t AnotherPacketSource::getAvailableBufferCount(status_t *finalResult) { in getAvailableBufferCount() argument
452 *finalResult = OK; in getAvailableBufferCount()
459 *finalResult = mEOSResult; in getAvailableBufferCount()
463 int64_t AnotherPacketSource::getBufferedDurationUs(status_t *finalResult) { in getBufferedDurationUs() argument
[all …]
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()
DATSParser.h128 void signalEOS(status_t finalResult);
/frameworks/av/media/libmediaplayerservice/nuplayer/
DRTSPSource.cpp224 status_t finalResult; in dequeueAccessUnit() local
225 if (!source->hasBufferAvailable(&finalResult)) { in dequeueAccessUnit()
226 if (finalResult == OK) { in dequeueAccessUnit()
256 return finalResult; in dequeueAccessUnit()
344 status_t finalResult; in checkBuffering() local
351 int64_t bufferedDurationUs = src->getBufferedDurationUs(&finalResult); in checkBuffering()
443 status_t finalResult; in sourceReachedEOS() local
445 !source->hasBufferAvailable(&finalResult) && in sourceReachedEOS()
446 finalResult == ERROR_END_OF_STREAM); in sourceReachedEOS()
664 int32_t finalResult; in onMessageReceived() local
[all …]
DStreamingSource.cpp270 status_t finalResult; in dequeueAccessUnit() local
271 if (!source->hasBufferAvailable(&finalResult)) { in dequeueAccessUnit()
272 return finalResult == OK ? -EWOULDBLOCK : finalResult; in dequeueAccessUnit()
DRTPSource.cpp255 status_t finalResult; in dequeueAccessUnit() local
256 if (!source->hasBufferAvailable(&finalResult)) { in dequeueAccessUnit()
257 if (finalResult == OK) { in dequeueAccessUnit()
294 return finalResult; in dequeueAccessUnit()
299 finalResult = source->dequeueAccessUnit(accessUnit); in dequeueAccessUnit()
300 if (finalResult != OK) { in dequeueAccessUnit()
301 return finalResult; in dequeueAccessUnit()
320 return finalResult; in dequeueAccessUnit()
614 void NuPlayer::RTPSource::postQueueEOS(size_t trackIndex, status_t finalResult) { in postQueueEOS() argument
618 msg->setInt32("finalResult", finalResult); in postQueueEOS()
DNuPlayerRenderer.h55 void queueEOS(bool audio, status_t finalResult);
286 void notifyEOS(bool audio, status_t finalResult, int64_t delayUs = 0);
287 void notifyEOS_l(bool audio, status_t finalResult, int64_t delayUs = 0);
DGenericSource.cpp855 status_t finalResult; in dequeueAccessUnit() local
856 if (!track->mPackets->hasBufferAvailable(&finalResult)) { in dequeueAccessUnit()
857 if (finalResult == OK) { in dequeueAccessUnit()
862 return finalResult; in dequeueAccessUnit()
870 if (track->mPackets->getAvailableBufferCount(&finalResult) < 2) { in dequeueAccessUnit()
874 int64_t durationUs = track->mPackets->getBufferedDurationUs(&finalResult); in dequeueAccessUnit()
879 if (finalResult == OK) { in dequeueAccessUnit()
883 if (track->mPackets->getAvailableBufferCount(&finalResult) < 2 in dequeueAccessUnit()
1463 status_t finalResult; in readBuffer() local
1464 int64_t durationUs = track->mPackets->getBufferedDurationUs(&finalResult); in readBuffer()
[all …]
DNuPlayerRenderer.cpp194 void NuPlayer::Renderer::queueEOS(bool audio, status_t finalResult) { in queueEOS() argument
195 CHECK_NE(finalResult, (status_t)OK); in queueEOS()
200 msg->setInt32("finalResult", finalResult); in queueEOS()
674 status_t finalResult; in onMessageReceived() local
675 CHECK(msg->findInt32("finalResult", &finalResult)); in onMessageReceived()
676 notifyEOS(true /* audio */, finalResult); in onMessageReceived()
1448 void NuPlayer::Renderer::notifyEOS(bool audio, status_t finalResult, int64_t delayUs) { in notifyEOS() argument
1450 notifyEOS_l(audio, finalResult, delayUs); in notifyEOS()
1453 void NuPlayer::Renderer::notifyEOS_l(bool audio, status_t finalResult, int64_t delayUs) { in notifyEOS_l() argument
1457 msg->setInt32("finalResult", finalResult); in notifyEOS_l()
[all …]
DRTPSource.h195 void postQueueEOS(size_t trackIndex, status_t finalResult);
DNuPlayer.cpp1268 int32_t finalResult; in onMessageReceived() local
1269 CHECK(msg->findInt32("finalResult", &finalResult)); in onMessageReceived()
1277 if (finalResult == ERROR_END_OF_STREAM) { in onMessageReceived()
1281 audio ? "audio" : "video", finalResult); in onMessageReceived()
1284 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()
1982 status_t finalResult = OK; in swapPacketSource() local
1984 while (aps2->hasBufferAvailable(&finalResult) && finalResult == OK && in swapPacketSource()
2189 status_t finalResult; in checkBuffering() local
2191 mPacketSources[i]->getBufferedDurationUs(&finalResult); in checkBuffering()
DPlaylistFetcher.cpp874 status_t finalResult = OK; in onMonitorQueue() local
880 packetSource->getBufferedDurationUs(&finalResult); in onMonitorQueue()
894 mPacketSources.valueAt(i)->getBufferedDurationUs(&finalResult); in onMonitorQueue()
908 if (finalResult == OK && bufferedDurationUs < kMinBufferedDurationUs) { in onMonitorQueue()
1841 status_t finalResult; in extractAndQueueAccessUnitsFromTs() local
1842 while (source->hasBufferAvailable(&finalResult) in extractAndQueueAccessUnitsFromTs()
/frameworks/base/services/tests/servicestests/src/com/android/server/hdmi/
DHdmiCecLocalDeviceTest.java235 (int finalResult) -> callbackResult = finalResult); in handleGivePhysicalAddress_success()
252 (int finalResult) -> callbackResult = finalResult); in handleGiveDeviceVendorId_success()
/frameworks/base/core/java/android/hardware/camera2/impl/
DCameraOfflineSessionImpl.java323 CaptureResult finalResult; in onResultReceived() local
366 finalResult = resultAsCapture; in onResultReceived()
412 finalResult = resultAsCapture; in onResultReceived()
425 mFrameNumberTracker.updateTracker(frameNumber, finalResult, isPartialResult, in onResultReceived()
DCameraDeviceImpl.java2088 CaptureResult finalResult; in onResultReceived() local
2130 finalResult = resultAsCapture; in onResultReceived()
2177 finalResult = resultAsCapture; in onResultReceived()
2188 mFrameNumberTracker.updateTracker(frameNumber, finalResult, isPartialResult, in onResultReceived()
/frameworks/av/media/extractors/mpeg2/
DMPEG2TSExtractor.cpp781 status_t finalResult; in feedUntilBufferAvailable() local
782 while (!impl->hasBufferAvailable(&finalResult)) { in feedUntilBufferAvailable()
783 if (finalResult != OK) { in feedUntilBufferAvailable()
784 return finalResult; in feedUntilBufferAvailable()
DMPEG2PSExtractor.cpp690 status_t finalResult; in read() local
691 while (!mSource->hasBufferAvailable(&finalResult)) { in read()
692 if (finalResult != OK) { in read()
/frameworks/av/media/libstagefright/rtsp/
DMyHandler.h1967 void postQueueEOS(size_t trackIndex, status_t finalResult) { in postQueueEOS()
1971 msg->setInt32("finalResult", finalResult); in postQueueEOS()