Searched refs:jArray (Results 1 – 2 of 2) sorted by relevance
196 jbyteArray jArray; in captureCallback() local199 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() local219 jArray = callbackInfo->fft_data; in captureCallback()221 if (jArray != NULL) { in captureCallback()222 jbyte *nArray = env->GetByteArrayElements(jArray, NULL); in captureCallback()[all …]
2729 static std::vector<uid_t> convertJIntArrayToUidVector(JNIEnv *env, jintArray jArray) { in convertJIntArrayToUidVector() argument2731 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()