Home
last modified time | relevance | path

Searched refs:CHECK_EQ (Results 1 – 25 of 110) sorted by relevance

12345

/frameworks/av/cmds/stagefright/
Dcodec.cpp95 CHECK_EQ(err, (status_t)OK); in decode()
114 CHECK_EQ(err, (status_t)OK); in decode()
133 CHECK_EQ(err, (status_t)OK); in decode()
149 CHECK_EQ((status_t)OK, codec->start()); in decode()
151 CHECK_EQ((status_t)OK, codec->getInputBuffers(&state->mInBuffers)); in decode()
152 CHECK_EQ((status_t)OK, codec->getOutputBuffers(&state->mOutBuffers)); in decode()
181 CHECK_EQ(err, (status_t)OK); in decode()
186 CHECK_EQ(err, (status_t)OK); in decode()
197 CHECK_EQ(err, (status_t)OK); in decode()
201 CHECK_EQ(err, -EAGAIN); in decode()
[all …]
DSimplePlayer.cpp232 CHECK_EQ(onStop(), (status_t)OK); in onMessageReceived()
273 CHECK_EQ(mState, UNPREPARED); in onPrepare()
295 CHECK_EQ(err, (status_t)OK); in onPrepare()
311 CHECK_EQ(err, (status_t)OK); in onPrepare()
329 CHECK_EQ(err, (status_t)OK); in onPrepare()
344 CHECK_EQ(err, (status_t)OK); in onPrepare()
347 CHECK_EQ(err, (status_t)OK); in onPrepare()
350 CHECK_EQ(err, (status_t)OK); in onPrepare()
357 CHECK_EQ(err, (status_t)OK); in onPrepare()
371 CHECK_EQ(err, (status_t)OK); in onPrepare()
[all …]
Dmediafilter.cpp477 CHECK_EQ((status_t)OK, codec->start()); in decode()
479 CHECK_EQ((status_t)OK, codec->getInputBuffers(&state->mInBuffers)); in decode()
480 CHECK_EQ((status_t)OK, codec->getOutputBuffers(&state->mOutBuffers)); in decode()
486 CHECK_EQ((status_t)OK, filterState->mCodec->setParameters(params)); in decode()
498 CHECK_EQ((status_t)OK, filterState->mCodec->start()); in decode()
499 CHECK_EQ((status_t)OK, filterState->mCodec->getInputBuffers( in decode()
501 CHECK_EQ((status_t)OK, filterState->mCodec->getOutputBuffers( in decode()
557 CHECK_EQ(err, -EAGAIN); in decode()
580 CHECK_EQ(err, -EAGAIN); in decode()
616 CHECK_EQ((status_t)OK, state->mCodec->getOutputBuffers( in decode()
[all …]
Dmuxer.cpp103 CHECK_EQ(err, (status_t)OK); in muxing()
142 CHECK_EQ(err, (status_t)OK); in muxing()
177 CHECK_EQ(err, (status_t)OK); in muxing()
181 CHECK_EQ(err, (status_t)OK); in muxing()
185 CHECK_EQ(err, (status_t)OK); in muxing()
Dstagefright.cpp150 CHECK_EQ((status_t)OK, source->start()); in dumpSource()
168 CHECK_EQ( in dumpSource()
179 CHECK_EQ((status_t)OK, source->stop()); in dumpSource()
551 CHECK_EQ(writer->addSource( in writeSourcesToMP4()
558 CHECK_EQ(writer->start(params.get()), (status_t)OK); in writeSourcesToMP4()
567 CHECK_EQ((status_t)OK, source->start()); in performSeekTest()
620 CHECK_EQ((status_t)OK, source->stop()); in performSeekTest()
860 CHECK_EQ(res, 'b'); in main()
976 CHECK_EQ(retriever->setDataSource(fd, 0, fileSize), (status_t)OK); in main()
993 CHECK_EQ(writeJpegFile("/sdcard/out.jpg", in main()
[all …]
Dstream.cpp193 CHECK_EQ(mWriter->addSource(track), (status_t)OK); in MyConvertingStreamSource()
196 CHECK_EQ(mWriter->start(), (status_t)OK); in MyConvertingStreamSource()
319 CHECK_EQ(composerClient->initCheck(), (status_t)OK); in main()
325 CHECK_EQ(SurfaceComposerClient::getActiveDisplayMode(display, &mode), NO_ERROR); in main()
Daudioloop.cpp178 CHECK_EQ(decoder->start(), (status_t)OK); in main()
188 CHECK_EQ(decoder->stop(), (status_t)OK); in main()
/frameworks/av/media/libstagefright/rtsp/
DAMPEG4AudioAssembler.cpp139 CHECK_EQ(extensionFlag3, 0u); // TBD in version 3 in parseGASpecificConfig()
150 CHECK_EQ(parseAudioObjectType(bits, &audioObjectType), (status_t)OK); in parseAudioSpecificConfig()
169 CHECK_EQ(parseAudioObjectType(bits, &audioObjectType), (status_t)OK); in parseAudioSpecificConfig()
177 CHECK_EQ(parseGASpecificConfig( in parseAudioSpecificConfig()
189 CHECK_EQ(directMapping, 1u); in parseAudioSpecificConfig()
201 CHECK_EQ(parseAudioObjectType(bits, &extensionAudioObjectType), in parseAudioSpecificConfig()
269 CHECK_EQ(audioMuxVersionA, 0u); // otherwise future spec in parseStreamMuxConfig()
274 CHECK_EQ(audioMuxVersion, 0u); // XXX to be implemented in parseStreamMuxConfig()
277 CHECK_EQ(allStreamsSameTimeFraming, 1u); // There's only one stream. in parseStreamMuxConfig()
281 CHECK_EQ(numProgram, 0u); // disabled in RTP LATM in parseStreamMuxConfig()
[all …]
Drtp_test.cpp163 CHECK_EQ(session->setup(desc), (status_t)OK); in main()
175 CHECK_EQ(session->countTracks(), 1u); in main()
182 CHECK_EQ(decoder->start(), (status_t)OK); in main()
215 CHECK_EQ(decoder->stop(), (status_t)OK); in main()
DUDPPusher.cpp46 CHECK_EQ(0, bind(mSocket, (const struct sockaddr *)&addr, sizeof(addr))); in UDPPusher()
64 CHECK_EQ(fread(&timeMs, 1, sizeof(timeMs), mFile), sizeof(timeMs)); in start()
92 CHECK_EQ(n, (ssize_t)buffer->size()); in onPush()
138 CHECK_EQ(n, (ssize_t)buffer->size()); in onMessageReceived()
DMyTransmitter.h130 CHECK_EQ(mEncoder->read(&buffer), (status_t)OK); in MyTransmitter()
282 CHECK_EQ(value.c_str()[i + 6], '\"'); in authenticate()
303 CHECK_EQ((int)mAuthType, (int)DIGEST); in addAuthentication()
497 CHECK_EQ(sscanf(value.c_str(), "%u-%u", &rtpPort, &rtcpPort), 2); in onMessageReceived()
509 CHECK_EQ(0, connect(mRTPSocket, in onMessageReceived()
513 CHECK_EQ(0, connect(mRTCPSocket, in onMessageReceived()
633 CHECK_EQ(mEncoder->read(&mediaBuf), (status_t)OK); in onMessageReceived()
676 CHECK_EQ(n, (ssize_t)buffer->size()); in onMessageReceived()
729 CHECK_EQ(n, (ssize_t)buffer->size()); in onMessageReceived()
DASessionDescription.cpp245 CHECK_EQ(*end, '\0'); in getFormatType()
279 CHECK_EQ(*end, '-'); in getDimensions()
284 CHECK_EQ(*end, '\0'); in getDimensions()
332 CHECK_EQ(*end, '\0'); in ParseFormatDesc()
/frameworks/av/drm/mediadrm/plugins/clearkey/hidl/
Dservice.cpp40 CHECK_EQ(drmFactory->registerAsService("clearkey"), android::NO_ERROR) in main()
42 CHECK_EQ(cryptoFactory->registerAsService("clearkey"), android::NO_ERROR) in main()
DserviceLazy.cpp44 CHECK_EQ(serviceRegistrar.registerService(drmFactory, "clearkey"), android::NO_ERROR) in main()
46 CHECK_EQ(serviceRegistrar.registerService(cryptoFactory, "clearkey"), android::NO_ERROR) in main()
/frameworks/av/media/libstagefright/colorconversion/
DSoftwareRenderer.cpp195 CHECK_EQ(0, in resetFormatIfChanged()
201 CHECK_EQ(0, in resetFormatIfChanged()
207 CHECK_EQ(0, native_window_set_buffers_dimensions( in resetFormatIfChanged()
211 CHECK_EQ(0, native_window_set_buffers_format( in resetFormatIfChanged()
229 CHECK_EQ(0, native_window_set_crop(mNativeWindow.get(), &crop)); in resetFormatIfChanged()
244 CHECK_EQ(0, native_window_set_buffers_transform( in resetFormatIfChanged()
284 CHECK_EQ(0, mapper.lockYCbCr(buf->handle, in render()
288 CHECK_EQ(0, mapper.lock(buf->handle, in render()
422 CHECK_EQ(0, mapper.unlock(buf->handle)); in render()
/frameworks/wilhelm/tests/sandbox/
Dnativewindow.cpp32 #define CHECK_EQ(a,b) CHECK((a)==(b)) macro
50 CHECK_EQ(composerClient->initCheck(), (status_t)OK); in getNativeWindow_()
/frameworks/av/media/libstagefright/omx/
DSimpleSoftOMXComponent.cpp512 CHECK_EQ((int)state, (int)OMX_StateIdle); in onChangeState()
519 CHECK_EQ((int)state, (int)OMX_StateIdle); in onChangeState()
547 CHECK_EQ((int)port->mTransition, (int)PortInfo::NONE); in onPortEnable()
570 CHECK_EQ(port->mDef.eDir, OMX_DirOutput); in onPortEnable()
627 CHECK_EQ(port->mDef.eDir, OMX_DirOutput); in onPortFlush()
647 CHECK_EQ((int)mTargetState, (int)OMX_StateIdle); in checkTransitions()
661 CHECK_EQ((int)mState, (int)OMX_StateIdle); in checkTransitions()
675 CHECK_EQ((int)port.mDef.bPopulated, (int)OMX_TRUE); in checkTransitions()
677 CHECK_EQ((int)port.mDef.bPopulated, (int)OMX_FALSE); in checkTransitions()
727 CHECK_EQ(def.nPortIndex, mPorts.size()); in addPort()
/frameworks/av/media/libstagefright/omx/tests/
DOMXHarness.cpp182 CHECK_EQ(err, (status_t)OK); in dequeueMessageForNodeIgnoringBuffers()
343 CHECK_EQ(err, (status_t)TIMED_OUT); in testStateTransitions()
438 CHECK_EQ(err, (status_t)TIMED_OUT); in testStateTransitions()
446 CHECK_EQ(err, (status_t)TIMED_OUT); in testStateTransitions()
624 CHECK_EQ(seekSource->start(), (status_t)OK); in testSeek()
631 CHECK_EQ(codec->start(), (status_t)OK); in testSeek()
733 CHECK_EQ(err, (status_t)ERROR_END_OF_STREAM); in testSeek()
754 CHECK_EQ(codec->stop(), (status_t)OK); in testSeek()
764 CHECK_EQ(codec->stop(), (status_t)OK); in testSeek()
879 CHECK_EQ(h->initCheck(), (status_t)OK); in main()
/frameworks/base/startop/view_compiler/
Ddex_builder.cc423 CHECK_EQ(1, instruction.args().size()); in EncodeReturn()
434 CHECK_EQ(1, instruction.args().size()); in EncodeMove()
535 CHECK_EQ(2, args.size()); in EncodeBranch()
546 CHECK_EQ(Instruction::Op::kNew, instruction.opcode()); in EncodeNew()
549 CHECK_EQ(1, instruction.args().size()); in EncodeNew()
558 CHECK_EQ(Instruction::Op::kCheckCast, instruction.opcode()); in EncodeCast()
561 CHECK_EQ(1, instruction.args().size()); in EncodeCast()
575 CHECK_EQ(0, instruction.args().size()); in EncodeFieldOp()
584 CHECK_EQ(1, args.size()); in EncodeFieldOp()
593 CHECK_EQ(1, instruction.args().size()); in EncodeFieldOp()
[all …]
/frameworks/av/media/libstagefright/filters/
DMediaFilter.cpp388 CHECK_EQ((int)info->mStatus, (int)BufferInfo::OWNED_BY_US); in postFillThisBuffer()
403 CHECK_EQ((int)info->mStatus, (int)BufferInfo::OWNED_BY_US); in postDrainThisBuffer()
488 CHECK_EQ(mState, UNINITIALIZED); in onAllocateComponent()
514 CHECK_EQ(mState, INITIALIZED); in onConfigureComponent()
590 CHECK_EQ(mState, CONFIGURED); in onStart()
630 CHECK_EQ(info->mStatus, BufferInfo::OWNED_BY_US); in onInputBufferFilled()
635 CHECK_EQ(info->mStatus, BufferInfo::OWNED_BY_UPSTREAM); in onInputBufferFilled()
683 CHECK_EQ(info->mStatus, BufferInfo::OWNED_BY_US); in onOutputBufferDrained()
687 CHECK_EQ(info->mStatus, BufferInfo::OWNED_BY_UPSTREAM); in onOutputBufferDrained()
/frameworks/av/media/libstagefright/tests/writer/
DWriterUtility.cpp45 CHECK_EQ(inputStream.gcount(), size); in sendBuffersToWriter()
96 CHECK_EQ(inputStream.gcount(), size); in writeHeaderBuffers()
/frameworks/native/libs/vr/libbufferhubqueue/benchmarks/
Dbuffer_transport_benchmark.cpp439 CHECK_EQ(ret, 0); in SetUp()
486 CHECK_EQ(error, 0); in BENCHMARK_DEFINE_F()
488 CHECK_EQ(error, 0); in BENCHMARK_DEFINE_F()
501 CHECK_EQ(error, 0); in BENCHMARK_DEFINE_F()
511 CHECK_EQ(error, 0); in BENCHMARK_DEFINE_F()
/frameworks/av/media/libstagefright/foundation/include/media/stagefright/foundation/
DADebug.h83 #define CHECK_EQ(x,y) CHECK_OP(x,y,EQ,==) macro
99 #define CHECK_EQ_DBG CHECK_EQ
/frameworks/av/media/libstagefright/foundation/
DMediaBuffer.cpp97 CHECK_EQ(mRefCount, 0); in release()
116 CHECK_EQ(mRefCount.load(std::memory_order_relaxed), 1); in claim()
/frameworks/av/media/libstagefright/
DJPEGSource.cpp63 CHECK_EQ(parseJPEG(), (status_t)OK); in JPEGSource()
165 CHECK_EQ(marker, 0xff); in parseJPEG()

12345