/cts/tests/media/jni/ |
D | NativeExtractorUnitTest.cpp | 53 static jboolean nativeTestSelectTrackForInvalidIndex(JNIEnv* env, jobject, jstring jsrcPath) { in nativeTestSelectTrackForInvalidIndex() argument 55 const char* csrcPath = env->GetStringUTFChars(jsrcPath, nullptr); in nativeTestSelectTrackForInvalidIndex() 69 env->ReleaseStringUTFChars(jsrcPath, csrcPath); in nativeTestSelectTrackForInvalidIndex() 73 static jboolean nativeTestIdempotentSelectTrack(JNIEnv* env, jobject, jstring jsrcPath) { in nativeTestIdempotentSelectTrack() argument 75 const char* csrcPath = env->GetStringUTFChars(jsrcPath, nullptr); in nativeTestIdempotentSelectTrack() 85 env->ReleaseStringUTFChars(jsrcPath, csrcPath); in nativeTestIdempotentSelectTrack() 97 static jboolean nativeTestUnselectTrackForInvalidIndex(JNIEnv* env, jobject, jstring jsrcPath) { in nativeTestUnselectTrackForInvalidIndex() argument 99 const char* csrcPath = env->GetStringUTFChars(jsrcPath, nullptr); in nativeTestUnselectTrackForInvalidIndex() 113 env->ReleaseStringUTFChars(jsrcPath, csrcPath); in nativeTestUnselectTrackForInvalidIndex() 118 jstring jsrcPath) { in nativeTestUnselectTrackForUnSelectedTrackIndex() argument [all …]
|
D | NativeMuxerTest.cpp | 546 static jboolean nativeTestSetLocation(JNIEnv* env, jobject, jint jformat, jstring jsrcPath, in nativeTestSetLocation() argument 599 const char* csrcPath = env->GetStringUTFChars(jsrcPath, nullptr); in nativeTestSetLocation() 622 env->ReleaseStringUTFChars(jsrcPath, csrcPath); in nativeTestSetLocation() 636 static jboolean nativeTestSetOrientationHint(JNIEnv* env, jobject, jint jformat, jstring jsrcPath, in nativeTestSetOrientationHint() argument 667 const char* csrcPath = env->GetStringUTFChars(jsrcPath, nullptr); in nativeTestSetOrientationHint() 690 env->ReleaseStringUTFChars(jsrcPath, csrcPath); in nativeTestSetOrientationHint() 791 static jboolean nativeTestOffsetPts(JNIEnv* env, jobject, jint format, jstring jsrcPath, in nativeTestOffsetPts() argument 799 const char* csrcPath = env->GetStringUTFChars(jsrcPath, nullptr); in nativeTestOffsetPts() 835 env->ReleaseStringUTFChars(jsrcPath, csrcPath); in nativeTestOffsetPts() 849 static jboolean nativeTestSimpleMux(JNIEnv* env, jobject, jstring jsrcPath, jstring jdstPath, in nativeTestSimpleMux() argument [all …]
|
D | NativeExtractorTest.cpp | 516 static jlong nativeReadAllData(JNIEnv* env, jobject, jstring jsrcPath, jstring jMediaType, in nativeReadAllData() argument 522 const char* csrcPath = env->GetStringUTFChars(jsrcPath, nullptr); in nativeReadAllData() 540 env->ReleaseStringUTFChars(jsrcPath, csrcPath); in nativeReadAllData() 643 env->ReleaseStringUTFChars(jsrcPath, csrcPath); in nativeReadAllData() 651 static jboolean nativeTestExtract(JNIEnv* env, jobject, jstring jsrcPath, jstring jrefPath, in nativeTestExtract() argument 654 const char* csrcPath = env->GetStringUTFChars(jsrcPath, nullptr); in nativeTestExtract() 672 env->ReleaseStringUTFChars(jsrcPath, csrcPath); in nativeTestExtract() 677 static jboolean nativeTestSeek(JNIEnv* env, jobject, jstring jsrcPath, jstring jMediaType) { in nativeTestSeek() argument 679 const char* csrcPath = env->GetStringUTFChars(jsrcPath, nullptr); in nativeTestSeek() 700 env->ReleaseStringUTFChars(jsrcPath, csrcPath); in nativeTestSeek() [all …]
|
D | NativeCodecEncoderTest.cpp | 675 static jboolean nativeTestSimpleEncode(JNIEnv* env, jobject, jstring jEncoder, jstring jsrcPath, in nativeTestSimpleEncode() argument 678 const char* csrcPath = env->GetStringUTFChars(jsrcPath, nullptr); in nativeTestSimpleEncode() 695 env->ReleaseStringUTFChars(jsrcPath, csrcPath); in nativeTestSimpleEncode() 699 static jboolean nativeTestReconfigure(JNIEnv* env, jobject, jstring jEncoder, jstring jsrcPath, in nativeTestReconfigure() argument 704 const char* csrcPath = env->GetStringUTFChars(jsrcPath, nullptr); in nativeTestReconfigure() 728 env->ReleaseStringUTFChars(jsrcPath, csrcPath); in nativeTestReconfigure() 733 jstring jsrcPath, jstring jMediaType, in nativeTestSetForceSyncFrame() argument 736 const char* csrcPath = env->GetStringUTFChars(jsrcPath, nullptr); in nativeTestSetForceSyncFrame() 753 env->ReleaseStringUTFChars(jsrcPath, csrcPath); in nativeTestSetForceSyncFrame() 757 static jboolean nativeTestAdaptiveBitRate(JNIEnv* env, jobject, jstring jEncoder, jstring jsrcPath, in nativeTestAdaptiveBitRate() argument [all …]
|