• Home
  • Raw
  • Download

Lines Matching refs:mData

200             int ret = mData.read(mHandle);  in run()
211 mData.reset(); in run()
215 if (!dataIn && mData.hasData()) { in run()
216 mData.setOperationCode(operation); in run()
217 mData.setTransactionID(transaction); in run()
219 ret = mData.write(mHandle); in run()
474 mData.putUInt16(MTP_STANDARD_VERSION); in doGetDeviceInfo()
476 mData.putUInt32(0); in doGetDeviceInfo()
479 mData.putUInt32(6); in doGetDeviceInfo()
481 mData.putUInt16(MTP_STANDARD_VERSION); in doGetDeviceInfo()
489 mData.putString(string); // MTP Extensions in doGetDeviceInfo()
490 mData.putUInt16(0); //Functional Mode in doGetDeviceInfo()
491 mData.putAUInt16(kSupportedOperationCodes, in doGetDeviceInfo()
493 mData.putAUInt16(kSupportedEventCodes, in doGetDeviceInfo()
495 mData.putAUInt16(deviceProperties); // Device Properties Supported in doGetDeviceInfo()
496 mData.putAUInt16(captureFormats); // Capture Formats in doGetDeviceInfo()
497 mData.putAUInt16(playbackFormats); // Playback Formats in doGetDeviceInfo()
499 mData.putString(mDeviceInfoManufacturer); // Manufacturer in doGetDeviceInfo()
500 mData.putString(mDeviceInfoModel); // Model in doGetDeviceInfo()
501 mData.putString(mDeviceInfoDeviceVersion); // Device Version in doGetDeviceInfo()
502 mData.putString(mDeviceInfoSerialNumber); // Serial Number in doGetDeviceInfo()
538 mData.putUInt32(count); in doGetStorageIDs()
540 mData.putUInt32(mStorages[i]->getStorageID()); in doGetStorageIDs()
558 mData.putUInt16(storage->getType()); in doGetStorageInfo()
559 mData.putUInt16(storage->getFileSystemType()); in doGetStorageInfo()
560 mData.putUInt16(storage->getAccessCapability()); in doGetStorageInfo()
561 mData.putUInt64(storage->getMaxCapacity()); in doGetStorageInfo()
562 mData.putUInt64(storage->getFreeSpace()); in doGetStorageInfo()
563 mData.putUInt32(1024*1024*1024); // Free Space in Objects in doGetStorageInfo()
565 mData.putString(string); in doGetStorageInfo()
566 mData.putEmptyString(); // Volume Identifier in doGetStorageInfo()
578 mData.putAUInt16(properties); in doGetObjectPropsSupported()
599 mData.putAUInt32(handles); in doGetObjectHandles()
638 mData.putAUInt32(handles); in doGetObjectReferences()
641 mData.putEmptyArray(); in doGetObjectReferences()
655 MtpObjectHandleList* references = mData.getAUInt32(); in doSetObjectReferences()
673 return mDatabase->getObjectPropertyValue(handle, property, mData); in doGetObjectPropValue()
686 return mDatabase->setObjectPropertyValue(handle, property, mData); in doSetObjectPropValue()
696 return mDatabase->getDevicePropertyValue(property, mData); in doGetDevicePropValue()
706 return mDatabase->setDevicePropertyValue(property, mData); in doSetDevicePropValue()
735 return mDatabase->getObjectPropertyList(handle, format, property, groupCode, depth, mData); in doGetObjectPropList()
749 mData.putUInt32(info.mStorageID); in doGetObjectInfo()
750 mData.putUInt16(info.mFormat); in doGetObjectInfo()
751 mData.putUInt16(info.mProtectionStatus); in doGetObjectInfo()
758 mData.putUInt32(size); in doGetObjectInfo()
760 mData.putUInt16(info.mThumbFormat); in doGetObjectInfo()
761 mData.putUInt32(info.mThumbCompressedSize); in doGetObjectInfo()
762 mData.putUInt32(info.mThumbPixWidth); in doGetObjectInfo()
763 mData.putUInt32(info.mThumbPixHeight); in doGetObjectInfo()
764 mData.putUInt32(info.mImagePixWidth); in doGetObjectInfo()
765 mData.putUInt32(info.mImagePixHeight); in doGetObjectInfo()
766 mData.putUInt32(info.mImagePixDepth); in doGetObjectInfo()
767 mData.putUInt32(info.mParent); in doGetObjectInfo()
768 mData.putUInt16(info.mAssociationType); in doGetObjectInfo()
769 mData.putUInt32(info.mAssociationDesc); in doGetObjectInfo()
770 mData.putUInt32(info.mSequenceNumber); in doGetObjectInfo()
771 mData.putString(info.mName); in doGetObjectInfo()
773 mData.putString(date); // date created in doGetObjectInfo()
775 mData.putString(date); // date modified in doGetObjectInfo()
776 mData.putEmptyString(); // keywords in doGetObjectInfo()
865 mData.setOperationCode(mRequest.getOperationCode()); in doGetThumb()
866 mData.setTransactionID(mRequest.getTransactionID()); in doGetThumb()
867 mData.writeData(mHandle, thumb, thumbSize); in doGetThumb()
963 if (!mData.getUInt32(temp32)) return MTP_RESPONSE_INVALID_PARAMETER; // storage ID in doSendObjectInfo()
964 if (!mData.getUInt16(temp16)) return MTP_RESPONSE_INVALID_PARAMETER; in doSendObjectInfo()
966 if (!mData.getUInt16(temp16)) return MTP_RESPONSE_INVALID_PARAMETER; // protection status in doSendObjectInfo()
967 if (!mData.getUInt32(temp32)) return MTP_RESPONSE_INVALID_PARAMETER; in doSendObjectInfo()
969 if (!mData.getUInt16(temp16)) return MTP_RESPONSE_INVALID_PARAMETER; // thumb format in doSendObjectInfo()
970 if (!mData.getUInt32(temp32)) return MTP_RESPONSE_INVALID_PARAMETER; // thumb compressed size in doSendObjectInfo()
971 if (!mData.getUInt32(temp32)) return MTP_RESPONSE_INVALID_PARAMETER; // thumb pix width in doSendObjectInfo()
972 if (!mData.getUInt32(temp32)) return MTP_RESPONSE_INVALID_PARAMETER; // thumb pix height in doSendObjectInfo()
973 if (!mData.getUInt32(temp32)) return MTP_RESPONSE_INVALID_PARAMETER; // image pix width in doSendObjectInfo()
974 if (!mData.getUInt32(temp32)) return MTP_RESPONSE_INVALID_PARAMETER; // image pix height in doSendObjectInfo()
975 if (!mData.getUInt32(temp32)) return MTP_RESPONSE_INVALID_PARAMETER; // image bit depth in doSendObjectInfo()
976 if (!mData.getUInt32(temp32)) return MTP_RESPONSE_INVALID_PARAMETER; // parent in doSendObjectInfo()
977 if (!mData.getUInt16(temp16)) return MTP_RESPONSE_INVALID_PARAMETER; in doSendObjectInfo()
978 if (!mData.getUInt32(temp32)) return MTP_RESPONSE_INVALID_PARAMETER; in doSendObjectInfo()
979 if (!mData.getUInt32(temp32)) return MTP_RESPONSE_INVALID_PARAMETER; // sequence number in doSendObjectInfo()
981 if (!mData.getString(name)) return MTP_RESPONSE_INVALID_PARAMETER; // file name in doSendObjectInfo()
986 if (!mData.getString(created)) return MTP_RESPONSE_INVALID_PARAMETER; // date created in doSendObjectInfo()
987 if (!mData.getString(modified)) return MTP_RESPONSE_INVALID_PARAMETER; // date modified in doSendObjectInfo()
1222 ret = mData.read(mHandle); in doSendObject()
1251 ret = write(mfr.fd, mData.getData(), initialData); in doSendObject()
1301 mData.reset(); in doSendObject()
1353 property->write(mData); in doGetObjectPropDesc()
1366 property->write(mData); in doGetDevicePropDesc()
1399 int ret = mData.read(mHandle); in doSendPartialObject()
1405 ret = pwrite(edit->mFD, mData.getData(), initialData, offset); in doSendPartialObject()
1437 mData.reset(); in doSendPartialObject()