Lines Matching defs:buffer
169 android_hardware_SerialPort_read_array(JNIEnv *env, jobject thiz, jbyteArray buffer, jint length)
180 // copy data from native buffer to Java buffer
181 env->SetByteArrayRegion(buffer, 0, ret, buf);
191 android_hardware_SerialPort_read_direct(JNIEnv *env, jobject thiz, jobject buffer, jint length)
195 jbyte* buf = (jbyte *)env->GetDirectBufferAddress(buffer);
208 android_hardware_SerialPort_write_array(JNIEnv *env, jobject thiz, jbyteArray buffer, jint length)
216 env->GetByteArrayRegion(buffer, 0, length, buf);
225 android_hardware_SerialPort_write_direct(JNIEnv *env, jobject thiz, jobject buffer, jint length)
229 jbyte* buf = (jbyte *)env->GetDirectBufferAddress(buffer);