Home
last modified time | relevance | path

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

/frameworks/av/media/mtp/
DMtpDevice.h96 MtpObjectHandle parent);
97 MtpObjectInfo* getObjectInfo(MtpObjectHandle handle);
98 void* getThumbnail(MtpObjectHandle handle, int& outLength);
99 MtpObjectHandle sendObjectInfo(MtpObjectInfo* info);
100 bool sendObject(MtpObjectHandle handle, int size, int srcFD);
101 bool deleteObject(MtpObjectHandle handle);
102 MtpObjectHandle getParent(MtpObjectHandle handle);
103 MtpObjectHandle getStorageID(MtpObjectHandle handle);
111 bool getObjectPropValue(MtpObjectHandle handle, MtpProperty* property);
113 bool readObject(MtpObjectHandle handle, ReadObjectCallback callback,
[all …]
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 …]
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);
DMtpDevice.cpp395 MtpObjectFormat format, MtpObjectHandle parent) { in getObjectHandles()
413 MtpObjectInfo* MtpDevice::getObjectInfo(MtpObjectHandle handle) { in getObjectInfo()
435 void* MtpDevice::getThumbnail(MtpObjectHandle handle, int& outLength) { in getThumbnail()
450 MtpObjectHandle MtpDevice::sendObjectInfo(MtpObjectInfo* info) { in sendObjectInfo()
454 MtpObjectHandle parent = info->mParent; in sendObjectInfo()
499 return (MtpObjectHandle)-1; in sendObjectInfo()
502 bool MtpDevice::sendObject(MtpObjectHandle handle, int size, int srcFD) { in sendObject()
532 bool MtpDevice::deleteObject(MtpObjectHandle handle) { in deleteObject()
545 MtpObjectHandle MtpDevice::getParent(MtpObjectHandle handle) { in getParent()
548 MtpObjectHandle parent = info->mParent; in getParent()
[all …]
DMtpObjectInfo.h28 MtpObjectHandle mHandle;
40 MtpObjectHandle mParent;
50 MtpObjectInfo(MtpObjectHandle handle);
DMtpServer.cpp247 void MtpServer::sendObjectAdded(MtpObjectHandle handle) { in sendObjectAdded()
252 void MtpServer::sendObjectRemoved(MtpObjectHandle handle) { in sendObjectRemoved()
282 void MtpServer::addEditObject(MtpObjectHandle handle, MtpString& path, in addEditObject()
288 MtpServer::ObjectEdit* MtpServer::getEditObject(MtpObjectHandle handle) { in getEditObject()
297 void MtpServer::removeEditObject(MtpObjectHandle handle) { in removeEditObject()
576 MtpObjectHandle parent = mRequest.getParameter(3); // 0xFFFFFFFF for objects with no parent in doGetObjectHandles()
595 MtpObjectHandle parent = mRequest.getParameter(3); // 0xFFFFFFFF for objects with no parent in doGetNumObjects()
617 MtpObjectHandle handle = mRequest.getParameter(1); in doGetObjectReferences()
652 MtpObjectHandle handle = mRequest.getParameter(1); in doGetObjectPropValue()
665 MtpObjectHandle handle = mRequest.getParameter(1); in doSetObjectPropValue()
[all …]
DMtpTypes.h44 typedef uint32_t MtpObjectHandle; typedef
DMtpObjectInfo.cpp27 MtpObjectInfo::MtpObjectInfo(MtpObjectHandle handle) in MtpObjectInfo()
/frameworks/base/media/jni/
Dandroid_mtp_MtpDatabase.cpp108 virtual MtpObjectHandle beginSendObject(const char* path,
110 MtpObjectHandle parent,
116 MtpObjectHandle handle,
122 MtpObjectHandle parent);
126 MtpObjectHandle parent);
135 virtual MtpResponseCode getObjectPropertyValue(MtpObjectHandle handle,
139 virtual MtpResponseCode setObjectPropertyValue(MtpObjectHandle handle,
151 virtual MtpResponseCode getObjectPropertyList(MtpObjectHandle handle,
156 virtual MtpResponseCode getObjectInfo(MtpObjectHandle handle,
159 virtual void* getThumbnail(MtpObjectHandle handle, size_t& outThumbSize);
[all …]