Home
last modified time | relevance | path

Searched refs:jSources (Results 1 – 1 of 1) sorted by relevance

/frameworks/base/core/jni/
Dandroid_media_AudioSystem.cpp1692 jobjectArray jPatches, jobjectArray jSources, jobjectArray jSinks) in android_media_AudioSystem_createAudioPatch() argument
1698 if (jPatches == NULL || jSources == NULL || jSinks == NULL) { in android_media_AudioSystem_createAudioPatch()
1705 jint numSources = env->GetArrayLength(jSources); in android_media_AudioSystem_createAudioPatch()
1730 ScopedLocalRef<jobject> jSource(env, env->GetObjectArrayElement(jSources, i)); in android_media_AudioSystem_createAudioPatch()
1768 jSources, jSinks)); in android_media_AudioSystem_createAudioPatch()
1870 ScopedLocalRef<jobjectArray> jSources(env, nullptr); in android_media_AudioSystem_listAudioPatches() local
1884 jSources.reset(env->NewObjectArray(nPatches[i].num_sources, gAudioPortConfigClass, NULL)); in android_media_AudioSystem_listAudioPatches()
1885 if (jSources == nullptr) { in android_media_AudioSystem_listAudioPatches()
1901 env->SetObjectArrayElement(jSources.get(), j, jSource.get()); in android_media_AudioSystem_listAudioPatches()
1933 jPatch.reset(env->NewObject(gAudioPatchClass, gAudioPatchCstor, patchHandle, jSources.get(), in android_media_AudioSystem_listAudioPatches()