Home
last modified time | relevance | path

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

/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/
DByteArrayHelpers.java222 int byteLength = Array.getLength(array) * sizeOfT; in toByteArray() local
226 return Arrays.copyOf((byte[])array, byteLength); in toByteArray()
229 ByteBuffer byteBuffer = ByteBuffer.allocate(byteLength).order(ByteOrder.nativeOrder()); in toByteArray()
/frameworks/base/core/java/android/bluetooth/le/
DBluetoothLeAdvertiser.java210 + byteLength(data.getServiceData().get(uuid)); in totalBytes()
214 byteLength(data.getManufacturerSpecificData().valueAt(i)); in totalBytes()
225 private int byteLength(byte[] array) { in byteLength() method in BluetoothLeAdvertiser
/frameworks/base/libs/hwui/
DDisplayListRenderer.h196 inline char* refText(const char* text, size_t byteLength) { in refText() argument
197 return (char*) refBuffer<uint8_t>((uint8_t*)text, byteLength); in refText()
/frameworks/base/core/jni/
Dandroid_graphics_Canvas.cpp581 int byteLength = text ? env->GetStringLength(text) : 0; in drawPosTextString() local
585 get_canvas(canvasHandle)->drawPosText(jchars , posArray, byteLength << 1, posCount, *paint); in drawPosTextString()