Home
last modified time | relevance | path

Searched refs:MtpObjectHandle (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/media/mtp/
DMtpDatabase.h33 virtual MtpObjectHandle beginSendObject(const char* path,
35 MtpObjectHandle parent,
44 MtpObjectHandle handle,
50 MtpObjectHandle parent) = 0;
54 MtpObjectHandle parent) = 0;
63 virtual MtpResponseCode getObjectPropertyValue(MtpObjectHandle handle,
67 virtual MtpResponseCode setObjectPropertyValue(MtpObjectHandle handle,
79 virtual MtpResponseCode getObjectPropertyList(MtpObjectHandle handle,
84 virtual MtpResponseCode getObjectInfo(MtpObjectHandle handle,
87 virtual void* getThumbnail(MtpObjectHandle handle, size_t& outThumbSize) = 0;
[all …]
DMtpDevice.h84 MtpObjectHandle parent);
85 MtpObjectInfo* getObjectInfo(MtpObjectHandle handle);
86 void* getThumbnail(MtpObjectHandle handle, int& outLength);
87 MtpObjectHandle sendObjectInfo(MtpObjectInfo* info);
89 bool deleteObject(MtpObjectHandle handle);
90 MtpObjectHandle getParent(MtpObjectHandle handle);
91 MtpObjectHandle getStorageID(MtpObjectHandle handle);
98 bool readObject(MtpObjectHandle handle,
102 bool readObject(MtpObjectHandle handle, const char* destPath, int group,
DMtpServer.h64 MtpObjectHandle mSendObjectHandle;
75 MtpObjectHandle mHandle;
81 ObjectEdit(MtpObjectHandle handle, const char* path, uint64_t size, in ObjectEdit()
105 void sendObjectAdded(MtpObjectHandle handle);
106 void sendObjectRemoved(MtpObjectHandle handle);
113 void addEditObject(MtpObjectHandle handle, MtpString& path,
115 ObjectEdit* getEditObject(MtpObjectHandle handle);
116 void removeEditObject(MtpObjectHandle handle);
DMtpObjectInfo.h28 MtpObjectHandle mHandle;
40 MtpObjectHandle mParent;
50 MtpObjectInfo(MtpObjectHandle handle);
DMtpServer.cpp244 void MtpServer::sendObjectAdded(MtpObjectHandle handle) { in sendObjectAdded()
249 void MtpServer::sendObjectRemoved(MtpObjectHandle handle) { in sendObjectRemoved()
274 void MtpServer::addEditObject(MtpObjectHandle handle, MtpString& path, in addEditObject()
280 MtpServer::ObjectEdit* MtpServer::getEditObject(MtpObjectHandle handle) { in getEditObject()
289 void MtpServer::removeEditObject(MtpObjectHandle handle) { in removeEditObject()
549 MtpObjectHandle parent = mRequest.getParameter(3); // 0xFFFFFFFF for objects with no parent in doGetObjectHandles()
566 MtpObjectHandle parent = mRequest.getParameter(3); // 0xFFFFFFFF for objects with no parent in doGetNumObjects()
586 MtpObjectHandle handle = mRequest.getParameter(1); in doGetObjectReferences()
615 MtpObjectHandle handle = mRequest.getParameter(1); in doGetObjectPropValue()
626 MtpObjectHandle handle = mRequest.getParameter(1); in doSetObjectPropValue()
[all …]
DMtpDevice.cpp356 MtpObjectFormat format, MtpObjectHandle parent) { in getObjectHandles()
374 MtpObjectInfo* MtpDevice::getObjectInfo(MtpObjectHandle handle) { in getObjectInfo()
394 void* MtpDevice::getThumbnail(MtpObjectHandle handle, int& outLength) { in getThumbnail()
409 MtpObjectHandle MtpDevice::sendObjectInfo(MtpObjectInfo* info) { in sendObjectInfo()
413 MtpObjectHandle parent = info->mParent; in sendObjectInfo()
457 return (MtpObjectHandle)-1; in sendObjectInfo()
486 bool MtpDevice::deleteObject(MtpObjectHandle handle) { in deleteObject()
499 MtpObjectHandle MtpDevice::getParent(MtpObjectHandle handle) { in getParent()
502 MtpObjectHandle parent = info->mParent; in getParent()
510 MtpObjectHandle MtpDevice::getStorageID(MtpObjectHandle handle) { in getStorageID()
[all …]
DMtpTypes.h44 typedef uint32_t MtpObjectHandle; typedef
DMtpObjectInfo.cpp27 MtpObjectInfo::MtpObjectInfo(MtpObjectHandle handle) in MtpObjectInfo()
/frameworks/base/media/jni/
Dandroid_mtp_MtpDatabase.cpp96 virtual MtpObjectHandle beginSendObject(const char* path,
98 MtpObjectHandle parent,
104 MtpObjectHandle handle,
110 MtpObjectHandle parent);
114 MtpObjectHandle parent);
123 virtual MtpResponseCode getObjectPropertyValue(MtpObjectHandle handle,
127 virtual MtpResponseCode setObjectPropertyValue(MtpObjectHandle handle,
139 virtual MtpResponseCode getObjectPropertyList(MtpObjectHandle handle,
144 virtual MtpResponseCode getObjectInfo(MtpObjectHandle handle,
147 virtual void* getThumbnail(MtpObjectHandle handle, size_t& outThumbSize);
[all …]