/frameworks/av/media/ndk/ |
D | NdkImage.cpp | 101 return AMEDIA_OK; in getWidth() 115 return AMEDIA_OK; in getHeight() 129 return AMEDIA_OK; in getFormat() 143 return AMEDIA_OK; in getNumPlanes() 157 return AMEDIA_OK; in getTimestamp() 174 return AMEDIA_OK; in lockImage() 191 return AMEDIA_OK; in lockImage() 208 return AMEDIA_OK; in unlockImageIfLocked() 221 return AMEDIA_OK; in unlockImageIfLocked() 247 return AMEDIA_OK; in getPlanePixelStride() [all …]
|
D | NdkImageReader.cpp | 141 return AMEDIA_OK; in setImageListener() 180 return AMEDIA_OK; in setBufferRemovedListener() 352 return AMEDIA_OK; in init() 500 return AMEDIA_OK; in acquireImageLocked() 569 return AMEDIA_OK; in getWindowNativeHandle() 582 return AMEDIA_OK; in getWindowNativeHandle() 630 return AMEDIA_OK; in acquireLatestImage() 739 if (ret != AMEDIA_OK) { in AImageReader_newWithUsage() 746 return AMEDIA_OK; in AImageReader_newWithUsage() 768 return AMEDIA_OK; in AImageReader_getWindow() [all …]
|
D | NdkMediaCodec.cpp | 45 return AMEDIA_OK; in translate_error() 377 return AMEDIA_OK; in AMediaCodec_delete() 394 return AMEDIA_OK; in AMediaCodec_getName() 448 return AMEDIA_OK; in AMediaCodec_setAsyncNotifyCallback() 466 return AMEDIA_OK; in AMediaCodec_start() 663 return AMEDIA_OK; in AMediaCodec_createInputSurface() 686 return AMEDIA_OK; in AMediaCodec_createPersistentInputSurface() 741 return AMEDIA_OK; in AMediaCodec_setNotificationCallback() 853 return AMEDIA_OK; in AMediaCodecCryptoInfo_delete() 870 return AMEDIA_OK; in AMediaCodecCryptoInfo_getKey() [all …]
|
D | NdkMediaDrm.cpp | 205 result = AMEDIA_OK; in translateStatus() 358 return AMEDIA_OK; in AMediaDrm_setOnEventListener() 374 return AMEDIA_OK; in AMediaDrm_setOnExpirationUpdateListener() 390 return AMEDIA_OK; in AMediaDrm_setOnKeysChangeListener() 418 return AMEDIA_OK; in AMediaDrm_openSession() 436 return AMEDIA_OK; in AMediaDrm_closeSession() 490 return AMEDIA_OK; in AMediaDrm_getKeyRequest() 522 return AMEDIA_OK; in AMediaDrm_provideKeyResponse() 596 return AMEDIA_OK; in AMediaDrm_queryKeyStatus() 618 return AMEDIA_OK; in AMediaDrm_getProvisionRequest() [all …]
|
/frameworks/rs/ |
D | rsGrallocConsumer.cpp | 51 if (ret != AMEDIA_OK || mImgReader == nullptr) { in GrallocConsumer() 56 if (ret != AMEDIA_OK || mNativeWindow == nullptr) { in GrallocConsumer() 100 if (ret != AMEDIA_OK) { in lockNextBuffer() 106 if (ret != AMEDIA_OK || mAcquiredBuffer[idx].mImg == nullptr) { in lockNextBuffer() 115 if (ret != AMEDIA_OK || format == -1) { in lockNextBuffer() 129 if (ret != AMEDIA_OK || data == nullptr || dataLength <= 0) { in lockNextBuffer() 137 if (ret != AMEDIA_OK || timestamp == -1) { in lockNextBuffer() 145 if (ret != AMEDIA_OK || rowstride == -1) { in lockNextBuffer() 153 if (ret != AMEDIA_OK || hardwareBuffer == nullptr) { in lockNextBuffer() 176 if (ret != AMEDIA_OK || uData == nullptr || uDataLength <= 0) { in lockNextBuffer() [all …]
|
/frameworks/av/camera/ndk/ndk_vendor/tests/ |
D | AImageReaderVendorTest.cpp | 84 if (ret != AMEDIA_OK || mDevice == nullptr) { in initCamera() 91 if (ret != AMEDIA_OK) { in initCamera() 96 if (ret != AMEDIA_OK) { in initCamera() 101 if (ret != AMEDIA_OK) { in initCamera() 117 if (ret != AMEDIA_OK) { in initCamera() 141 if (ret != AMEDIA_OK) { in initCamera() 154 if (ret != AMEDIA_OK) { in initCamera() 159 if (ret != AMEDIA_OK) { in initCamera() 164 if (ret != AMEDIA_OK) { in initCamera() 176 if (ret != AMEDIA_OK) { in initCamera() [all …]
|
/frameworks/av/media/libstagefright/webm/tests/ |
D | WebmFrameThreadUnitTest.cpp | 200 ASSERT_EQ(status, AMEDIA_OK) << "Failed to start Audio Thread"; in startWebmFrameThreads() 202 ASSERT_EQ(status, AMEDIA_OK) << "Failed to start Video Thread"; in startWebmFrameThreads() 204 ASSERT_EQ(status, AMEDIA_OK) << "Failed to start Sink Thread"; in startWebmFrameThreads() 209 ASSERT_EQ(status, AMEDIA_OK) << "Failed to stop Audio Thread"; in stopWebmFrameThreads() 211 ASSERT_EQ(status, AMEDIA_OK) << "Failed to stop Video Thread"; in stopWebmFrameThreads() 213 ASSERT_EQ(status, AMEDIA_OK) << "Failed to stop Sink Thread"; in stopWebmFrameThreads() 281 ASSERT_EQ(status, AMEDIA_OK) << "Failed to pause Audio Thread"; in TEST_P() 283 ASSERT_EQ(status, AMEDIA_OK) << "Failed to pause Video Thread"; in TEST_P() 290 ASSERT_EQ(status, AMEDIA_OK) << "Failed to resume Audio Thread"; in TEST_P() 292 ASSERT_EQ(status, AMEDIA_OK) << "Failed to resume Video Thread"; in TEST_P()
|
/frameworks/av/media/ndk/tests/ |
D | AImageReaderWindowHandleTest.cpp | 64 ASSERT_EQ(ret, AMEDIA_OK); in SetUp() 67 ASSERT_EQ(ret, AMEDIA_OK); in SetUp() 77 media_status_t ret = AMEDIA_OK; in HandleImageAvailable() 83 ASSERT_EQ(ret, AMEDIA_OK); in HandleImageAvailable() 91 ASSERT_EQ(ret, AMEDIA_OK); in HandleImageAvailable() 193 EXPECT_TRUE(status == AMEDIA_OK); in SetUp()
|
/frameworks/av/media/tests/benchmark/src/native/extractor/ |
D | Extractor.cpp | 35 if (status != AMEDIA_OK) return status; in initExtractor() 81 return AMEDIA_OK; in setupTrackFormat() 86 if (status != AMEDIA_OK) return status; in extract() 111 return AMEDIA_OK; in extract()
|
/frameworks/av/media/libmedia/ |
D | NdkMediaErrorPriv.cpp | 27 return AMEDIA_OK; in translate_error() 46 if (err == AMEDIA_OK) { in reverse_translate_error()
|
/frameworks/base/media/native/midi/ |
D | amidi.cpp | 142 return AMEDIA_OK; in AMIDI_getDeviceInfo() 180 if (AMIDI_getDeviceInfo(devicePtr, &devicePtr->deviceInfo) != AMEDIA_OK) { in AMidiDevice_fromJava() 188 return AMEDIA_OK; in AMidiDevice_fromJava() 217 return AMEDIA_OK; in AMidiDevice_release() 268 return AMEDIA_OK; in AMIDI_openPort() 441 return AMEDIA_OK; in AMidiInputPort_sendFlush()
|
/frameworks/av/media/extractors/amr/ |
D | AMRExtractor.cpp | 115 return AMEDIA_OK; in getFrameSizeByOffset() 208 return AMEDIA_OK; in getMetaData() 264 return AMEDIA_OK; in start() 271 return AMEDIA_OK; in stop() 359 return AMEDIA_OK; in read()
|
/frameworks/av/media/extractors/ogg/ |
D | OggExtractor.cpp | 258 return AMEDIA_OK; in start() 264 return AMEDIA_OK; in stop() 283 if (err != AMEDIA_OK) { in read() 301 return AMEDIA_OK; in read() 598 if (err != AMEDIA_OK && err != AMEDIA_ERROR_END_OF_STREAM) { in readNextPacket() 624 if (err != AMEDIA_OK) { in readNextPacket() 646 return AMEDIA_OK; in readNextPacket() 862 return AMEDIA_OK; in _readNextPacket() 917 return AMEDIA_OK; in _readNextPacket() 930 if ((err = _readNextPacket(&packet, /* calcVorbisTimestamp = */ false)) != AMEDIA_OK) { in init() [all …]
|
/frameworks/av/media/extractors/aac/ |
D | AACExtractor.cpp | 195 return AMEDIA_OK; in getMetaData() 256 return AMEDIA_OK; in start() 263 return AMEDIA_OK; in stop() 318 return AMEDIA_OK; in read()
|
/frameworks/av/media/tests/benchmark/src/native/muxer/ |
D | Muxer.cpp | 48 return AMEDIA_OK; in initMuxer() 90 return AMEDIA_OK; in mux()
|
/frameworks/av/media/extractors/fuzzers/ |
D | ExtractorFuzzerBase.cpp | 78 if (status != AMEDIA_OK) { in extractTrack() 89 } while (status == AMEDIA_OK); in extractTrack() 151 if (status != AMEDIA_OK) { in seekAndExtractTrack()
|
/frameworks/av/media/extractors/mp3/ |
D | MP3Extractor.cpp | 433 return AMEDIA_OK; in getTrackMetaData() 480 return AMEDIA_OK; in start() 488 return AMEDIA_OK; in stop() 604 return AMEDIA_OK; in read() 618 return AMEDIA_OK; in getMetaData() 668 return AMEDIA_OK; in getMetaData()
|
/frameworks/av/media/extractors/mpeg2/ |
D | MPEG2PSExtractor.cpp | 114 if (track->getFormat(meta) != AMEDIA_OK) { in MPEG2PSExtractor() 157 return AMEDIA_OK; in getMetaData() 654 return AMEDIA_OK; in start() 665 return AMEDIA_OK; in stop() 681 return AMEDIA_OK; in getFormat() 746 return AMEDIA_OK; in read()
|
D | MPEG2TSExtractor.cpp | 95 return AMEDIA_OK; in start() 102 return AMEDIA_OK; in stop() 163 return AMEDIA_OK; in getFormat() 230 return AMEDIA_OK; in read() 279 return AMEDIA_OK; in getTrackMetaData() 284 return AMEDIA_OK; in getMetaData() 305 return AMEDIA_OK; in setMediaCas()
|
/frameworks/av/media/extractors/midi/ |
D | MidiExtractor.cpp | 97 return AMEDIA_OK; in start() 108 return AMEDIA_OK; in stop() 134 return buffer != NULL ? AMEDIA_OK : AMEDIA_ERROR_END_OF_STREAM; in read()
|
/frameworks/av/media/extractors/wav/ |
D | WAVExtractor.cpp | 127 return AMEDIA_OK; in getMetaData() 405 return AMEDIA_OK; in start() 415 return AMEDIA_OK; in stop() 574 return AMEDIA_OK; in read()
|
/frameworks/av/media/ndk/include/media/ |
D | NdkMediaError.h | 44 AMEDIA_OK = 0, enumerator
|
/frameworks/base/media/jni/soundpool/ |
D | SoundPool.cpp | 523 if (err != AMEDIA_OK) { in decode() 544 NULL /* window */, NULL /* drm */, 0 /* flags */) != AMEDIA_OK in decode() 545 || AMediaCodec_start(codec) != AMEDIA_OK in decode() 546 || AMediaExtractor_selectTrack(ex, i) != AMEDIA_OK) { in decode() 585 if (mstatus != AMEDIA_OK) { in decode() 620 if (mstatus != AMEDIA_OK) { in decode()
|
/frameworks/av/media/extractors/mkv/ |
D | MatroskaExtractor.cpp | 305 return AMEDIA_OK; in start() 311 return AMEDIA_OK; in stop() 848 return AMEDIA_OK; in readBlock() 865 return AMEDIA_OK; in findMP3Header() 872 return AMEDIA_OK; in findMP3Header() 876 return AMEDIA_OK; in findMP3Header() 901 return AMEDIA_OK; in findMP3Header() 1030 return AMEDIA_OK; in mp3FrameRead() 1087 if (getFormat(meta) == AMEDIA_OK && meta != NULL) { in read() 1106 return AMEDIA_OK; in read() [all …]
|
/frameworks/av/media/tests/benchmark/src/native/decoder/ |
D | Decoder.cpp | 81 if (AMEDIA_OK != status) { in onInputAvailable() 229 return AMEDIA_OK; in decode()
|