Home
last modified time | relevance | path

Searched refs:objectSize (Results 1 – 7 of 7) 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.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/packages/SystemUI/tests/src/com/android/systemui/util/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.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()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...