Home
last modified time | relevance | path

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

/frameworks/base/media/jni/audioeffect/
Dandroid_media_Visualizer.cpp196 jbyteArray jArray; in captureCallback() local
199 jArray = callbackInfo->waveform_data; in captureCallback()
201 if (jArray != NULL) { in captureCallback()
202 jbyte *nArray = env->GetByteArrayElements(jArray, NULL); in captureCallback()
204 env->ReleaseByteArrayElements(jArray, nArray, 0); in captureCallback()
211 jArray); in captureCallback()
216 jbyteArray jArray; in captureCallback() local
219 jArray = callbackInfo->fft_data; in captureCallback()
221 if (jArray != NULL) { in captureCallback()
222 jbyte *nArray = env->GetByteArrayElements(jArray, NULL); in captureCallback()
[all …]
/frameworks/base/core/jni/
Dandroid_media_AudioSystem.cpp2729 static std::vector<uid_t> convertJIntArrayToUidVector(JNIEnv *env, jintArray jArray) { in convertJIntArrayToUidVector() argument
2731 if (jArray != nullptr) { in convertJIntArrayToUidVector()
2732 jsize len = env->GetArrayLength(jArray); in convertJIntArrayToUidVector()
2736 nativeArray = env->GetIntArrayElements(jArray, 0); in convertJIntArrayToUidVector()
2741 env->ReleaseIntArrayElements(jArray, nativeArray, 0); in convertJIntArrayToUidVector()