/frameworks/base/media/java/android/mtp/ |
D | MtpDevice.java | 190 public @Nullable int[] getObjectHandles(int storageId, int format, int objectHandle) { in getObjectHandles() 204 public @Nullable byte[] getObject(int objectHandle, int objectSize) { in getObject() 222 public long getPartialObject(int objectHandle, long offset, long size, @NonNull byte[] buffer) in getPartialObject() 243 public long getPartialObject64(int objectHandle, long offset, long size, @NonNull byte[] buffer) in getPartialObject64() 258 public @Nullable byte[] getThumbnail(int objectHandle) { in getThumbnail() 278 public @Nullable MtpObjectInfo getObjectInfo(int objectHandle) { in getObjectInfo() 290 public boolean deleteObject(int objectHandle) { in deleteObject() 300 public long getParent(int objectHandle) { in getParent() 310 public long getStorageId(int objectHandle) { in getStorageId() 325 public boolean importFile(int objectHandle, @NonNull String destPath) { in importFile() [all …]
|
/frameworks/base/packages/MtpDocumentsProvider/tests/src/com/android/mtp/ |
D | TestMtpManager.java | 61 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 …]
|
D | DocumentLoaderTest.java | 191 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()
|
D | MtpManagerTest.java | 143 final int objectHandle = mManager.createDocument( in testCreateDocumentAndGetPartialObject() local
|
D | MtpDocumentsProviderTest.java | 701 final int objectHandle = i + objectHandleOffset; in testMappingDisconnectedDocuments() local 983 int objectHandle; field in MtpDocumentsProviderTest.HierarchyDocument 1013 int objectHandle = 100; in setupHierarchyDocuments() local
|
D | MtpDatabaseTest.java | 185 private MtpObjectInfo createDocument(int objectHandle, String name, int format, int size) { in createDocument()
|
/frameworks/base/packages/MtpDocumentsProvider/src/com/android/mtp/ |
D | MtpManager.java | 130 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()
|
D | Identifier.java | 32 Identifier(int deviceId, int storageId, int objectHandle, String documentId, in Identifier()
|
D | MtpDocumentsProvider.java | 424 int objectHandle = -1; in createDocument() local
|
/frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/ |
D | MtpClient.java | 305 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()
|