Lines Matching refs:env

37 android_media_MediaProfiles_native_init(JNIEnv *env)
48 android_media_MediaProfiles_native_get_num_file_formats(JNIEnv *env, jobject thiz)
55 android_media_MediaProfiles_native_get_file_format(JNIEnv *env, jobject thiz, jint index)
61 jniThrowException(env, "java/lang/IllegalArgumentException", "out of array boundary");
68 android_media_MediaProfiles_native_get_num_video_encoders(JNIEnv *env, jobject thiz)
75 android_media_MediaProfiles_native_get_video_encoder_cap(JNIEnv *env, jobject thiz, jint index)
81 jniThrowException(env, "java/lang/IllegalArgumentException", "out of array boundary");
101 jniThrowException(env, "java/lang/RuntimeException", "Error retrieving video encoder capability params");
106 jclass videoEncoderCapClazz = env->FindClass("android/media/EncoderCapabilities$VideoEncoderCap");
107 jmethodID videoEncoderCapConstructorMethodID = env->GetMethodID(videoEncoderCapClazz, "<init>", "(IIIIIIIII)V");
108 jobject cap = env->NewObject(videoEncoderCapClazz,
119 android_media_MediaProfiles_native_get_num_audio_encoders(JNIEnv *env, jobject thiz)
126 android_media_MediaProfiles_native_get_audio_encoder_cap(JNIEnv *env, jobject thiz, jint index)
132 jniThrowException(env, "java/lang/IllegalArgumentException", "out of array boundary");
149 jniThrowException(env, "java/lang/RuntimeException", "Error retrieving video encoder capability params");
153 jclass audioEncoderCapClazz = env->FindClass("android/media/EncoderCapabilities$AudioEncoderCap");
154 jmethodID audioEncoderCapConstructorMethodID = env->GetMethodID(audioEncoderCapClazz, "<init>", "(IIIIIII)V");
155 jobject cap = env->NewObject(audioEncoderCapClazz,
173 android_media_MediaProfiles_native_get_camcorder_profile(JNIEnv *env, jobject thiz, jint id, jint quality)
177 jniThrowException(env, "java/lang/RuntimeException", "Unknown camcorder profile quality");
199 jniThrowException(env, "java/lang/RuntimeException", "Error retrieving camcorder profile params");
203 jclass camcorderProfileClazz = env->FindClass("android/media/CamcorderProfile");
204 jmethodID camcorderProfileConstructorMethodID = env->GetMethodID(camcorderProfileClazz, "<init>", "(IIIIIIIIIIII)V");
205 return env->NewObject(camcorderProfileClazz,
222 android_media_MediaProfiles_native_has_camcorder_profile(JNIEnv *env, jobject thiz, jint id, jint quality)
234 android_media_MediaProfiles_native_get_num_video_decoders(JNIEnv *env, jobject thiz)
241 android_media_MediaProfiles_native_get_video_decoder_type(JNIEnv *env, jobject thiz, jint index)
247 jniThrowException(env, "java/lang/IllegalArgumentException", "out of array boundary");
255 android_media_MediaProfiles_native_get_num_audio_decoders(JNIEnv *env, jobject thiz)
262 android_media_MediaProfiles_native_get_audio_decoder_type(JNIEnv *env, jobject thiz, jint index)
268 jniThrowException(env, "java/lang/IllegalArgumentException", "out of array boundary");
276 android_media_MediaProfiles_native_get_num_image_encoding_quality_levels(JNIEnv *env, jobject thiz, jint cameraId)
283 android_media_MediaProfiles_native_get_image_encoding_quality_level(JNIEnv *env, jobject thiz, jint cameraId, jint index)
288 jniThrowException(env, "java/lang/IllegalArgumentException", "out of array boundary");
294 android_media_MediaProfiles_native_get_videoeditor_profile(JNIEnv *env, jobject thiz)
311 jniThrowException(env, "java/lang/RuntimeException",\
321 env->FindClass("android/media/videoeditor/VideoEditorProfile");
323 env->GetMethodID(VideoEditorProfileClazz, "<init>", "(IIII)V");
324 return env->NewObject(VideoEditorProfileClazz,
333 JNIEnv *env, jobject thiz, jint codec)
340 jniThrowException(env, "java/lang/RuntimeException",\
349 JNIEnv *env, jobject thiz, jint codec)
356 jniThrowException(env, "java/lang/RuntimeException",\
415 int register_android_media_MediaProfiles(JNIEnv *env)
417 int ret1 = AndroidRuntime::registerNativeMethods(env,
422 int ret2 = AndroidRuntime::registerNativeMethods(env,
427 int ret3 = AndroidRuntime::registerNativeMethods(env,
432 int ret4 = AndroidRuntime::registerNativeMethods(env,
437 int ret5 = AndroidRuntime::registerNativeMethods(env,