Lines Matching refs:mData

193             int ret = mData.read(mHandle);
204 mData.reset();
208 if (!dataIn && mData.hasData()) {
209 mData.setOperationCode(operation);
210 mData.setTransactionID(transaction);
212 ret = mData.write(mHandle);
459 mData.putUInt16(MTP_STANDARD_VERSION);
461 mData.putUInt32(0);
464 mData.putUInt32(6);
466 mData.putUInt16(MTP_STANDARD_VERSION);
474 mData.putString(string); // MTP Extensions
475 mData.putUInt16(0); //Functional Mode
476 mData.putAUInt16(kSupportedOperationCodes,
478 mData.putAUInt16(kSupportedEventCodes,
480 mData.putAUInt16(deviceProperties); // Device Properties Supported
481 mData.putAUInt16(captureFormats); // Capture Formats
482 mData.putAUInt16(playbackFormats); // Playback Formats
484 mData.putString(mDeviceInfoManufacturer); // Manufacturer
485 mData.putString(mDeviceInfoModel); // Model
486 mData.putString(mDeviceInfoDeviceVersion); // Device Version
487 mData.putString(mDeviceInfoSerialNumber); // Serial Number
523 mData.putUInt32(count);
525 mData.putUInt32(mStorages[i]->getStorageID());
543 mData.putUInt16(storage->getType());
544 mData.putUInt16(storage->getFileSystemType());
545 mData.putUInt16(storage->getAccessCapability());
546 mData.putUInt64(storage->getMaxCapacity());
547 mData.putUInt64(storage->getFreeSpace());
548 mData.putUInt32(1024*1024*1024); // Free Space in Objects
550 mData.putString(string);
551 mData.putEmptyString(); // Volume Identifier
563 mData.putAUInt16(properties);
584 mData.putAUInt32(handles);
623 mData.putAUInt32(handles);
626 mData.putEmptyArray();
640 MtpObjectHandleList* references = mData.getAUInt32();
658 return mDatabase->getObjectPropertyValue(handle, property, mData);
671 return mDatabase->setObjectPropertyValue(handle, property, mData);
681 return mDatabase->getDevicePropertyValue(property, mData);
691 return mDatabase->setDevicePropertyValue(property, mData);
720 return mDatabase->getObjectPropertyList(handle, format, property, groupCode, depth, mData);
734 mData.putUInt32(info.mStorageID);
735 mData.putUInt16(info.mFormat);
736 mData.putUInt16(info.mProtectionStatus);
743 mData.putUInt32(size);
745 mData.putUInt16(info.mThumbFormat);
746 mData.putUInt32(info.mThumbCompressedSize);
747 mData.putUInt32(info.mThumbPixWidth);
748 mData.putUInt32(info.mThumbPixHeight);
749 mData.putUInt32(info.mImagePixWidth);
750 mData.putUInt32(info.mImagePixHeight);
751 mData.putUInt32(info.mImagePixDepth);
752 mData.putUInt32(info.mParent);
753 mData.putUInt16(info.mAssociationType);
754 mData.putUInt32(info.mAssociationDesc);
755 mData.putUInt32(info.mSequenceNumber);
756 mData.putString(info.mName);
758 mData.putString(date); // date created
760 mData.putString(date); // date modified
761 mData.putEmptyString(); // keywords
824 mData.setOperationCode(mRequest.getOperationCode());
825 mData.setTransactionID(mRequest.getTransactionID());
826 mData.writeData(mHandle, thumb, thumbSize);
922 if (!mData.getUInt32(temp32)) return MTP_RESPONSE_INVALID_PARAMETER; // storage ID
923 if (!mData.getUInt16(temp16)) return MTP_RESPONSE_INVALID_PARAMETER;
925 if (!mData.getUInt16(temp16)) return MTP_RESPONSE_INVALID_PARAMETER; // protection status
926 if (!mData.getUInt32(temp32)) return MTP_RESPONSE_INVALID_PARAMETER;
928 if (!mData.getUInt16(temp16)) return MTP_RESPONSE_INVALID_PARAMETER; // thumb format
929 if (!mData.getUInt32(temp32)) return MTP_RESPONSE_INVALID_PARAMETER; // thumb compressed size
930 if (!mData.getUInt32(temp32)) return MTP_RESPONSE_INVALID_PARAMETER; // thumb pix width
931 if (!mData.getUInt32(temp32)) return MTP_RESPONSE_INVALID_PARAMETER; // thumb pix height
932 if (!mData.getUInt32(temp32)) return MTP_RESPONSE_INVALID_PARAMETER; // image pix width
933 if (!mData.getUInt32(temp32)) return MTP_RESPONSE_INVALID_PARAMETER; // image pix height
934 if (!mData.getUInt32(temp32)) return MTP_RESPONSE_INVALID_PARAMETER; // image bit depth
935 if (!mData.getUInt32(temp32)) return MTP_RESPONSE_INVALID_PARAMETER; // parent
936 if (!mData.getUInt16(temp16)) return MTP_RESPONSE_INVALID_PARAMETER;
937 if (!mData.getUInt32(temp32)) return MTP_RESPONSE_INVALID_PARAMETER;
938 if (!mData.getUInt32(temp32)) return MTP_RESPONSE_INVALID_PARAMETER; // sequence number
940 if (!mData.getString(name)) return MTP_RESPONSE_INVALID_PARAMETER; // file name
945 if (!mData.getString(created)) return MTP_RESPONSE_INVALID_PARAMETER; // date created
946 if (!mData.getString(modified)) return MTP_RESPONSE_INVALID_PARAMETER; // date modified
1163 ret = mData.read(mHandle);
1192 ret = write(mfr.fd, mData.getData(), initialData);
1242 mData.reset();
1294 property->write(mData);
1307 property->write(mData);
1340 int ret = mData.read(mHandle);
1346 ret = pwrite(edit->mFD, mData.getData(), initialData, offset);
1378 mData.reset();