Lines Matching full:mdata
182 int ret = mData.read(fd);
192 mData.dump();
194 mData.reset();
198 if (!dataIn && mData.hasData()) {
199 mData.setOperationCode(operation);
200 mData.setTransactionID(transaction);
202 mData.dump();
203 ret = mData.write(fd);
448 mData.putUInt16(MTP_STANDARD_VERSION);
450 mData.putUInt32(0);
453 mData.putUInt32(6);
455 mData.putUInt16(MTP_STANDARD_VERSION);
463 mData.putString(string); // MTP Extensions
464 mData.putUInt16(0); //Functional Mode
465 mData.putAUInt16(kSupportedOperationCodes,
467 mData.putAUInt16(kSupportedEventCodes,
469 mData.putAUInt16(deviceProperties); // Device Properties Supported
470 mData.putAUInt16(captureFormats); // Capture Formats
471 mData.putAUInt16(playbackFormats); // Playback Formats
475 mData.putString(string); // Manufacturer
479 mData.putString(string); // Model
481 mData.putString(string); // Device Version
485 mData.putString(string); // Serial Number
524 mData.putUInt32(count);
526 mData.putUInt32(mStorages[i]->getStorageID());
544 mData.putUInt16(storage->getType());
545 mData.putUInt16(storage->getFileSystemType());
546 mData.putUInt16(storage->getAccessCapability());
547 mData.putUInt64(storage->getMaxCapacity());
548 mData.putUInt64(storage->getFreeSpace());
549 mData.putUInt32(1024*1024*1024); // Free Space in Objects
551 mData.putString(string);
552 mData.putEmptyString(); // Volume Identifier
564 mData.putAUInt16(properties);
583 mData.putAUInt32(handles);
622 mData.putAUInt32(handles);
625 mData.putEmptyArray();
639 MtpObjectHandleList* references = mData.getAUInt32();
657 return mDatabase->getObjectPropertyValue(handle, property, mData);
670 return mDatabase->setObjectPropertyValue(handle, property, mData);
680 return mDatabase->getDevicePropertyValue(property, mData);
690 return mDatabase->setDevicePropertyValue(property, mData);
719 return mDatabase->getObjectPropertyList(handle, format, property, groupCode, depth, mData);
733 mData.putUInt32(info.mStorageID);
734 mData.putUInt16(info.mFormat);
735 mData.putUInt16(info.mProtectionStatus);
742 mData.putUInt32(size);
744 mData.putUInt16(info.mThumbFormat);
745 mData.putUInt32(info.mThumbCompressedSize);
746 mData.putUInt32(info.mThumbPixWidth);
747 mData.putUInt32(info.mThumbPixHeight);
748 mData.putUInt32(info.mImagePixWidth);
749 mData.putUInt32(info.mImagePixHeight);
750 mData.putUInt32(info.mImagePixDepth);
751 mData.putUInt32(info.mParent);
752 mData.putUInt16(info.mAssociationType);
753 mData.putUInt32(info.mAssociationDesc);
754 mData.putUInt32(info.mSequenceNumber);
755 mData.putString(info.mName);
757 mData.putString(date); // date created
759 mData.putString(date); // date modified
760 mData.putEmptyString(); // keywords
814 mData.setOperationCode(mRequest.getOperationCode());
815 mData.setTransactionID(mRequest.getTransactionID());
816 mData.writeData(mFD, thumb, thumbSize);
911 if (!mData.getUInt32(temp32)) return MTP_RESPONSE_INVALID_PARAMETER; // storage ID
912 if (!mData.getUInt16(temp16)) return MTP_RESPONSE_INVALID_PARAMETER;
914 if (!mData.getUInt16(temp16)) return MTP_RESPONSE_INVALID_PARAMETER; // protection status
915 if (!mData.getUInt32(temp32)) return MTP_RESPONSE_INVALID_PARAMETER;
917 if (!mData.getUInt16(temp16)) return MTP_RESPONSE_INVALID_PARAMETER; // thumb format
918 if (!mData.getUInt32(temp32)) return MTP_RESPONSE_INVALID_PARAMETER; // thumb compressed size
919 if (!mData.getUInt32(temp32)) return MTP_RESPONSE_INVALID_PARAMETER; // thumb pix width
920 if (!mData.getUInt32(temp32)) return MTP_RESPONSE_INVALID_PARAMETER; // thumb pix height
921 if (!mData.getUInt32(temp32)) return MTP_RESPONSE_INVALID_PARAMETER; // image pix width
922 if (!mData.getUInt32(temp32)) return MTP_RESPONSE_INVALID_PARAMETER; // image pix height
923 if (!mData.getUInt32(temp32)) return MTP_RESPONSE_INVALID_PARAMETER; // image bit depth
924 if (!mData.getUInt32(temp32)) return MTP_RESPONSE_INVALID_PARAMETER; // parent
925 if (!mData.getUInt16(temp16)) return MTP_RESPONSE_INVALID_PARAMETER;
926 if (!mData.getUInt32(temp32)) return MTP_RESPONSE_INVALID_PARAMETER;
927 if (!mData.getUInt32(temp32)) return MTP_RESPONSE_INVALID_PARAMETER; // sequence number
929 if (!mData.getString(name)) return MTP_RESPONSE_INVALID_PARAMETER; // file name
930 if (!mData.getString(created)) return MTP_RESPONSE_INVALID_PARAMETER; // date created
931 if (!mData.getString(modified)) return MTP_RESPONSE_INVALID_PARAMETER; // date modified
1001 ret = mData.read(mFD);
1021 ret = write(mfr.fd, mData.getData(), initialData);
1059 mData.reset();
1162 property->write(mData);
1175 property->write(mData);
1208 int ret = mData.read(mFD);
1214 ret = pwrite(edit->mFD, mData.getData(), initialData, offset);
1246 mData.reset();