Searched refs:jFormat (Results 1 – 2 of 2) sorted by relevance
/frameworks/av/media/tests/benchmark/MediaBenchmarkTest/src/main/cpp/ |
D | NativeMuxer.cpp | 32 jstring jOutputFilePath, jstring jStatsFile, jstring jFormat) { in Java_com_android_media_benchmark_library_Native_Mux() argument 44 const char *fmt = env->GetStringUTFChars(jFormat, nullptr); in Java_com_android_media_benchmark_library_Native_Mux() 161 env->ReleaseStringUTFChars(jFormat, fmt); in Java_com_android_media_benchmark_library_Native_Mux()
|
/frameworks/base/core/jni/ |
D | android_media_AudioSystem.cpp | 1022 jint jFormat = env->GetIntField(jAudioPortConfig, gAudioPortConfigFields.mFormat); in convertAudioPortConfigToNative() local 1023 audio_format_t nFormat = audioFormatToNative(jFormat); in convertAudioPortConfigToNative() 1024 ALOGV("convertAudioPortConfigToNative format %d native %d", jFormat, nFormat); in convertAudioPortConfigToNative() 2068 const jobject jFormat, bool isInput) { in javaAudioFormatToNativeAudioConfig() argument 2070 nConfig->format = audioFormatToNative(env->GetIntField(jFormat, gAudioFormatFields.mEncoding)); in javaAudioFormatToNativeAudioConfig() 2071 nConfig->sample_rate = env->GetIntField(jFormat, gAudioFormatFields.mSampleRate); in javaAudioFormatToNativeAudioConfig() 2072 jint jChannelMask = env->GetIntField(jFormat, gAudioFormatFields.mChannelMask); in javaAudioFormatToNativeAudioConfig() 2080 void javaAudioFormatToNativeAudioConfigBase(JNIEnv *env, const jobject jFormat, in javaAudioFormatToNativeAudioConfigBase() argument 2084 audioFormatToNative(env->GetIntField(jFormat, gAudioFormatFields.mEncoding)); in javaAudioFormatToNativeAudioConfigBase() 2085 nConfigBase->sample_rate = env->GetIntField(jFormat, gAudioFormatFields.mSampleRate); in javaAudioFormatToNativeAudioConfigBase() [all …]
|