/frameworks/av/media/mtp/ |
D | MtpDevice.h | 82 MtpStorageInfo* getStorageInfo(MtpStorageID storageID); 83 MtpObjectHandleList* getObjectHandles(MtpStorageID storageID, MtpObjectFormat format,
|
D | MtpDatabase.h | 48 virtual MtpObjectHandleList* getObjectList(MtpStorageID storageID, 52 virtual int getNumObjects(MtpStorageID storageID,
|
D | MtpServer.cpp | 563 MtpStorageID storageID = mRequest.getParameter(1); // 0xFFFFFFFF for all storage in doGetObjectHandles() local 568 if (!hasStorage(storageID)) in doGetObjectHandles() 571 MtpObjectHandleList* handles = mDatabase->getObjectList(storageID, format, parent); in doGetObjectHandles() 580 MtpStorageID storageID = mRequest.getParameter(1); // 0xFFFFFFFF for all storage in doGetNumObjects() local 584 if (!hasStorage(storageID)) in doGetNumObjects() 587 int count = mDatabase->getNumObjects(storageID, format, parent); in doGetNumObjects() 835 MtpStorageID storageID = mRequest.getParameter(1); in doSendObjectInfo() local 836 MtpStorage* storage = getStorage(storageID); in doSendObjectInfo() 898 ALOGD("path: %s parent: %d storageID: %08X", (const char*)path, parent, storageID); in doSendObjectInfo() 900 format, parent, storageID, mSendObjectFileSize, modifiedTime); in doSendObjectInfo() [all …]
|
D | MtpDevice.cpp | 337 MtpStorageInfo* MtpDevice::getStorageInfo(MtpStorageID storageID) { in getStorageInfo() argument 341 mRequest.setParameter(1, storageID); in getStorageInfo() 348 MtpStorageInfo* info = new MtpStorageInfo(storageID); in getStorageInfo() 355 MtpObjectHandleList* MtpDevice::getObjectHandles(MtpStorageID storageID, in getObjectHandles() argument 360 mRequest.setParameter(1, storageID); in getObjectHandles()
|
/frameworks/base/media/java/android/mtp/ |
D | MtpDatabase.java | 407 private Cursor createObjectQuery(int storageID, int format, int parent) throws RemoteException { in createObjectQuery() argument 411 if (storageID == 0xFFFFFFFF) { in createObjectQuery() 450 whereArgs = new String[] { Integer.toString(storageID) }; in createObjectQuery() 457 whereArgs = new String[] { Integer.toString(storageID), in createObjectQuery() 465 whereArgs = new String[] { Integer.toString(storageID), in createObjectQuery() 473 whereArgs = new String[] { Integer.toString(storageID), in createObjectQuery() 507 private int[] getObjectList(int storageID, int format, int parent) { in getObjectList() argument 510 c = createObjectQuery(storageID, format, parent); in getObjectList() 533 private int getNumObjects(int storageID, int format, int parent) { in getNumObjects() argument 536 c = createObjectQuery(storageID, format, parent); in getNumObjects()
|
/frameworks/base/media/jni/ |
D | android_mtp_MtpServer.cpp | 139 jint storageID = env->GetIntField(jstorage, field_MtpStorage_storageId); in android_mtp_MtpServer_add_storage() local 150 MtpStorage* storage = new MtpStorage(storageID, pathStr, descriptionStr, in android_mtp_MtpServer_add_storage()
|
D | android_mtp_MtpDevice.cpp | 188 android_mtp_MtpDevice_get_storage_info(JNIEnv *env, jobject thiz, jint storageID) in android_mtp_MtpDevice_get_storage_info() argument 193 MtpStorageInfo* storageInfo = device->getStorageInfo(storageID); in android_mtp_MtpDevice_get_storage_info() 223 jint storageID, jint format, jint objectID) in android_mtp_MtpDevice_get_object_handles() argument 228 MtpObjectHandleList* handles = device->getObjectHandles(storageID, format, objectID); in android_mtp_MtpDevice_get_object_handles()
|
D | android_mtp_MtpDatabase.cpp | 115 virtual MtpObjectHandleList* getObjectList(MtpStorageID storageID, 119 virtual int getNumObjects(MtpStorageID storageID, 257 MtpObjectHandleList* MyMtpDatabase::getObjectList(MtpStorageID storageID, in getObjectList() argument 262 (jint)storageID, (jint)format, (jint)parent); in getObjectList() 277 int MyMtpDatabase::getNumObjects(MtpStorageID storageID, in getNumObjects() argument 282 (jint)storageID, (jint)format, (jint)parent); in getNumObjects()
|