Home
last modified time | relevance | path

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

/frameworks/base/media/java/android/mtp/
DMtpDevice.java154 public byte[] getObject(int objectHandle, int objectSize) { in getObject() argument
155 return native_get_object(objectHandle, objectSize); in getObject()
249 private native byte[] native_get_object(int objectHandle, int objectSize); in native_get_object() argument
/frameworks/av/media/mtp/
DMtpDevice.h101 int objectSize, void* clientData);
DMtpDevice.cpp577 int objectSize, void* clientData) { in readObject() argument
586 if (length - MTP_CONTAINER_HEADER_SIZE != objectSize) { in readObject()
588 objectSize, length); in readObject()
/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.cpp316 android_mtp_MtpDevice_get_object(JNIEnv *env, jobject thiz, jint objectID, jint objectSize) in android_mtp_MtpDevice_get_object() argument
322 jbyteArray array = env->NewByteArray(objectSize); in android_mtp_MtpDevice_get_object()
332 if (device->readObject(objectID, get_object_callback, objectSize, &data)) in android_mtp_MtpDevice_get_object()