Searched refs:bufferLength (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/media/java/android/media/midi/ |
D | MidiPortImpl.java | 97 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/ |
D | ContextHubMessage.java | 119 int bufferLength = in.readInt(); in ContextHubMessage() local 120 mData = new byte[bufferLength]; in ContextHubMessage()
|
/frameworks/av/media/mtp/ |
D | MtpUtils.h | 31 void formatDateTime(time_t seconds, char* buffer, int bufferLength);
|
D | MtpUtils.cpp | 91 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/ |
D | UsbDeviceConnection.java | 386 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/ |
D | android_hardware_Camera.cpp | 237 jsize bufferLength = env->GetArrayLength(obj); in getCallbackBuffer() local 238 if ((int)bufferLength < (int)bufferSize) { in getCallbackBuffer() 240 bufferSize, bufferLength); in getCallbackBuffer()
|