Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/utils/
DTraceBufferTest.java71 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/
DMtpDevice.java219 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/
DMtpDevice.h122 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/
DMagnetizedObjectTest.kt64 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/
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.cpp545 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()