Home
last modified time | relevance | path

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

/packages/apps/Gallery2/src/com/android/gallery3d/data/
DMtpClient.java331 public MtpObjectInfo getObjectInfo(String deviceName, int objectHandle) { in getObjectInfo() argument
336 return device.getObjectInfo(objectHandle); in getObjectInfo()
346 public boolean deleteObject(String deviceName, int objectHandle) { in deleteObject() argument
351 return device.deleteObject(objectHandle); in deleteObject()
367 public List<MtpObjectInfo> getObjectList(String deviceName, int storageId, int objectHandle) { in getObjectList() argument
372 if (objectHandle == 0) { in getObjectList()
374 objectHandle = 0xFFFFFFFF; in getObjectList()
376 int[] handles = device.getObjectHandles(storageId, 0, objectHandle); in getObjectList()
403 public byte[] getObject(String deviceName, int objectHandle, int objectSize) { in getObject() argument
408 return device.getObject(objectHandle, objectSize); in getObject()
[all …]
/packages/providers/MediaProvider/src/com/android/providers/media/
DIMtpService.aidl21 void sendObjectAdded(int objectHandle); in sendObjectAdded() argument
22 void sendObjectRemoved(int objectHandle); in sendObjectRemoved() argument
DMtpService.java184 public void sendObjectAdded(int objectHandle) {
187 mServer.sendObjectAdded(objectHandle);
192 public void sendObjectRemoved(int objectHandle) {
195 mServer.sendObjectRemoved(objectHandle);
DMediaProvider.java2834 private void sendObjectAdded(long objectHandle) { in sendObjectAdded() argument
2838 mMtpService.sendObjectAdded((int)objectHandle); in sendObjectAdded()
2847 private void sendObjectRemoved(long objectHandle) { in sendObjectRemoved() argument
2851 mMtpService.sendObjectRemoved((int)objectHandle); in sendObjectRemoved()
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/
DMtpDeviceIndexRunnable.java169 for (int objectHandle : mDevice.getObjectHandles(storageId, 0, dirHandle)) { in addAllObjects()
170 MtpObjectInfo mtpObjectInfo = mDevice.getObjectInfo(objectHandle); in addAllObjects()
175 pendingDirectories.add(objectHandle); in addAllObjects()