Home
last modified time | relevance | path

Searched refs:csrcPath (Results 1 – 4 of 4) sorted by relevance

/cts/tests/media/jni/
DNativeExtractorUnitTest.cpp55 const char* csrcPath = env->GetStringUTFChars(jsrcPath, nullptr); in nativeTestSelectTrackForInvalidIndex() local
57 FILE* srcFp = fopen(csrcPath, "rbe"); in nativeTestSelectTrackForInvalidIndex()
69 env->ReleaseStringUTFChars(jsrcPath, csrcPath); in nativeTestSelectTrackForInvalidIndex()
75 const char* csrcPath = env->GetStringUTFChars(jsrcPath, nullptr); in nativeTestIdempotentSelectTrack() local
77 FILE* srcFp = fopen(csrcPath, "rbe"); in nativeTestIdempotentSelectTrack()
85 env->ReleaseStringUTFChars(jsrcPath, csrcPath); in nativeTestIdempotentSelectTrack()
99 const char* csrcPath = env->GetStringUTFChars(jsrcPath, nullptr); in nativeTestUnselectTrackForInvalidIndex() local
101 FILE* srcFp = fopen(csrcPath, "rbe"); in nativeTestUnselectTrackForInvalidIndex()
113 env->ReleaseStringUTFChars(jsrcPath, csrcPath); in nativeTestUnselectTrackForInvalidIndex()
120 const char* csrcPath = env->GetStringUTFChars(jsrcPath, nullptr); in nativeTestUnselectTrackForUnSelectedTrackIndex() local
[all …]
DNativeExtractorTest.cpp507 const char* csrcPath = env->GetStringUTFChars(jsrcPath, nullptr); in nativeTestExtract() local
510 FILE* srcFp = fopen(csrcPath, "rbe"); in nativeTestExtract()
525 env->ReleaseStringUTFChars(jsrcPath, csrcPath); in nativeTestExtract()
532 const char* csrcPath = env->GetStringUTFChars(jsrcPath, nullptr); in nativeTestSeek() local
534 std::vector<SeekTestParams*> seekTestArgs = generateSeekTestArgs(csrcPath, cmime, false); in nativeTestSeek()
537 int seekAccErrCnt = checkSeekPoints(csrcPath, cmime, seekTestArgs); in nativeTestSeek()
539 ALOGE("For %s seek chose inaccurate Sync point in: %d / %d", csrcPath, seekAccErrCnt, in nativeTestSeek()
553 env->ReleaseStringUTFChars(jsrcPath, csrcPath); in nativeTestSeek()
559 const char* csrcPath = env->GetStringUTFChars(jsrcPath, nullptr); in nativeTestSeekFlakiness() local
561 std::vector<SeekTestParams*> seekTestArgs = generateSeekTestArgs(csrcPath, cmime, true); in nativeTestSeekFlakiness()
[all …]
DNativeMuxerTest.cpp405 const char* csrcPath = env->GetStringUTFChars(jsrcPath, nullptr); in nativeTestSetLocation() local
406 auto* mediaInfo = new MuxerNativeTestHelper(csrcPath); in nativeTestSetLocation()
428 env->ReleaseStringUTFChars(jsrcPath, csrcPath); in nativeTestSetLocation()
470 const char* csrcPath = env->GetStringUTFChars(jsrcPath, nullptr); in nativeTestSetOrientationHint() local
471 auto* mediaInfo = new MuxerNativeTestHelper(csrcPath); in nativeTestSetOrientationHint()
493 env->ReleaseStringUTFChars(jsrcPath, csrcPath); in nativeTestSetOrientationHint()
599 const char* csrcPath = env->GetStringUTFChars(jsrcPath, nullptr); in nativeTestOffsetPts() local
601 auto* mediaInfo = new MuxerNativeTestHelper(csrcPath); in nativeTestOffsetPts()
629 ALOGE("no valid track found in input file %s", csrcPath); in nativeTestOffsetPts()
632 env->ReleaseStringUTFChars(jsrcPath, csrcPath); in nativeTestOffsetPts()
[all …]
DNativeCodecEncoderTest.cpp862 const char* csrcPath = env->GetStringUTFChars(jsrcPath, nullptr); in nativeTestSimpleEncode() local
873 bool isPass = codecEncoderTest->testSimpleEncode(cEncoder, csrcPath); in nativeTestSimpleEncode()
880 env->ReleaseStringUTFChars(jsrcPath, csrcPath); in nativeTestSimpleEncode()
887 const char* csrcPath = env->GetStringUTFChars(jsrcPath, nullptr); in nativeTestFlush() local
898 bool isPass = codecEncoderTest->testFlush(cEncoder, csrcPath); in nativeTestFlush()
905 env->ReleaseStringUTFChars(jsrcPath, csrcPath); in nativeTestFlush()
913 const char* csrcPath = env->GetStringUTFChars(jsrcPath, nullptr); in nativeTestReconfigure() local
924 isPass = codecEncoderTest->testReconfigure(cEncoder, csrcPath); in nativeTestReconfigure()
931 env->ReleaseStringUTFChars(jsrcPath, csrcPath); in nativeTestReconfigure()
938 const char* csrcPath = env->GetStringUTFChars(jsrcPath, nullptr); in nativeTestSetForceSyncFrame() local
[all …]