Home
last modified time | relevance | path

Searched refs:CHECK_EQ (Results 1 – 25 of 119) 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.cpp476 CHECK_EQ((status_t)OK, codec->start()); in decode()
478 CHECK_EQ((status_t)OK, codec->getInputBuffers(&state->mInBuffers)); in decode()
479 CHECK_EQ((status_t)OK, codec->getOutputBuffers(&state->mOutBuffers)); in decode()
485 CHECK_EQ((status_t)OK, filterState->mCodec->setParameters(params)); in decode()
497 CHECK_EQ((status_t)OK, filterState->mCodec->start()); in decode()
498 CHECK_EQ((status_t)OK, filterState->mCodec->getInputBuffers( in decode()
500 CHECK_EQ((status_t)OK, filterState->mCodec->getOutputBuffers( in decode()
556 CHECK_EQ(err, -EAGAIN); in decode()
579 CHECK_EQ(err, -EAGAIN); in decode()
615 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::getDisplayInfo(display, &info), NO_ERROR); 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()
DARTPWriter.cpp71 CHECK_EQ(0, ntohs(mRTPAddr.sin_port) & 1); in ARTPWriter()
194 CHECK_EQ(mSource->start(), (status_t)OK); in onMessageReceived()
199 CHECK_EQ(mSource->read(&buffer), (status_t)OK); in onMessageReceived()
223 CHECK_EQ(mSource->stop(), (status_t)OK); in onMessageReceived()
317 CHECK_EQ(n, (ssize_t)buffer->size()); in send()
481 CHECK_EQ(numChannels, 1); in dumpSessionDesc()
482 CHECK_EQ(sampleRate, (mMode == AMR_NB) ? 8000 : 16000); in dumpSessionDesc()
545 CHECK_EQ((unsigned)data[0], 0x67u); in makeH264SPropParamSets()
681 CHECK_EQ((unsigned)mediaData[0], 0u); in sendH263Data()
682 CHECK_EQ((unsigned)mediaData[1], 0u); in sendH263Data()
[all …]
DASessionDescription.cpp210 CHECK_EQ(*end, '\0'); in getFormatType()
244 CHECK_EQ(*end, '-'); in getDimensions()
249 CHECK_EQ(*end, '\0'); in getDimensions()
297 CHECK_EQ(*end, '\0'); in ParseFormatDesc()
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()
/frameworks/ml/nn/runtime/
DModelArgumentInfo.h54 CHECK_EQ(mState, POINTER); in buffer()
82 CHECK_EQ(mState, MEMORY); in locationAndLength()
86 CHECK_EQ(mState, MEMORY); in locationAndLength()
/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/av/media/libstagefright/omx/
DSimpleSoftOMXComponent.cpp495 CHECK_EQ((int)state, (int)OMX_StateIdle); in onChangeState()
502 CHECK_EQ((int)state, (int)OMX_StateIdle); in onChangeState()
530 CHECK_EQ((int)port->mTransition, (int)PortInfo::NONE); in onPortEnable()
553 CHECK_EQ(port->mDef.eDir, OMX_DirOutput); in onPortEnable()
610 CHECK_EQ(port->mDef.eDir, OMX_DirOutput); in onPortFlush()
630 CHECK_EQ((int)mTargetState, (int)OMX_StateIdle); in checkTransitions()
644 CHECK_EQ((int)mState, (int)OMX_StateIdle); in checkTransitions()
658 CHECK_EQ((int)port.mDef.bPopulated, (int)OMX_TRUE); in checkTransitions()
660 CHECK_EQ((int)port.mDef.bPopulated, (int)OMX_FALSE); in checkTransitions()
710 CHECK_EQ(def.nPortIndex, mPorts.size()); in addPort()
/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/filters/
DMediaFilter.cpp285 CHECK_EQ((int)info->mStatus, (int)BufferInfo::OWNED_BY_US); in postFillThisBuffer()
300 CHECK_EQ((int)info->mStatus, (int)BufferInfo::OWNED_BY_US); in postDrainThisBuffer()
385 CHECK_EQ(mState, UNINITIALIZED); in onAllocateComponent()
412 CHECK_EQ(mState, INITIALIZED); in onConfigureComponent()
487 CHECK_EQ(mState, CONFIGURED); in onStart()
525 CHECK_EQ(info->mStatus, BufferInfo::OWNED_BY_US); in onInputBufferFilled()
530 CHECK_EQ(info->mStatus, BufferInfo::OWNED_BY_UPSTREAM); in onInputBufferFilled()
597 CHECK_EQ(info->mStatus, BufferInfo::OWNED_BY_US); in onOutputBufferDrained()
601 CHECK_EQ(info->mStatus, BufferInfo::OWNED_BY_UPSTREAM); in onOutputBufferDrained()
/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/tests/
DOMXHarness.cpp182 CHECK_EQ(err, (status_t)OK); in dequeueMessageForNodeIgnoringBuffers()
332 CHECK_EQ(err, (status_t)TIMED_OUT); in testStateTransitions()
427 CHECK_EQ(err, (status_t)TIMED_OUT); in testStateTransitions()
435 CHECK_EQ(err, (status_t)TIMED_OUT); in testStateTransitions()
613 CHECK_EQ(seekSource->start(), (status_t)OK); in testSeek()
620 CHECK_EQ(codec->start(), (status_t)OK); in testSeek()
722 CHECK_EQ(err, (status_t)ERROR_END_OF_STREAM); in testSeek()
743 CHECK_EQ(codec->stop(), (status_t)OK); in testSeek()
753 CHECK_EQ(codec->stop(), (status_t)OK); in testSeek()
868 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/ml/nn/extensions/
DREADME.md108 CHECK_EQ(ANeuralNetworksDevice_getExtensionSupport(device, EXAMPLE_EXTENSION_NAME, &isExtensionSupp…
121 CHECK_EQ(ANeuralNetworksModel_getExtensionOperandType(model, EXAMPLE_EXTENSION_NAME, EXAMPLE_TENSOR…
128 CHECK_EQ(ANeuralNetworksModel_addOperand(model, &operandType), ANEURALNETWORKS_NO_ERROR);
140 CHECK_EQ(ANeuralNetworksModel_setOperandExtensionData(model, operandIndex, &params, sizeof(params)),
151 CHECK_EQ(ANeuralNetworksModel_getExtensionOperationType(model, EXAMPLE_EXTENSION_NAME, EXAMPLE_FUNC…
153 CHECK_EQ(ANeuralNetworksModel_addOperation(model, type, inputCount, inputs, outputCount, outputs),
/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/
DMediaBuffer.cpp97 CHECK_EQ(mRefCount, 0); in release()
116 CHECK_EQ(mRefCount.load(std::memory_order_relaxed), 1); in claim()

12345