Home
last modified time | relevance | path

Searched refs:objectHandle (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/media/java/android/mtp/
DMtpDevice.java193 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()
[all …]
/frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/
DMtpClient.java305 public MtpObjectInfo getObjectInfo(String deviceName, int objectHandle) { in getObjectInfo() argument
310 return device.getObjectInfo(objectHandle); in getObjectInfo()
320 public boolean deleteObject(String deviceName, int objectHandle) { in deleteObject() argument
325 return device.deleteObject(objectHandle); in deleteObject()
341 public List<MtpObjectInfo> getObjectList(String deviceName, int storageId, int objectHandle) { in getObjectList() argument
346 if (objectHandle == 0) { in getObjectList()
348 objectHandle = 0xFFFFFFFF; in getObjectList()
350 int[] handles = device.getObjectHandles(storageId, 0, objectHandle); in getObjectList()
377 public byte[] getObject(String deviceName, int objectHandle, int objectSize) { in getObject() argument
382 return device.getObject(objectHandle, objectSize); in getObject()
[all …]
/frameworks/av/media/mtp/
DMtpServer.cpp1032 MtpObjectHandle objectHandle = mRequest.getParameter(1); in doMoveObject() local
1044 MtpObjectInfo info(objectHandle); in doMoveObject()
1045 result = mDatabase->getObjectInfo(objectHandle, info); in doMoveObject()
1048 result = mDatabase->getObjectFilePath(objectHandle, fromPath, fileLength, format); in doMoveObject()
1069 result = mDatabase->beginMoveObject(objectHandle, parent, storageID); in doMoveObject()
1099 mDatabase->endMoveObject(info.mParent, parent, info.mStorageID, storageID, objectHandle, in doMoveObject()
1111 MtpObjectHandle objectHandle = mRequest.getParameter(1); in doCopyObject() local
1122 MtpObjectInfo info(objectHandle); in doCopyObject()
1123 result = mDatabase->getObjectInfo(objectHandle, info); in doCopyObject()
1126 result = mDatabase->getObjectFilePath(objectHandle, fromPath, fileLength, format); in doCopyObject()
[all …]
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...