Home
last modified time | relevance | path

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

/cts/tests/tests/nativemidi/jni/
Dnative-lib.cpp415 jbyte* bufferPtr = env->GetByteArrayElements(data, NULL); in Java_android_nativemidi_cts_NativeMidiEchoTest_writeMidiWithTimestamp() local
416 if (bufferPtr == NULL) { in Java_android_nativemidi_cts_NativeMidiEchoTest_writeMidiWithTimestamp()
421 context->midiInputPort, (uint8_t*)bufferPtr + offset, numBytes, timestamp); in Java_android_nativemidi_cts_NativeMidiEchoTest_writeMidiWithTimestamp()
427 memcpy(sendRec.dataBuff.get(), (uint8_t*)bufferPtr + offset, numBytes); in Java_android_nativemidi_cts_NativeMidiEchoTest_writeMidiWithTimestamp()
433 env->ReleaseByteArrayElements(data, bufferPtr, JNI_ABORT); in Java_android_nativemidi_cts_NativeMidiEchoTest_writeMidiWithTimestamp()