/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 | NativeExtractorTest.cpp | 504 static jboolean nativeTestExtract(JNIEnv* env, jobject, jstring jsrcPath, jstring jrefPath, in nativeTestExtract() argument 507 const char* csrcPath = env->GetStringUTFChars(jsrcPath, nullptr); in nativeTestExtract() 525 env->ReleaseStringUTFChars(jsrcPath, csrcPath); in nativeTestExtract() 530 static jboolean nativeTestSeek(JNIEnv* env, jobject, jstring jsrcPath, jstring jmime) { in nativeTestSeek() argument 532 const char* csrcPath = env->GetStringUTFChars(jsrcPath, nullptr); in nativeTestSeek() 553 env->ReleaseStringUTFChars(jsrcPath, csrcPath); in nativeTestSeek() 557 static jboolean nativeTestSeekFlakiness(JNIEnv* env, jobject, jstring jsrcPath, jstring jmime) { in nativeTestSeekFlakiness() argument 559 const char* csrcPath = env->GetStringUTFChars(jsrcPath, nullptr); in nativeTestSeekFlakiness() 579 env->ReleaseStringUTFChars(jsrcPath, csrcPath); in nativeTestSeekFlakiness() 583 static jboolean nativeTestSeekToZero(JNIEnv* env, jobject, jstring jsrcPath, jstring jmime) { in nativeTestSeekToZero() argument [all …]
|
D | NativeMuxerTest.cpp | 352 static jboolean nativeTestSetLocation(JNIEnv* env, jobject, jint jformat, jstring jsrcPath, in nativeTestSetLocation() argument 405 const char* csrcPath = env->GetStringUTFChars(jsrcPath, nullptr); in nativeTestSetLocation() 428 env->ReleaseStringUTFChars(jsrcPath, csrcPath); in nativeTestSetLocation() 439 static jboolean nativeTestSetOrientationHint(JNIEnv* env, jobject, jint jformat, jstring jsrcPath, in nativeTestSetOrientationHint() argument 470 const char* csrcPath = env->GetStringUTFChars(jsrcPath, nullptr); in nativeTestSetOrientationHint() 493 env->ReleaseStringUTFChars(jsrcPath, csrcPath); in nativeTestSetOrientationHint() 593 static jboolean nativeTestOffsetPts(JNIEnv* env, jobject, jint format, jstring jsrcPath, in nativeTestOffsetPts() argument 599 const char* csrcPath = env->GetStringUTFChars(jsrcPath, nullptr); in nativeTestOffsetPts() 632 env->ReleaseStringUTFChars(jsrcPath, csrcPath); in nativeTestOffsetPts() 638 static jboolean nativeTestSimpleMux(JNIEnv* env, jobject, jstring jsrcPath, jstring jdstPath, in nativeTestSimpleMux() argument [all …]
|
D | NativeCodecEncoderTest.cpp | 859 static jboolean nativeTestSimpleEncode(JNIEnv* env, jobject, jstring jEncoder, jstring jsrcPath, in nativeTestSimpleEncode() argument 862 const char* csrcPath = env->GetStringUTFChars(jsrcPath, nullptr); in nativeTestSimpleEncode() 880 env->ReleaseStringUTFChars(jsrcPath, csrcPath); in nativeTestSimpleEncode() 884 static jboolean nativeTestFlush(JNIEnv* env, jobject, jstring jEncoder, jstring jsrcPath, in nativeTestFlush() argument 887 const char* csrcPath = env->GetStringUTFChars(jsrcPath, nullptr); in nativeTestFlush() 905 env->ReleaseStringUTFChars(jsrcPath, csrcPath); in nativeTestFlush() 909 static jboolean nativeTestReconfigure(JNIEnv* env, jobject, jstring jEncoder, jstring jsrcPath, in nativeTestReconfigure() argument 913 const char* csrcPath = env->GetStringUTFChars(jsrcPath, nullptr); in nativeTestReconfigure() 931 env->ReleaseStringUTFChars(jsrcPath, csrcPath); in nativeTestReconfigure() 936 jstring jsrcPath, jstring jMime, jintArray jList0, in nativeTestSetForceSyncFrame() argument [all …]
|