/frameworks/base/media/java/android/mtp/ |
D | MtpDevice.java | 190 public @Nullable int[] getObjectHandles(int storageId, int format, int objectHandle) { in getObjectHandles() argument 191 return native_get_object_handles(storageId, format, objectHandle); in getObjectHandles() 268 public @Nullable MtpStorageInfo getStorageInfo(int storageId) { in getStorageInfo() argument 269 return native_get_storage_info(storageId); in getStorageInfo() 422 private native MtpStorageInfo native_get_storage_info(int storageId); in native_get_storage_info() argument 423 private native int[] native_get_object_handles(int storageId, int format, int objectHandle); in native_get_object_handles() argument
|
D | MtpServer.java | 106 private native final void native_remove_storage(int storageId); in native_remove_storage() argument
|
D | MtpDatabase.java | 335 int storageId, long size, long modified) { in beginSendObject() argument 368 values.put(Files.FileColumns.STORAGE_ID, storageId); in beginSendObject()
|
/frameworks/base/packages/MtpDocumentsProvider/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 | 963 int storageId, in setupDocuments() argument 973 mMtpManager.setObjectHandles(deviceId, storageId, parentHandle, handles); in setupDocuments()
|
/frameworks/base/packages/MtpDocumentsProvider/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 | MtpManager.java | 139 int[] getObjectHandles(int deviceId, int storageId, int parentObjectHandle) in getObjectHandles() argument 144 device.getObjectHandles(storageId, 0 /* all format */, parentObjectHandle), in getObjectHandles()
|
D | MtpDocumentsProvider.java | 397 final int storageId; in createDocument() local 412 storageId = parentId.mStorageId; in createDocument() 416 storageId = parentId.mStorageId; in createDocument() 433 .setStorageId(storageId) in createDocument()
|
/frameworks/base/core/java/android/os/storage/ |
D | StorageVolume.java | 124 public StorageVolume(String id, int storageId, File path, String description, boolean primary, in StorageVolume() argument 128 mStorageId = storageId; in StorageVolume()
|
/frameworks/base/media/jni/ |
D | android_mtp_MtpServer.cpp | 188 android_mtp_MtpServer_remove_storage(JNIEnv *env, jobject thiz, jint storageId) in android_mtp_MtpServer_remove_storage() argument 194 MtpStorage* storage = server->getStorage(storageId); in android_mtp_MtpServer_remove_storage()
|
/frameworks/base/media/tests/CameraBrowser/src/com/android/camerabrowser/ |
D | MtpClient.java | 341 public List<MtpObjectInfo> getObjectList(String deviceName, int storageId, int objectHandle) { in getObjectList() argument 350 int[] handles = device.getObjectHandles(storageId, 0, objectHandle); in getObjectList()
|
/frameworks/av/media/mtp/ |
D | MtpDevice.cpp | 566 MtpObjectHandle storageId = info->mStorageID; in getStorageID() local 568 return storageId; in getStorageID()
|