Home
last modified time | relevance | path

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

/frameworks/base/core/jni/
Dandroid_hardware_SoundTrigger.cpp204 jbyteArray jData = NULL; in onRecognitionEvent() local
207 jData = env->NewByteArray(event->data_size); in onRecognitionEvent()
208 jbyte *nData = env->GetByteArrayElements(jData, NULL); in onRecognitionEvent()
210 env->ReleaseByteArrayElements(jData, nData, 0); in onRecognitionEvent()
267 jAudioFormat, jData, jExtras); in onRecognitionEvent()
274 jAudioFormat, jData); in onRecognitionEvent()
280 if (jData != NULL) { in onRecognitionEvent()
281 env->DeleteLocalRef(jData); in onRecognitionEvent()
298 jbyteArray jData = NULL; in onSoundModelEvent() local
301 jData = env->NewByteArray(event->data_size); in onSoundModelEvent()
[all …]
Dandroid_hardware_Radio.cpp274 jbyteArray jData = env->NewByteArray(size); in convertMetadataFromNative() local
275 if (jData == NULL) { in convertMetadataFromNative()
278 env->SetByteArrayRegion(jData, 0, size, (jbyte *)value); in convertMetadataFromNative()
281 key, jData); in convertMetadataFromNative()
285 env->DeleteLocalRef(jData); in convertMetadataFromNative()