Lines Matching refs:objectHandle
193 public @Nullable int[] getObjectHandles(int storageId, int format, int objectHandle) { in getObjectHandles() argument
194 return native_get_object_handles(storageId, format, objectHandle); in getObjectHandles()
207 public @Nullable byte[] getObject(int objectHandle, int objectSize) { in getObject() argument
209 return native_get_object(objectHandle, objectSize); in getObject()
225 public long getPartialObject(int objectHandle, long offset, long size, @NonNull byte[] buffer) in getPartialObject() argument
227 return native_get_partial_object(objectHandle, offset, size, buffer); in getPartialObject()
246 public long getPartialObject64(int objectHandle, long offset, long size, @NonNull byte[] buffer) in getPartialObject64() argument
248 return native_get_partial_object_64(objectHandle, offset, size, buffer); in getPartialObject64()
261 public @Nullable byte[] getThumbnail(int objectHandle) { in getThumbnail() argument
262 return native_get_thumbnail(objectHandle); in getThumbnail()
281 public @Nullable MtpObjectInfo getObjectInfo(int objectHandle) { in getObjectInfo() argument
282 return native_get_object_info(objectHandle); in getObjectInfo()
293 public boolean deleteObject(int objectHandle) { in deleteObject() argument
294 return native_delete_object(objectHandle); in deleteObject()
303 public long getParent(int objectHandle) { in getParent() argument
304 return native_get_parent(objectHandle); in getParent()
313 public long getStorageId(int objectHandle) { in getStorageId() argument
314 return native_get_storage_id(objectHandle); in getStorageId()
328 public boolean importFile(int objectHandle, @NonNull String destPath) { in importFile() argument
329 return native_import_file(objectHandle, destPath); in importFile()
342 public boolean importFile(int objectHandle, @NonNull ParcelFileDescriptor descriptor) { in importFile() argument
343 return native_import_file(objectHandle, descriptor.getFd()); in importFile()
358 int objectHandle, long size, @NonNull ParcelFileDescriptor descriptor) { in sendObject() argument
359 return native_send_object(objectHandle, size, descriptor.getFd()); in sendObject()
426 private native int[] native_get_object_handles(int storageId, int format, int objectHandle); in native_get_object_handles() argument
427 private native MtpObjectInfo native_get_object_info(int objectHandle); in native_get_object_info() argument
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
433 private native byte[] native_get_thumbnail(int objectHandle); in native_get_thumbnail() argument
434 private native boolean native_delete_object(int objectHandle); in native_delete_object() argument
435 private native int native_get_parent(int objectHandle); in native_get_parent() argument
436 private native int native_get_storage_id(int objectHandle); in native_get_storage_id() argument
437 private native boolean native_import_file(int objectHandle, String destPath); in native_import_file() argument
438 private native boolean native_import_file(int objectHandle, int fd); in native_import_file() argument
439 private native boolean native_send_object(int objectHandle, long size, int fd); in native_send_object() argument