Home
last modified time | relevance | path

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

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DWindowTraceBufferTest.java70 final int objectSize = toWrite.getRawSize(); in test_addItem() local
71 mBuffer.setCapacity(objectSize); in test_addItem()
80 mBuffer.getBufferSize(), objectSize); in test_addItem()
90 final int objectSize = toWrite1.getRawSize(); in test_addItemMustOverwriteOne() local
91 final int bufferCapacity = objectSize * 2 + 1; in test_addItemMustOverwriteOne()
126 final int objectSize = toWriteSmall1.getRawSize(); in test_addItemMustOverwriteMultiple() local
127 final int bufferCapacity = objectSize * 2; in test_addItemMustOverwriteMultiple()
/frameworks/base/media/java/android/mtp/
DMtpDevice.java207 public @Nullable byte[] getObject(int objectHandle, int objectSize) { in getObject() argument
208 Preconditions.checkArgumentNonnegative(objectSize, "objectSize should not be negative"); in getObject()
209 return native_get_object(objectHandle, objectSize); in getObject()
428 private native byte[] native_get_object(int objectHandle, long objectSize); in native_get_object() argument
430 int objectHandle, long offset, long objectSize, byte[] buffer) throws IOException; in native_get_partial_object() argument
432 int objectHandle, long offset, long objectSize, byte[] buffer) throws IOException; in native_get_partial_object_64() argument
/frameworks/av/media/mtp/
DMtpDevice.h121 uint32_t objectSize, void* clientData);
155 const uint32_t* objectSize,
159 const uint32_t* objectSize,
/frameworks/base/libs/hwui/
DGpuMemoryTracker.h45 int objectSize() { return mSize; } in objectSize() function
/frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/
DMtpClient.java377 public byte[] getObject(String deviceName, int objectHandle, int objectSize) { in getObject() argument
382 return device.getObject(objectHandle, objectSize); in getObject()
/frameworks/base/media/jni/
Dandroid_mtp_MtpDevice.cpp395 uint32_t objectSize; in android_mtp_MtpDevice_get_object() local
396 if (!check_uint32_arg(env, "objectSize", objectSizeLong, &objectSize)) { in android_mtp_MtpDevice_get_object()
405 ScopedLocalRef<jbyteArray> array(env, env->NewByteArray(objectSize)); in android_mtp_MtpDevice_get_object()
413 if (device->readObject(objectID, JavaArrayWriter::writeTo, objectSize, &writer)) { in android_mtp_MtpDevice_get_object()