Lines Matching refs:objectHandle
130 MtpObjectInfo getObjectInfo(int deviceId, int objectHandle) throws IOException {
134 device.getObjectInfo(objectHandle),
135 "Failed to get object info: " + objectHandle);
149 byte[] getObject(int deviceId, int objectHandle, int expectedSize)
154 device.getObject(objectHandle, expectedSize),
159 long getPartialObject(int deviceId, int objectHandle, long offset, long size, byte[] buffer)
163 return device.getPartialObject(objectHandle, offset, size, buffer);
167 long getPartialObject64(int deviceId, int objectHandle, long offset, long size, byte[] buffer)
171 return device.getPartialObject64(objectHandle, offset, size, buffer);
175 byte[] getThumbnail(int deviceId, int objectHandle) throws IOException {
179 device.getThumbnail(objectHandle),
184 void deleteDocument(int deviceId, int objectHandle) throws IOException {
187 if (!device.deleteObject(objectHandle)) {
211 int getParent(int deviceId, int objectHandle) throws IOException {
214 final int result = (int) device.getParent(objectHandle);
222 void importFile(int deviceId, int objectHandle, ParcelFileDescriptor target)
226 if (!device.importFile(objectHandle, target)) {
238 long getObjectSizeLong(int deviceId, int objectHandle, int format) throws IOException {
240 return device.getObjectSizeLong(objectHandle, format);