Lines Matching refs:mDatabase
110 : mDatabase(database), in MtpServer()
322 mDatabase->rescanFile((const char *)edit->mPath, edit->mHandle, edit->mFormat); in commitEdit()
463 MtpObjectFormatList* playbackFormats = mDatabase->getSupportedPlaybackFormats(); in doGetDeviceInfo()
464 MtpObjectFormatList* captureFormats = mDatabase->getSupportedCaptureFormats(); in doGetDeviceInfo()
465 MtpDevicePropertyList* deviceProperties = mDatabase->getSupportedDeviceProperties(); in doGetDeviceInfo()
571 MtpObjectPropertyList* properties = mDatabase->getSupportedObjectProperties(format); in doGetObjectPropsSupported()
590 MtpObjectHandleList* handles = mDatabase->getObjectList(storageID, format, parent); in doGetObjectHandles()
610 int count = mDatabase->getNumObjects(storageID, format, parent); in doGetNumObjects()
630 MtpObjectHandleList* handles = mDatabase->getObjectReferences(handle); in doGetObjectReferences()
652 MtpResponseCode result = mDatabase->setObjectReferences(handle, references); in doSetObjectReferences()
667 return mDatabase->getObjectPropertyValue(handle, property, mData); in doGetObjectPropValue()
680 return mDatabase->setObjectPropertyValue(handle, property, mData); in doSetObjectPropValue()
690 return mDatabase->getDevicePropertyValue(property, mData); in doGetDevicePropValue()
700 return mDatabase->setDevicePropertyValue(property, mData); in doSetDevicePropValue()
710 return mDatabase->resetDeviceProperty(property); in doResetDevicePropValue()
729 return mDatabase->getObjectPropertyList(handle, format, property, groupCode, depth, mData); in doGetObjectPropList()
739 MtpResponseCode result = mDatabase->getObjectInfo(handle, info); in doGetObjectInfo()
784 int result = mDatabase->getObjectFilePath(handle, pathBuf, fileLength, format); in doGetObject()
830 void* thumb = mDatabase->getThumbnail(handle, thumbSize); in doGetThumb()
870 int result = mDatabase->getObjectFilePath(handle, pathBuf, fileLength, format); in doGetPartialObject()
923 int result = mDatabase->getObjectFilePath(parent, path, length, format); in doSendObjectInfo()
981 MtpObjectHandle handle = mDatabase->beginSendObject((const char*)path, format, in doSendObjectInfo()
994 mDatabase->endSendObject(handle, MTP_RESPONSE_OK); in doSendObjectInfo()
1027 result = mDatabase->getObjectInfo(objectHandle, info); in doMoveObject()
1030 result = mDatabase->getObjectFilePath(objectHandle, fromPath, fileLength, format); in doMoveObject()
1040 result = mDatabase->getObjectFilePath(parent, path, parentLength, parentFormat); in doMoveObject()
1051 result = mDatabase->beginMoveObject(objectHandle, parent, storageID); in doMoveObject()
1081 mDatabase->endMoveObject(info.mParent, parent, info.mStorageID, storageID, objectHandle, in doMoveObject()
1105 result = mDatabase->getObjectInfo(objectHandle, info); in doCopyObject()
1108 result = mDatabase->getObjectFilePath(objectHandle, fromPath, fileLength, format); in doCopyObject()
1118 result = mDatabase->getObjectFilePath(parent, path, parentLength, parentFormat); in doCopyObject()
1133 MtpObjectHandle handle = mDatabase->beginCopyObject(objectHandle, parent, storageID); in doCopyObject()
1151 mDatabase->endCopyObject(handle, result); in doCopyObject()
1255 mDatabase->endSendObject(mSendObjectHandle, result == MTP_RESPONSE_OK); in doSendObject()
1280 int result = mDatabase->getObjectFilePath(handle, filePath, fileLength, format); in doDeleteObject()
1285 result = mDatabase->beginDeleteObject(handle); in doDeleteObject()
1291 mDatabase->endDeleteObject(handle, success); in doDeleteObject()
1302 MtpProperty* property = mDatabase->getObjectPropertyDesc(propCode, format); in doGetObjectPropDesc()
1315 MtpProperty* property = mDatabase->getDevicePropertyDesc(propCode); in doGetDevicePropDesc()
1431 int result = mDatabase->getObjectFilePath(handle, path, fileLength, format); in doBeginEditObject()