Home
last modified time | relevance | path

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

/frameworks/av/media/mtp/
DMtpServer.cpp588 MtpStorageID storageID = mRequest.getParameter(1); // 0xFFFFFFFF for all storage in doGetObjectHandles() local
593 if (!hasStorage(storageID)) in doGetObjectHandles()
596 MtpObjectHandleList* handles = mDatabase->getObjectList(storageID, format, parent); in doGetObjectHandles()
609 MtpStorageID storageID = mRequest.getParameter(1); // 0xFFFFFFFF for all storage in doGetNumObjects() local
613 if (!hasStorage(storageID)) in doGetNumObjects()
616 int count = mDatabase->getNumObjects(storageID, format, parent); in doGetNumObjects()
942 MtpStorageID storageID = mRequest.getParameter(1); in doSendObjectInfo() local
943 MtpStorage* storage = getStorage(storageID); in doSendObjectInfo()
1028 ALOGV("path: %s parent: %d storageID: %08X", (const char*)path, parent, storageID); in doSendObjectInfo()
1030 parent, storageID); in doSendObjectInfo()
[all …]
DIMtpDatabase.h48 virtual MtpObjectHandleList* getObjectList(MtpStorageID storageID,
52 virtual int getNumObjects(MtpStorageID storageID,
DMtpDevice.h101 MtpStorageInfo* getStorageInfo(MtpStorageID storageID);
102 MtpObjectHandleList* getObjectHandles(MtpStorageID storageID, MtpObjectFormat format,
DMtpDevice.cpp389 MtpStorageInfo* MtpDevice::getStorageInfo(MtpStorageID storageID) { in getStorageInfo() argument
393 mRequest.setParameter(1, storageID); in getStorageInfo()
400 MtpStorageInfo* info = new MtpStorageInfo(storageID); in getStorageInfo()
409 MtpObjectHandleList* MtpDevice::getObjectHandles(MtpStorageID storageID, in getObjectHandles() argument
414 mRequest.setParameter(1, storageID); in getObjectHandles()
/frameworks/av/media/mtp/tests/MtpFuzzer/
DMtpMockDatabase.cpp82 MtpObjectHandleList* MtpMockDatabase::getObjectList(MtpStorageID storageID, MtpObjectFormat format, in getObjectList() argument
84 ALOGD("MockDatabase %s: storage_id=%u oformat=0x%04x ohandle=%u\n", __func__, storageID, format, in getObjectList()
89 int MtpMockDatabase::getNumObjects(MtpStorageID storageID, MtpObjectFormat format, in getNumObjects() argument
91 ALOGD("MockDatabase %s: storage_id=%u oformat=0x%04x ohandle=%u\n", __func__, storageID, format, in getNumObjects()
DMtpMockDatabase.h58 MtpObjectHandleList* getObjectList(MtpStorageID storageID, MtpObjectFormat format,
61 int getNumObjects(MtpStorageID storageID, MtpObjectFormat format, MtpObjectHandle parent);
/frameworks/base/media/jni/
Dandroid_mtp_MtpServer.cpp192 jint storageID = env->GetIntField(jstorage, field_MtpStorage_storageId); in android_mtp_MtpServer_add_storage() local
202 MtpStorage* storage = new MtpStorage(storageID, pathStr, descriptionStr, in android_mtp_MtpServer_add_storage()
Dandroid_mtp_MtpDatabase.cpp175 virtual MtpObjectHandleList* getObjectList(MtpStorageID storageID,
179 virtual int getNumObjects(MtpStorageID storageID,
332 MtpObjectHandleList* MtpDatabase::getObjectList(MtpStorageID storageID, in getObjectList() argument
337 (jint)storageID, (jint)format, (jint)parent); in getObjectList()
352 int MtpDatabase::getNumObjects(MtpStorageID storageID, in getNumObjects() argument
357 (jint)storageID, (jint)format, (jint)parent); in getNumObjects()
Dandroid_mtp_MtpDevice.cpp456 android_mtp_MtpDevice_get_storage_info(JNIEnv *env, jobject thiz, jint storageID) in android_mtp_MtpDevice_get_storage_info() argument
461 MtpStorageInfo* storageInfo = device->getStorageInfo(storageID); in android_mtp_MtpDevice_get_storage_info()
491 jint storageID, jint format, jint objectID) in android_mtp_MtpDevice_get_object_handles() argument
496 MtpObjectHandleList* handles = device->getObjectHandles(storageID, format, objectID); in android_mtp_MtpDevice_get_object_handles()
/frameworks/base/media/java/android/mtp/
DMtpDatabase.java452 private int[] getObjectList(int storageID, int format, int parent) { in getObjectList() argument
454 format, storageID); in getObjectList()
467 public int getNumObjects(int storageID, int format, int parent) { in getNumObjects() argument
469 format, storageID); in getNumObjects()