Home
last modified time | relevance | path

Searched defs:objectHandle (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/media/java/android/mtp/
DMtpDevice.java147 public int[] getObjectHandles(int storageId, int format, int objectHandle) { in getObjectHandles()
161 public byte[] getObject(int objectHandle, int objectSize) { in getObject()
179 public long getPartialObject(int objectHandle, long offset, long size, byte[] buffer) in getPartialObject()
200 public long getPartialObject64(int objectHandle, long offset, long size, byte[] buffer) in getPartialObject64()
215 public byte[] getThumbnail(int objectHandle) { in getThumbnail()
235 public MtpObjectInfo getObjectInfo(int objectHandle) { in getObjectInfo()
247 public boolean deleteObject(int objectHandle) { in deleteObject()
257 public long getParent(int objectHandle) { in getParent()
267 public long getStorageId(int objectHandle) { in getStorageId()
282 public boolean importFile(int objectHandle, String destPath) { in importFile()
[all …]
/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/
DTestMtpManager.java60 void setImportFileBytes(int deviceId, int objectHandle, byte[] bytes) { in setImportFileBytes()
64 byte[] getImportFileBytes(int deviceId, int objectHandle) { in getImportFileBytes()
68 void setThumbnail(int deviceId, int objectHandle, byte[] bytes) { in setThumbnail()
72 void setObjectSizeLong(int deviceId, int objectHandle, int format, long value) { in setObjectSizeLong()
118 MtpObjectInfo getObjectInfo(int deviceId, int objectHandle) throws IOException { in getObjectInfo()
138 void importFile(int deviceId, int objectHandle, ParcelFileDescriptor target) in importFile()
177 byte[] getThumbnail(int deviceId, int objectHandle) throws IOException { in getThumbnail()
187 void deleteDocument(int deviceId, int objectHandle) throws IOException { in deleteDocument()
197 int getParent(int deviceId, int objectHandle) throws IOException { in getParent()
207 byte[] getObject(int deviceId, int objectHandle, int expectedSize) throws IOException { in getObject()
[all …]
DDocumentLoaderTest.java191 final int objectHandle = i + 1; in setUpDocument() local
208 void blockDocument(int deviceId, int objectHandle) { in blockDocument()
212 void unblockDocument(int deviceId, int objectHandle) { in unblockDocument()
217 MtpObjectInfo getObjectInfo(int deviceId, int objectHandle) throws IOException { in getObjectInfo()
DMtpManagerTest.java143 final int objectHandle = mManager.createDocument( in testCreateDocumentAndGetPartialObject() local
DMtpDocumentsProviderTest.java633 final int objectHandle = i + objectHandleOffset; in testMappingDisconnectedDocuments() local
DMtpDatabaseTest.java185 private MtpObjectInfo createDocument(int objectHandle, String name, int format, int size) { in createDocument()
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/
DMtpManager.java130 MtpObjectInfo getObjectInfo(int deviceId, int objectHandle) throws IOException { in getObjectInfo()
149 byte[] getObject(int deviceId, int objectHandle, int expectedSize) in getObject()
159 long getPartialObject(int deviceId, int objectHandle, long offset, long size, byte[] buffer) in getPartialObject()
167 long getPartialObject64(int deviceId, int objectHandle, long offset, long size, byte[] buffer) in getPartialObject64()
175 byte[] getThumbnail(int deviceId, int objectHandle) throws IOException { in getThumbnail()
184 void deleteDocument(int deviceId, int objectHandle) throws IOException { in deleteDocument()
211 int getParent(int deviceId, int objectHandle) throws IOException { in getParent()
222 void importFile(int deviceId, int objectHandle, ParcelFileDescriptor target) in importFile()
238 long getObjectSizeLong(int deviceId, int objectHandle, int format) throws IOException { in getObjectSizeLong()
DIdentifier.java32 Identifier(int deviceId, int storageId, int objectHandle, String documentId, in Identifier()
DMtpDocumentsProvider.java353 int objectHandle = -1; in createDocument() local
/frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/
DMtpClient.java305 public MtpObjectInfo getObjectInfo(String deviceName, int objectHandle) { in getObjectInfo()
320 public boolean deleteObject(String deviceName, int objectHandle) { in deleteObject()
341 public List<MtpObjectInfo> getObjectList(String deviceName, int storageId, int objectHandle) { in getObjectList()
377 public byte[] getObject(String deviceName, int objectHandle, int objectSize) { in getObject()
392 public byte[] getThumbnail(String deviceName, int objectHandle) { in getThumbnail()
410 public boolean importFile(String deviceName, int objectHandle, String destPath) { in importFile()