Home
last modified time | relevance | path

Searched refs:storageId (Results 1 – 10 of 10) sorted by relevance

/packages/services/Mtp/tests/src/com/android/mtp/
DMtpManagerTest.java118 int storageId = 0; in testCreateDocumentAndGetPartialObject() local
121 storageId = record.roots[0].mStorageId; in testCreateDocumentAndGetPartialObject()
125 assertTrue("Valid storage not found.", storageId != 0); in testCreateDocumentAndGetPartialObject()
129 mUsbDevice.getDeviceId(), storageId, MtpManager.OBJECT_HANDLE_ROOT_CHILDREN)) { in testCreateDocumentAndGetPartialObject()
146 .setStorageId(storageId) in testCreateDocumentAndGetPartialObject()
DTestMtpManager.java53 void setObjectHandles(int deviceId, int storageId, int parentHandle, int[] objectHandles) { in setObjectHandles() argument
54 mObjectHandles.put(pack(deviceId, storageId, parentHandle), objectHandles); in setObjectHandles()
129 int[] getObjectHandles(int deviceId, int storageId, int parentObjectHandle) throws IOException { in getObjectHandles() argument
130 final String key = pack(deviceId, storageId, parentObjectHandle); in getObjectHandles()
DDocumentLoaderTest.java110 int[] getObjectHandles(int deviceId, int storageId, int parentObjectHandle) in testError_GetObjectHandles()
DMtpDocumentsProviderTest.java965 int storageId, in setupDocuments() argument
975 mMtpManager.setObjectHandles(deviceId, storageId, parentHandle, handles); in setupDocuments()
/packages/services/Mtp/src/com/android/mtp/
DMtpRoot.java33 int storageId, in MtpRoot() argument
39 mStorageId = storageId; in MtpRoot()
DIdentifier.java32 Identifier(int deviceId, int storageId, int objectHandle, String documentId, in Identifier() argument
35 mStorageId = storageId; in Identifier()
DMtpDocumentsProvider.java405 final int storageId; in createDocument() local
420 storageId = parentId.mStorageId; in createDocument()
424 storageId = parentId.mStorageId; in createDocument()
441 .setStorageId(storageId) in createDocument()
DMtpManager.java139 int[] getObjectHandles(int deviceId, int storageId, int parentObjectHandle) in getObjectHandles() argument
144 device.getObjectHandles(storageId, 0 /* all format */, parentObjectHandle), in getObjectHandles()
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/
DMtpDeviceIndexRunnable.java158 for (int storageId : mDevice.getStorageIds()) { in addAllObjects()
169 for (int objectHandle : mDevice.getObjectHandles(storageId, 0, dirHandle)) { in addAllObjects()
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DMtpClient.java367 public List<MtpObjectInfo> getObjectList(String deviceName, int storageId, int objectHandle) { in getObjectList() argument
376 int[] handles = device.getObjectHandles(storageId, 0, objectHandle); in getObjectList()