Home
last modified time | relevance | path

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

/frameworks/av/media/mtp/
DIMtpDatabase.h34 virtual MtpObjectHandle beginSendObject(const char* path,
36 MtpObjectHandle parent,
40 virtual void endSendObject(MtpObjectHandle handle,
45 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,
[all …]
DMtpDevice.h67 MtpObjectHandle mLastSendObjectInfoObjectHandle;
103 MtpObjectHandle parent);
104 MtpObjectInfo* getObjectInfo(MtpObjectHandle handle);
105 void* getThumbnail(MtpObjectHandle handle, int& outLength);
106 MtpObjectHandle sendObjectInfo(MtpObjectInfo* info);
107 bool sendObject(MtpObjectHandle handle, uint32_t size, int srcFD);
108 bool deleteObject(MtpObjectHandle handle);
109 MtpObjectHandle getParent(MtpObjectHandle handle);
110 MtpStorageID getStorageID(MtpObjectHandle handle);
118 bool getObjectPropValue(MtpObjectHandle handle, MtpProperty* property);
[all …]
DMtpServer.h71 MtpObjectHandle mSendObjectHandle;
83 MtpObjectHandle mHandle;
89 ObjectEdit(MtpObjectHandle handle, const char* path, uint64_t size, in ObjectEdit()
116 void sendObjectAdded(MtpObjectHandle handle);
117 void sendObjectRemoved(MtpObjectHandle handle);
118 void sendObjectInfoChanged(MtpObjectHandle handle);
126 void addEditObject(MtpObjectHandle handle, MtpStringBuffer& path,
128 ObjectEdit* getEditObject(MtpObjectHandle handle);
129 void removeEditObject(MtpObjectHandle handle);
DMtpDevice.cpp410 MtpObjectFormat format, MtpObjectHandle parent) { in getObjectHandles()
428 MtpObjectInfo* MtpDevice::getObjectInfo(MtpObjectHandle handle) { in getObjectInfo()
450 void* MtpDevice::getThumbnail(MtpObjectHandle handle, int& outLength) { in getThumbnail()
465 MtpObjectHandle MtpDevice::sendObjectInfo(MtpObjectInfo* info) { in sendObjectInfo()
469 MtpObjectHandle parent = info->mParent; in sendObjectInfo()
516 return (MtpObjectHandle)-1; in sendObjectInfo()
519 bool MtpDevice::sendObject(MtpObjectHandle handle, uint32_t size, int srcFD) { in sendObject()
539 bool MtpDevice::deleteObject(MtpObjectHandle handle) { in deleteObject()
552 MtpObjectHandle MtpDevice::getParent(MtpObjectHandle handle) { in getParent()
555 MtpObjectHandle parent = info->mParent; in getParent()
[all …]
DMtpObjectInfo.h28 MtpObjectHandle mHandle;
40 MtpObjectHandle mParent;
50 explicit MtpObjectInfo(MtpObjectHandle handle);
DMtpServer.cpp255 void MtpServer::sendObjectAdded(MtpObjectHandle handle) { in sendObjectAdded()
260 void MtpServer::sendObjectRemoved(MtpObjectHandle handle) { in sendObjectRemoved()
265 void MtpServer::sendObjectInfoChanged(MtpObjectHandle handle) { in sendObjectInfoChanged()
295 void MtpServer::addEditObject(MtpObjectHandle handle, MtpStringBuffer& path, in addEditObject()
301 MtpServer::ObjectEdit* MtpServer::getEditObject(MtpObjectHandle handle) { in getEditObject()
310 void MtpServer::removeEditObject(MtpObjectHandle handle) { in removeEditObject()
586 MtpObjectHandle parent = mRequest.getParameter(3); // 0xFFFFFFFF for objects with no parent in doGetObjectHandles()
607 MtpObjectHandle parent = mRequest.getParameter(3); // 0xFFFFFFFF for objects with no parent in doGetNumObjects()
629 MtpObjectHandle handle = mRequest.getParameter(1); in doGetObjectReferences()
664 MtpObjectHandle handle = mRequest.getParameter(1); in doGetObjectPropValue()
[all …]
DMtpTypes.h43 typedef uint32_t MtpObjectHandle; typedef
DMtpObjectInfo.cpp27 MtpObjectInfo::MtpObjectInfo(MtpObjectHandle handle) in MtpObjectInfo()
/frameworks/base/media/jni/
Dandroid_mtp_MtpDatabase.cpp107 virtual MtpObjectHandle beginSendObject(const char* path,
109 MtpObjectHandle parent,
112 virtual void endSendObject(MtpObjectHandle handle, bool succeeded);
115 MtpObjectHandle handle,
120 MtpObjectHandle parent);
124 MtpObjectHandle parent);
133 virtual MtpResponseCode getObjectPropertyValue(MtpObjectHandle handle,
137 virtual MtpResponseCode setObjectPropertyValue(MtpObjectHandle handle,
149 virtual MtpResponseCode getObjectPropertyList(MtpObjectHandle handle,
154 virtual MtpResponseCode getObjectInfo(MtpObjectHandle handle,
[all …]