Lines Matching refs:MtpServer
29 #define LOG_TAG "MtpServer"
35 #include "MtpServer.h"
98 MtpServer::MtpServer(int fd, MtpDatabase* database, bool ptp,
114 MtpServer::~MtpServer() {
117 void MtpServer::addStorage(MtpStorage* storage) {
124 void MtpServer::removeStorage(MtpStorage* storage) {
136 MtpStorage* MtpServer::getStorage(MtpStorageID id) {
147 bool MtpServer::hasStorage(MtpStorageID id) {
153 void MtpServer::run() {
156 LOGV("MtpServer::run fd: %d\n", fd);
244 void MtpServer::sendObjectAdded(MtpObjectHandle handle) {
249 void MtpServer::sendObjectRemoved(MtpObjectHandle handle) {
254 void MtpServer::sendStoreAdded(MtpStorageID id) {
259 void MtpServer::sendStoreRemoved(MtpStorageID id) {
264 void MtpServer::sendEvent(MtpEventCode code, uint32_t param1) {
274 void MtpServer::addEditObject(MtpObjectHandle handle, MtpString& path,
280 MtpServer::ObjectEdit* MtpServer::getEditObject(MtpObjectHandle handle) {
289 void MtpServer::removeEditObject(MtpObjectHandle handle) {
302 void MtpServer::commitEdit(ObjectEdit* edit) {
307 bool MtpServer::handleRequest() {
422 MtpResponseCode MtpServer::doGetDeviceInfo() {
477 MtpResponseCode MtpServer::doOpenSession() {
490 MtpResponseCode MtpServer::doCloseSession() {
499 MtpResponseCode MtpServer::doGetStorageIDs() {
511 MtpResponseCode MtpServer::doGetStorageInfo() {
534 MtpResponseCode MtpServer::doGetObjectPropsSupported() {
544 MtpResponseCode MtpServer::doGetObjectHandles() {
561 MtpResponseCode MtpServer::doGetNumObjects() {
581 MtpResponseCode MtpServer::doGetObjectReferences() {
599 MtpResponseCode MtpServer::doSetObjectReferences() {
612 MtpResponseCode MtpServer::doGetObjectPropValue() {
623 MtpResponseCode MtpServer::doSetObjectPropValue() {
634 MtpResponseCode MtpServer::doGetDevicePropValue() {
642 MtpResponseCode MtpServer::doSetDevicePropValue() {
650 MtpResponseCode MtpServer::doResetDevicePropValue() {
658 MtpResponseCode MtpServer::doGetObjectPropList() {
675 MtpResponseCode MtpServer::doGetObjectInfo() {
715 MtpResponseCode MtpServer::doGetObject() {
750 MtpResponseCode MtpServer::doGetThumb() {
766 MtpResponseCode MtpServer::doGetPartialObject(MtpOperationCode operation) {
816 MtpResponseCode MtpServer::doSendObjectInfo() {
912 MtpResponseCode MtpServer::doSendObject() {
1043 MtpResponseCode MtpServer::doDeleteObject() {
1063 MtpResponseCode MtpServer::doGetObjectPropDesc() {
1076 MtpResponseCode MtpServer::doGetDevicePropDesc() {
1087 MtpResponseCode MtpServer::doSendPartialObject() {
1151 MtpResponseCode MtpServer::doTruncateObject() {
1170 MtpResponseCode MtpServer::doBeginEditObject() {
1194 MtpResponseCode MtpServer::doEndEditObject() {