Lines Matching refs:mDatabase
112 : mDatabase(database), in MtpServer()
324 mDatabase->rescanFile((const char *)edit->mPath, edit->mHandle, edit->mFormat); in commitEdit()
465 MtpObjectFormatList* playbackFormats = mDatabase->getSupportedPlaybackFormats(); in doGetDeviceInfo()
466 MtpObjectFormatList* captureFormats = mDatabase->getSupportedCaptureFormats(); in doGetDeviceInfo()
467 MtpDevicePropertyList* deviceProperties = mDatabase->getSupportedDeviceProperties(); in doGetDeviceInfo()
573 MtpObjectPropertyList* properties = mDatabase->getSupportedObjectProperties(format); in doGetObjectPropsSupported()
592 MtpObjectHandleList* handles = mDatabase->getObjectList(storageID, format, parent); in doGetObjectHandles()
612 int count = mDatabase->getNumObjects(storageID, format, parent); in doGetNumObjects()
632 MtpObjectHandleList* handles = mDatabase->getObjectReferences(handle); in doGetObjectReferences()
654 MtpResponseCode result = mDatabase->setObjectReferences(handle, references); in doSetObjectReferences()
669 return mDatabase->getObjectPropertyValue(handle, property, mData); in doGetObjectPropValue()
682 return mDatabase->setObjectPropertyValue(handle, property, mData); in doSetObjectPropValue()
692 return mDatabase->getDevicePropertyValue(property, mData); in doGetDevicePropValue()
702 return mDatabase->setDevicePropertyValue(property, mData); in doSetDevicePropValue()
712 return mDatabase->resetDeviceProperty(property); in doResetDevicePropValue()
731 return mDatabase->getObjectPropertyList(handle, format, property, groupCode, depth, mData); in doGetObjectPropList()
741 MtpResponseCode result = mDatabase->getObjectInfo(handle, info); in doGetObjectInfo()
786 int result = mDatabase->getObjectFilePath(handle, pathBuf, fileLength, format); in doGetObject()
805 mfr.fd = mDatabase->openFilePath(filePath, true); in doGetObject()
858 void* thumb = mDatabase->getThumbnail(handle, thumbSize); in doGetThumb()
898 int result = mDatabase->getObjectFilePath(handle, pathBuf, fileLength, format); in doGetPartialObject()
951 int result = mDatabase->getObjectFilePath(parent, path, length, format); in doSendObjectInfo()
1025 MtpObjectHandle handle = mDatabase->beginSendObject((const char*)path, format, in doSendObjectInfo()
1038 mDatabase->endSendObject(handle, MTP_RESPONSE_OK); in doSendObjectInfo()
1071 result = mDatabase->getObjectInfo(objectHandle, info); in doMoveObject()
1074 result = mDatabase->getObjectFilePath(objectHandle, fromPath, fileLength, format); in doMoveObject()
1084 result = mDatabase->getObjectFilePath(parent, path, parentLength, parentFormat); in doMoveObject()
1095 result = mDatabase->beginMoveObject(objectHandle, parent, storageID); in doMoveObject()
1125 mDatabase->endMoveObject(info.mParent, parent, info.mStorageID, storageID, objectHandle, in doMoveObject()
1149 result = mDatabase->getObjectInfo(objectHandle, info); in doCopyObject()
1152 result = mDatabase->getObjectFilePath(objectHandle, fromPath, fileLength, format); in doCopyObject()
1162 result = mDatabase->getObjectFilePath(parent, path, parentLength, parentFormat); in doCopyObject()
1177 MtpObjectHandle handle = mDatabase->beginCopyObject(objectHandle, parent, storageID); in doCopyObject()
1195 mDatabase->endCopyObject(handle, result); in doCopyObject()
1299 mDatabase->endSendObject(mSendObjectHandle, result == MTP_RESPONSE_OK); in doSendObject()
1324 int result = mDatabase->getObjectFilePath(handle, filePath, fileLength, format); in doDeleteObject()
1329 result = mDatabase->beginDeleteObject(handle); in doDeleteObject()
1335 mDatabase->endDeleteObject(handle, success); in doDeleteObject()
1346 MtpProperty* property = mDatabase->getObjectPropertyDesc(propCode, format); in doGetObjectPropDesc()
1359 MtpProperty* property = mDatabase->getDevicePropertyDesc(propCode); in doGetDevicePropDesc()
1475 int result = mDatabase->getObjectFilePath(handle, path, fileLength, format); in doBeginEditObject()