Home
last modified time | relevance | path

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

/frameworks/av/media/mtp/
DMtpServer.cpp584 MtpStorageID storageID = mRequest.getParameter(1); // 0xFFFFFFFF for all storage in doGetObjectHandles() local
589 if (!hasStorage(storageID)) in doGetObjectHandles()
592 MtpObjectHandleList* handles = mDatabase->getObjectList(storageID, format, parent); in doGetObjectHandles()
605 MtpStorageID storageID = mRequest.getParameter(1); // 0xFFFFFFFF for all storage in doGetNumObjects() local
609 if (!hasStorage(storageID)) in doGetNumObjects()
612 int count = mDatabase->getNumObjects(storageID, format, parent); in doGetNumObjects()
912 MtpStorageID storageID = mRequest.getParameter(1); in doSendObjectInfo() local
913 MtpStorage* storage = getStorage(storageID); in doSendObjectInfo()
998 ALOGV("path: %s parent: %d storageID: %08X", (const char*)path, parent, storageID); in doSendObjectInfo()
1000 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/base/media/jni/
Dandroid_mtp_MtpServer.cpp168 jint storageID = env->GetIntField(jstorage, field_MtpStorage_storageId); in android_mtp_MtpServer_add_storage() local
178 MtpStorage* storage = new MtpStorage(storageID, pathStr, descriptionStr, in android_mtp_MtpServer_add_storage()
Dandroid_mtp_MtpDatabase.cpp118 virtual MtpObjectHandleList* getObjectList(MtpStorageID storageID,
122 virtual int getNumObjects(MtpStorageID storageID,
274 MtpObjectHandleList* MtpDatabase::getObjectList(MtpStorageID storageID, in getObjectList() argument
279 (jint)storageID, (jint)format, (jint)parent); in getObjectList()
294 int MtpDatabase::getNumObjects(MtpStorageID storageID, in getNumObjects() argument
299 (jint)storageID, (jint)format, (jint)parent); in getNumObjects()
Dandroid_mtp_MtpDevice.cpp306 android_mtp_MtpDevice_get_storage_info(JNIEnv *env, jobject thiz, jint storageID) in android_mtp_MtpDevice_get_storage_info() argument
311 MtpStorageInfo* storageInfo = device->getStorageInfo(storageID); in android_mtp_MtpDevice_get_storage_info()
341 jint storageID, jint format, jint objectID) in android_mtp_MtpDevice_get_object_handles() argument
346 MtpObjectHandleList* handles = device->getObjectHandles(storageID, format, objectID); in android_mtp_MtpDevice_get_object_handles()
/frameworks/base/media/java/android/mtp/
DMtpDatabase.java444 private int[] getObjectList(int storageID, int format, int parent) { in getObjectList() argument
446 format, storageID); in getObjectList()
459 public int getNumObjects(int storageID, int format, int parent) { in getNumObjects() argument
461 format, storageID); in getNumObjects()