Searched refs:objectSize (Results 1 – 6 of 6) sorted by relevance
/frameworks/base/services/tests/servicestests/src/com/android/server/utils/ |
D | TraceBufferTest.java | 71 final int objectSize = toWrite.getRawSize(); in test_addItem() local 72 mBuffer.setCapacity(objectSize); in test_addItem() 81 mBuffer.getBufferSize(), objectSize); in test_addItem() 91 final int objectSize = toWrite1.getRawSize(); in test_addItemMustOverwriteOne() local 92 final int bufferCapacity = objectSize * 2 + 1; in test_addItemMustOverwriteOne() 127 final int objectSize = toWriteSmall1.getRawSize(); in test_addItemMustOverwriteMultiple() local 128 final int bufferCapacity = objectSize * 2; in test_addItemMustOverwriteMultiple()
|
/frameworks/base/media/java/android/mtp/ |
D | MtpDevice.java | 219 public @Nullable byte[] getObject(int objectHandle, int objectSize) { in getObject() argument 220 Preconditions.checkArgumentNonnegative(objectSize, "objectSize should not be negative"); in getObject() 221 return native_get_object(objectHandle, objectSize); in getObject() 441 private native byte[] native_get_object(int objectHandle, long objectSize); in native_get_object() argument 443 int objectHandle, long offset, long objectSize, byte[] buffer) throws IOException; in native_get_partial_object() argument 445 int objectHandle, long offset, long objectSize, byte[] buffer) throws IOException; in native_get_partial_object_64() argument
|
/frameworks/av/media/mtp/ |
D | MtpDevice.h | 122 uint32_t objectSize, void* clientData); 156 const uint32_t* objectSize, 160 const uint32_t* objectSize,
|
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/common/magnetictarget/ |
D | MagnetizedObjectTest.kt | 64 private val objectSize = 50f in <lambda>() constant 121 return objectSize in <lambda>() 125 return objectSize in <lambda>() 354 assertEquals(targetCenterX - objectSize / 2, objectX) in <lambda>() 355 assertEquals(targetCenterY - objectSize / 2, objectY) in <lambda>()
|
/frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/ |
D | MtpClient.java | 377 public byte[] getObject(String deviceName, int objectHandle, int objectSize) { in getObject() argument 382 return device.getObject(objectHandle, objectSize); in getObject()
|
/frameworks/base/media/jni/ |
D | android_mtp_MtpDevice.cpp | 545 uint32_t objectSize; in android_mtp_MtpDevice_get_object() local 546 if (!check_uint32_arg(env, "objectSize", objectSizeLong, &objectSize)) { in android_mtp_MtpDevice_get_object() 555 ScopedLocalRef<jbyteArray> array(env, env->NewByteArray(objectSize)); in android_mtp_MtpDevice_get_object() 563 if (device->readObject(objectID, JavaArrayWriter::writeTo, objectSize, &writer)) { in android_mtp_MtpDevice_get_object()
|