Home
last modified time | relevance | path

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

/frameworks/av/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);
114 void addEditObject(MtpObjectHandle handle, MtpString& path,
116 ObjectEdit* getEditObject(MtpObjectHandle handle);
117 void removeEditObject(MtpObjectHandle handle);
DMtpObjectInfo.h28 MtpObjectHandle mHandle;
40 MtpObjectHandle mParent;
50 MtpObjectInfo(MtpObjectHandle handle);
DMtpServer.cpp246 void MtpServer::sendObjectAdded(MtpObjectHandle handle) { in sendObjectAdded()
251 void MtpServer::sendObjectRemoved(MtpObjectHandle handle) { in sendObjectRemoved()
281 void MtpServer::addEditObject(MtpObjectHandle handle, MtpString& path, in addEditObject()
287 MtpServer::ObjectEdit* MtpServer::getEditObject(MtpObjectHandle handle) { in getEditObject()
296 void MtpServer::removeEditObject(MtpObjectHandle handle) { in removeEditObject()
565 MtpObjectHandle parent = mRequest.getParameter(3); // 0xFFFFFFFF for objects with no parent in doGetObjectHandles()
582 MtpObjectHandle parent = mRequest.getParameter(3); // 0xFFFFFFFF for objects with no parent in doGetNumObjects()
602 MtpObjectHandle handle = mRequest.getParameter(1); in doGetObjectReferences()
631 MtpObjectHandle handle = mRequest.getParameter(1); in doGetObjectPropValue()
642 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.cpp103 virtual MtpObjectHandle beginSendObject(const char* path,
105 MtpObjectHandle parent,
111 MtpObjectHandle handle,
117 MtpObjectHandle parent);
121 MtpObjectHandle parent);
130 virtual MtpResponseCode getObjectPropertyValue(MtpObjectHandle handle,
134 virtual MtpResponseCode setObjectPropertyValue(MtpObjectHandle handle,
146 virtual MtpResponseCode getObjectPropertyList(MtpObjectHandle handle,
151 virtual MtpResponseCode getObjectInfo(MtpObjectHandle handle,
154 virtual void* getThumbnail(MtpObjectHandle handle, size_t& outThumbSize);
[all …]