Home
last modified time | relevance | path

Searched refs:isPass (Results 1 – 8 of 8) sorted by relevance

/cts/tests/media/jni/
DNativeExtractorUnitTest.cpp39 bool isPass = (0 == AMediaExtractor_getTrackCount(extractor)); in nativeTestGetTrackCountBeforeSetDataSource() local
40 if (!isPass) ALOGE("error: received valid trackCount before setDataSource"); in nativeTestGetTrackCountBeforeSetDataSource()
42 return static_cast<jboolean>(isPass); in nativeTestGetTrackCountBeforeSetDataSource()
47 bool isPass = (AMEDIA_OK != AMediaExtractor_selectTrack(extractor, 0)); in nativeTestSelectTrackBeforeSetDataSource() local
48 if (!isPass) ALOGE("error: selectTrack succeeds before setDataSource"); in nativeTestSelectTrackBeforeSetDataSource()
50 return static_cast<jboolean>(isPass); in nativeTestSelectTrackBeforeSetDataSource()
54 bool isPass = false; in nativeTestSelectTrackForInvalidIndex() local
61 isPass = true; in nativeTestSelectTrackForInvalidIndex()
70 return static_cast<jboolean>(isPass); in nativeTestSelectTrackForInvalidIndex()
74 bool isPass = false; in nativeTestIdempotentSelectTrack() local
[all …]
DNativeMuxerUnitTest.cpp51 bool isPass = true; in nativeTestIfInvalidFdIsRejected() local
55 isPass = false; in nativeTestIfInvalidFdIsRejected()
57 return static_cast<jboolean>(isPass); in nativeTestIfInvalidFdIsRejected()
64 bool isPass = true; in nativeTestIfReadOnlyFdIsRejected() local
68 isPass = false; in nativeTestIfReadOnlyFdIsRejected()
72 return static_cast<jboolean>(isPass); in nativeTestIfReadOnlyFdIsRejected()
79 bool isPass = true; in nativeTestIfWriteOnlyFdIsRejected() local
83 isPass = false; in nativeTestIfWriteOnlyFdIsRejected()
87 return static_cast<jboolean>(isPass); in nativeTestIfWriteOnlyFdIsRejected()
95 bool isPass = true; in nativeTestIfNonSeekableFdIsRejected() local
[all …]
DNativeCodecUnitTest.cpp142 bool isPass = true; in setupCodec() local
150 isPass = false; in setupCodec()
152 return isPass; in setupCodec()
213 bool isPass = true; in testConfigureCodecForIncompleteFormat() local
218 if (!isPass) break; in testConfigureCodecForIncompleteFormat()
223 isPass = false; in testConfigureCodecForIncompleteFormat()
231 isPass = false; in testConfigureCodecForIncompleteFormat()
235 return isPass; in testConfigureCodecForIncompleteFormat()
241 bool isPass = true; in testConfigureCodecForBadFlags() local
244 isPass = false; in testConfigureCodecForBadFlags()
[all …]
DNativeCodecDecoderTest.cpp288 bool isPass = true; in testSimpleDecode() local
296 if (!isPass) break; in testSimpleDecode()
298 if (!isPass) break; in testSimpleDecode()
341 CHECK_ERR(hasSeenError(), log, "has seen error", isPass); in testSimpleDecode()
342 CHECK_ERR((0 == mInputCount), log, "queued 0 inputs", isPass); in testSimpleDecode()
343 CHECK_ERR((0 == mOutputCount), log, "received 0 outputs", isPass); in testSimpleDecode()
344 CHECK_ERR(loopCounter != 0 && (!ref->equals(test)), log, "output is flaky", isPass); in testSimpleDecode()
347 log, "pts is not strictly increasing", isPass); in testSimpleDecode()
350 log, "input pts list and output pts list are not identical", isPass); in testSimpleDecode()
355 isPass = false; in testSimpleDecode()
[all …]
DNativeCodecEncoderTest.cpp388 bool isPass = true; in testSimpleEncode() local
398 for (int i = 0; i < mFormats.size() && isPass; i++) { in testSimpleEncode()
403 if (!isPass) break; in testSimpleEncode()
405 if (!isPass) break; in testSimpleEncode()
420 isPass = false; in testSimpleEncode()
443 CHECK_ERR((hasSeenError()), log, "has seen error", isPass); in testSimpleEncode()
444 CHECK_ERR((0 == mInputCount), log, "queued 0 inputs", isPass); in testSimpleEncode()
445 CHECK_ERR((0 == mOutputCount), log, "received 0 outputs", isPass); in testSimpleEncode()
447 "input cnt != output cnt", isPass); in testSimpleEncode()
448 CHECK_ERR((loopCounter != 0 && !ref->equals(test)), log, "output is flaky", isPass); in testSimpleEncode()
[all …]
DNativeMuxerTest.cpp354 bool isPass = true; in nativeTestSetLocation() local
370 isPass = false; in nativeTestSetLocation()
375 isPass = false; in nativeTestSetLocation()
380 isPass = false; in nativeTestSetLocation()
385 isPass = false; in nativeTestSetLocation()
390 isPass = false; in nativeTestSetLocation()
398 isPass = false; in nativeTestSetLocation()
402 isPass &= ((MuxerFormat)jformat != OUTPUT_FORMAT_MPEG_4 && in nativeTestSetLocation()
410 isPass = false; in nativeTestSetLocation()
416 isPass = false; in nativeTestSetLocation()
[all …]
DNativeExtractorTest.cpp506 bool isPass = false; in nativeTestExtract() local
515 isPass = isMediaSimilar(srcExtractor, testExtractor, cmime); in nativeTestExtract()
516 if (!isPass) { in nativeTestExtract()
527 return static_cast<jboolean>(isPass); in nativeTestExtract()
531 bool isPass = false; in nativeTestSeek() local
541 isPass = false; in nativeTestSeek()
543 isPass = true; in nativeTestSeek()
554 return static_cast<jboolean>(isPass); in nativeTestSeek()
558 bool isPass = false; in nativeTestSeekFlakiness() local
567 isPass = false; in nativeTestSeekFlakiness()
[all …]
DNativeCodecEncoderSurfaceTest.cpp458 bool isPass = true; in testSimpleEncode() local
474 if (!isPass) break; in testSimpleEncode()
486 isPass = false; in testSimpleEncode()
524 CHECK_ERR((hasSeenError()), log, "has seen error", isPass); in testSimpleEncode()
525 CHECK_ERR((0 == mDecInputCount), log, "no input sent", isPass); in testSimpleEncode()
526 CHECK_ERR((0 == mDecOutputCount), log, "no decoder output received", isPass); in testSimpleEncode()
527 CHECK_ERR((0 == mEncOutputCount), log, "no encoder output received", isPass); in testSimpleEncode()
529 isPass); in testSimpleEncode()
541 "Ref pts is not strictly increasing", isPass); in testSimpleEncode()
543 "Test pts is not strictly increasing", isPass); in testSimpleEncode()
[all …]