Home
last modified time | relevance | path

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

/frameworks/base/media/java/android/media/midi/
DMidiPortImpl.java97 public static int getPacketType(byte[] buffer, int bufferLength) { in getPacketType() argument
105 public static int getDataOffset(byte[] buffer, int bufferLength) { in getDataOffset() argument
114 public static int getDataSize(byte[] buffer, int bufferLength) { in getDataSize() argument
116 return bufferLength - DATA_PACKET_OVERHEAD; in getDataSize()
123 public static long getPacketTimestamp(byte[] buffer, int bufferLength) { in getPacketTimestamp() argument
125 int offset = bufferLength; in getPacketTimestamp()
/frameworks/base/core/java/android/hardware/location/
DContextHubMessage.java119 int bufferLength = in.readInt(); in ContextHubMessage() local
120 mData = new byte[bufferLength]; in ContextHubMessage()
/frameworks/av/media/mtp/
DMtpUtils.h31 void formatDateTime(time_t seconds, char* buffer, int bufferLength);
DMtpUtils.cpp91 void formatDateTime(time_t seconds, char* buffer, int bufferLength) { in formatDateTime() argument
95 snprintf(buffer, bufferLength, "%04d%02d%02dT%02d%02d%02d", in formatDateTime()
/frameworks/base/core/java/android/hardware/usb/
DUsbDeviceConnection.java386 final int bufferLength = (buffer != null ? buffer.length : 0); in checkBounds() local
387 if (length < 0 || start < 0 || start + length > bufferLength) { in checkBounds()
/frameworks/base/core/jni/
Dandroid_hardware_Camera.cpp237 jsize bufferLength = env->GetArrayLength(obj); in getCallbackBuffer() local
238 if ((int)bufferLength < (int)bufferSize) { in getCallbackBuffer()
240 bufferSize, bufferLength); in getCallbackBuffer()