Searched refs:csrcPath (Results 1 – 4 of 4) sorted by relevance
/cts/tests/media/jni/ |
D | NativeExtractorUnitTest.cpp | 55 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 …]
|
D | NativeMuxerTest.cpp | 599 const char* csrcPath = env->GetStringUTFChars(jsrcPath, nullptr); in nativeTestSetLocation() local 600 auto* mediaInfo = new MuxerNativeTestHelper(csrcPath); in nativeTestSetLocation() 622 env->ReleaseStringUTFChars(jsrcPath, csrcPath); in nativeTestSetLocation() 667 const char* csrcPath = env->GetStringUTFChars(jsrcPath, nullptr); in nativeTestSetOrientationHint() local 668 auto* mediaInfo = new MuxerNativeTestHelper(csrcPath); in nativeTestSetOrientationHint() 690 env->ReleaseStringUTFChars(jsrcPath, csrcPath); in nativeTestSetOrientationHint() 799 const char* csrcPath = env->GetStringUTFChars(jsrcPath, nullptr); in nativeTestOffsetPts() local 801 auto* mediaInfo = new MuxerNativeTestHelper(csrcPath); in nativeTestOffsetPts() 832 ALOGE("no valid track found in input file %s", csrcPath); in nativeTestOffsetPts() 835 env->ReleaseStringUTFChars(jsrcPath, csrcPath); in nativeTestOffsetPts() [all …]
|
D | NativeExtractorTest.cpp | 522 const char* csrcPath = env->GetStringUTFChars(jsrcPath, nullptr); in nativeReadAllData() local 529 isPass = createExtractorFromUrl(env, jkeys, jvalues, &extractor, &dataSource, csrcPath); in nativeReadAllData() 531 srcFp = fopen(csrcPath, "rbe"); in nativeReadAllData() 540 env->ReleaseStringUTFChars(jsrcPath, csrcPath); in nativeReadAllData() 643 env->ReleaseStringUTFChars(jsrcPath, csrcPath); in nativeReadAllData() 654 const char* csrcPath = env->GetStringUTFChars(jsrcPath, nullptr); in nativeTestExtract() local 657 FILE* srcFp = fopen(csrcPath, "rbe"); in nativeTestExtract() 672 env->ReleaseStringUTFChars(jsrcPath, csrcPath); in nativeTestExtract() 679 const char* csrcPath = env->GetStringUTFChars(jsrcPath, nullptr); in nativeTestSeek() local 681 std::vector<SeekTestParams*> seekTestArgs = generateSeekTestArgs(csrcPath, cMediaType, false); in nativeTestSeek() [all …]
|
D | NativeCodecEncoderTest.cpp | 678 const char* csrcPath = env->GetStringUTFChars(jsrcPath, nullptr); in nativeTestSimpleEncode() local 684 bool isPass = codecEncoderTest->testSimpleEncode(cEncoder, csrcPath); in nativeTestSimpleEncode() 695 env->ReleaseStringUTFChars(jsrcPath, csrcPath); in nativeTestSimpleEncode() 704 const char* csrcPath = env->GetStringUTFChars(jsrcPath, nullptr); in nativeTestReconfigure() local 714 isPass = codecEncoderTest->testReconfigure(cEncoder, csrcPath); in nativeTestReconfigure() 728 env->ReleaseStringUTFChars(jsrcPath, csrcPath); in nativeTestReconfigure() 736 const char* csrcPath = env->GetStringUTFChars(jsrcPath, nullptr); in nativeTestSetForceSyncFrame() local 742 bool isPass = codecEncoderTest->testSetForceSyncFrame(cEncoder, csrcPath); in nativeTestSetForceSyncFrame() 753 env->ReleaseStringUTFChars(jsrcPath, csrcPath); in nativeTestSetForceSyncFrame() 760 const char* csrcPath = env->GetStringUTFChars(jsrcPath, nullptr); in nativeTestAdaptiveBitRate() local [all …]
|