Searched refs:bufferBytes (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/core/jni/ |
D | android_hardware_UsbDeviceConnection.cpp | 183 jbyte* bufferBytes = NULL; in android_hardware_UsbDeviceConnection_control_request() local 185 bufferBytes = (jbyte*)env->GetPrimitiveArrayCritical(buffer, NULL); in android_hardware_UsbDeviceConnection_control_request() 189 value, index, bufferBytes + start, length, timeout); in android_hardware_UsbDeviceConnection_control_request() 191 if (bufferBytes) { in android_hardware_UsbDeviceConnection_control_request() 192 env->ReleasePrimitiveArrayCritical(buffer, bufferBytes, 0); in android_hardware_UsbDeviceConnection_control_request() 208 jbyte* bufferBytes = NULL; in android_hardware_UsbDeviceConnection_bulk_request() local 210 bufferBytes = (jbyte*)env->GetPrimitiveArrayCritical(buffer, NULL); in android_hardware_UsbDeviceConnection_bulk_request() 213 jint result = usb_device_bulk_transfer(device, endpoint, bufferBytes + start, length, timeout); in android_hardware_UsbDeviceConnection_bulk_request() 215 if (bufferBytes) { in android_hardware_UsbDeviceConnection_bulk_request() 216 env->ReleasePrimitiveArrayCritical(buffer, bufferBytes, 0); in android_hardware_UsbDeviceConnection_bulk_request()
|
/frameworks/base/graphics/java/android/graphics/ |
D | Bitmap.java | 645 long bufferBytes = (long) elements << shift; in copyPixelsFromBuffer() local 648 if (bufferBytes < bitmapBytes) { in copyPixelsFromBuffer()
|