Searched refs:storageId (Results 1 – 10 of 10) sorted by relevance
/packages/services/Mtp/tests/src/com/android/mtp/ |
D | MtpManagerTest.java | 118 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()
|
D | TestMtpManager.java | 53 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()
|
D | DocumentLoaderTest.java | 110 int[] getObjectHandles(int deviceId, int storageId, int parentObjectHandle) in testError_GetObjectHandles()
|
D | MtpDocumentsProviderTest.java | 965 int storageId, in setupDocuments() argument 975 mMtpManager.setObjectHandles(deviceId, storageId, parentHandle, handles); in setupDocuments()
|
/packages/services/Mtp/src/com/android/mtp/ |
D | MtpRoot.java | 33 int storageId, in MtpRoot() argument 39 mStorageId = storageId; in MtpRoot()
|
D | Identifier.java | 32 Identifier(int deviceId, int storageId, int objectHandle, String documentId, in Identifier() argument 35 mStorageId = storageId; in Identifier()
|
D | MtpDocumentsProvider.java | 405 final int storageId; in createDocument() local 420 storageId = parentId.mStorageId; in createDocument() 424 storageId = parentId.mStorageId; in createDocument() 441 .setStorageId(storageId) in createDocument()
|
D | MtpManager.java | 139 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/ |
D | MtpDeviceIndexRunnable.java | 158 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/ |
D | MtpClient.java | 367 public List<MtpObjectInfo> getObjectList(String deviceName, int storageId, int objectHandle) { in getObjectList() argument 376 int[] handles = device.getObjectHandles(storageId, 0, objectHandle); in getObjectList()
|