Home
last modified time | relevance | path

Searched refs:MtpResponseCode (Results 1 – 10 of 10) sorted by relevance

/frameworks/av/media/mtp/
DMtpServer.h137 MtpResponseCode doGetDeviceInfo();
138 MtpResponseCode doOpenSession();
139 MtpResponseCode doCloseSession();
140 MtpResponseCode doGetStorageIDs();
141 MtpResponseCode doGetStorageInfo();
142 MtpResponseCode doGetObjectPropsSupported();
143 MtpResponseCode doGetObjectHandles();
144 MtpResponseCode doGetNumObjects();
145 MtpResponseCode doGetObjectReferences();
146 MtpResponseCode doSetObjectReferences();
[all …]
DIMtpDatabase.h63 virtual MtpResponseCode getObjectPropertyValue(MtpObjectHandle handle,
67 virtual MtpResponseCode setObjectPropertyValue(MtpObjectHandle handle,
71 virtual MtpResponseCode getDevicePropertyValue(MtpDeviceProperty property,
74 virtual MtpResponseCode setDevicePropertyValue(MtpDeviceProperty property,
77 virtual MtpResponseCode resetDeviceProperty(MtpDeviceProperty property) = 0;
79 virtual MtpResponseCode getObjectPropertyList(MtpObjectHandle handle,
84 virtual MtpResponseCode getObjectInfo(MtpObjectHandle handle,
89 virtual MtpResponseCode getObjectFilePath(MtpObjectHandle handle,
96 virtual MtpResponseCode beginDeleteObject(MtpObjectHandle handle) = 0;
101 virtual MtpResponseCode setObjectReferences(MtpObjectHandle handle,
[all …]
DMtpServer.cpp336 MtpResponseCode response; in handleRequest()
466 MtpResponseCode MtpServer::doGetDeviceInfo() { in doGetDeviceInfo()
511 MtpResponseCode MtpServer::doOpenSession() { in doOpenSession()
525 MtpResponseCode MtpServer::doCloseSession() { in doCloseSession()
533 MtpResponseCode MtpServer::doGetStorageIDs() { in doGetStorageIDs()
545 MtpResponseCode MtpServer::doGetStorageInfo() { in doGetStorageInfo()
571 MtpResponseCode MtpServer::doGetObjectPropsSupported() { in doGetObjectPropsSupported()
583 MtpResponseCode MtpServer::doGetObjectHandles() { in doGetObjectHandles()
604 MtpResponseCode MtpServer::doGetNumObjects() { in doGetNumObjects()
626 MtpResponseCode MtpServer::doGetObjectReferences() { in doGetObjectReferences()
[all …]
DMtpResponsePacket.h43 inline MtpResponseCode getResponseCode() const { return getContainerCode(); } in getResponseCode()
44 inline void setResponseCode(MtpResponseCode code) in setResponseCode()
DMtpDevice.cpp339 MtpResponseCode ret = readResponse(); in openSession()
363 MtpResponseCode ret = readResponse(); in getDeviceInfo()
382 MtpResponseCode ret = readResponse(); in getStorageIDs()
398 MtpResponseCode ret = readResponse(); in getStorageInfo()
421 MtpResponseCode ret = readResponse(); in getObjectHandles()
439 MtpResponseCode ret = readResponse(); in getObjectInfo()
456 MtpResponseCode ret = readResponse(); in getThumbnail()
506 MtpResponseCode ret = readResponse(); in sendObjectInfo()
533 const MtpResponseCode ret = readResponse(); in sendObject()
545 MtpResponseCode ret = readResponse(); in deleteObject()
[all …]
DMtpTypes.h29 typedef uint16_t MtpResponseCode; typedef
DMtpDevice.h167 MtpResponseCode readResponse();
/frameworks/av/media/mtp/tests/MtpFuzzer/
DMtpMockDatabase.h70 MtpResponseCode getObjectPropertyValue(MtpObjectHandle handle, MtpObjectProperty property,
73 MtpResponseCode setObjectPropertyValue(MtpObjectHandle handle, MtpObjectProperty property,
76 MtpResponseCode getDevicePropertyValue(MtpDeviceProperty property, MtpDataPacket& packet);
78 MtpResponseCode setDevicePropertyValue(MtpDeviceProperty property, MtpDataPacket& packet);
80 MtpResponseCode resetDeviceProperty(MtpDeviceProperty property);
82 MtpResponseCode getObjectPropertyList(MtpObjectHandle handle, uint32_t format,
86 MtpResponseCode getObjectInfo(MtpObjectHandle handle, MtpObjectInfo& info);
90 MtpResponseCode getObjectFilePath(MtpObjectHandle handle, MtpStringBuffer& outFilePath,
95 MtpResponseCode beginDeleteObject(MtpObjectHandle handle);
100 MtpResponseCode setObjectReferences(MtpObjectHandle handle, MtpObjectHandleList* references);
[all …]
DMtpMockDatabase.cpp116 MtpResponseCode MtpMockDatabase::getObjectPropertyValue(MtpObjectHandle handle, in getObjectPropertyValue()
124 MtpResponseCode MtpMockDatabase::setObjectPropertyValue(MtpObjectHandle handle, in setObjectPropertyValue()
132 MtpResponseCode MtpMockDatabase::getDevicePropertyValue(MtpDeviceProperty property, in getDevicePropertyValue()
138 MtpResponseCode MtpMockDatabase::setDevicePropertyValue(MtpDeviceProperty property, in setDevicePropertyValue()
144 MtpResponseCode MtpMockDatabase::resetDeviceProperty(MtpDeviceProperty property) { in resetDeviceProperty()
149 MtpResponseCode MtpMockDatabase::getObjectPropertyList(MtpObjectHandle handle, uint32_t format, in getObjectPropertyList()
159 MtpResponseCode MtpMockDatabase::getObjectInfo(MtpObjectHandle handle, MtpObjectInfo& info) { in getObjectInfo()
202 MtpResponseCode MtpMockDatabase::getObjectFilePath(MtpObjectHandle handle, in getObjectFilePath()
261 MtpResponseCode MtpMockDatabase::beginDeleteObject(MtpObjectHandle handle) { in beginDeleteObject()
275 MtpResponseCode MtpMockDatabase::setObjectReferences(MtpObjectHandle handle, in setObjectReferences()
[all …]
/frameworks/base/media/jni/
Dandroid_mtp_MtpDatabase.cpp190 virtual MtpResponseCode getObjectPropertyValue(MtpObjectHandle handle,
194 virtual MtpResponseCode setObjectPropertyValue(MtpObjectHandle handle,
198 virtual MtpResponseCode getDevicePropertyValue(MtpDeviceProperty property,
201 virtual MtpResponseCode setDevicePropertyValue(MtpDeviceProperty property,
204 virtual MtpResponseCode resetDeviceProperty(MtpDeviceProperty property);
206 virtual MtpResponseCode getObjectPropertyList(MtpObjectHandle handle,
211 virtual MtpResponseCode getObjectInfo(MtpObjectHandle handle,
216 virtual MtpResponseCode getObjectFilePath(MtpObjectHandle handle,
221 virtual MtpResponseCode beginDeleteObject(MtpObjectHandle handle);
229 virtual MtpResponseCode setObjectReferences(MtpObjectHandle handle,
[all …]