Home
last modified time | relevance | path

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

/packages/services/Mtp/tests/src/com/android/mtp/
DTestMtpManager.java61 void setImportFileBytes(int deviceId, int objectHandle, byte[] bytes) { in setImportFileBytes()
65 byte[] getImportFileBytes(int deviceId, int objectHandle) { in getImportFileBytes()
69 void setThumbnail(int deviceId, int objectHandle, byte[] bytes) { in setThumbnail()
73 void setObjectSizeLong(int deviceId, int objectHandle, int format, long value) { in setObjectSizeLong()
119 MtpObjectInfo getObjectInfo(int deviceId, int objectHandle) throws IOException { in getObjectInfo()
139 void importFile(int deviceId, int objectHandle, ParcelFileDescriptor target) in importFile()
181 byte[] getThumbnail(int deviceId, int objectHandle) throws IOException { in getThumbnail()
191 void deleteDocument(int deviceId, int objectHandle) throws IOException { in deleteDocument()
201 int getParent(int deviceId, int objectHandle) throws IOException { in getParent()
211 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.java703 final int objectHandle = i + objectHandleOffset; in testMappingDisconnectedDocuments() local
985 int objectHandle; field in MtpDocumentsProviderTest.HierarchyDocument
1015 int objectHandle = 100; in setupHierarchyDocuments() local
DMtpDatabaseTest.java185 private MtpObjectInfo createDocument(int objectHandle, String name, int format, int size) { in createDocument()
/packages/services/Mtp/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.java432 int objectHandle = -1; in createDocument() local
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DMtpClient.java331 public MtpObjectInfo getObjectInfo(String deviceName, int objectHandle) { in getObjectInfo()
346 public boolean deleteObject(String deviceName, int objectHandle) { in deleteObject()
367 public List<MtpObjectInfo> getObjectList(String deviceName, int storageId, int objectHandle) { in getObjectList()
403 public byte[] getObject(String deviceName, int objectHandle, int objectSize) { in getObject()
418 public byte[] getThumbnail(String deviceName, int objectHandle) { in getThumbnail()
436 public boolean importFile(String deviceName, int objectHandle, String destPath) { in importFile()