• Home
  • Raw
  • Download

Lines Matching refs:mRequest

181         int ret = mRequest.read(mHandle);  in run()
190 MtpOperationCode operation = mRequest.getOperationCode(); in run()
191 MtpTransactionID transaction = mRequest.getTransactionID(); in run()
292 mEvent.setTransactionID(mRequest.getTransactionID()); in sendEvent()
335 MtpOperationCode operation = mRequest.getOperationCode(); in handleRequest()
346 int containertype = mRequest.getContainerType(); in handleRequest()
516 if (mRequest.getParameterCount() < 1) in doOpenSession()
519 mSessionID = mRequest.getParameter(1); in doOpenSession()
550 if (mRequest.getParameterCount() < 1) in doGetStorageInfo()
553 MtpStorageID id = mRequest.getParameter(1); in doGetStorageInfo()
574 if (mRequest.getParameterCount() < 1) in doGetObjectPropsSupported()
576 MtpObjectFormat format = mRequest.getParameter(1); in doGetObjectPropsSupported()
586 if (mRequest.getParameterCount() < 3) in doGetObjectHandles()
588 MtpStorageID storageID = mRequest.getParameter(1); // 0xFFFFFFFF for all storage in doGetObjectHandles()
589 MtpObjectFormat format = mRequest.getParameter(2); // 0 for all formats in doGetObjectHandles()
590 MtpObjectHandle parent = mRequest.getParameter(3); // 0xFFFFFFFF for objects with no parent in doGetObjectHandles()
607 if (mRequest.getParameterCount() < 3) in doGetNumObjects()
609 MtpStorageID storageID = mRequest.getParameter(1); // 0xFFFFFFFF for all storage in doGetNumObjects()
610 MtpObjectFormat format = mRequest.getParameter(2); // 0 for all formats in doGetNumObjects()
611 MtpObjectHandle parent = mRequest.getParameter(3); // 0xFFFFFFFF for objects with no parent in doGetNumObjects()
631 if (mRequest.getParameterCount() < 1) in doGetObjectReferences()
633 MtpObjectHandle handle = mRequest.getParameter(1); in doGetObjectReferences()
651 if (mRequest.getParameterCount() < 1) in doSetObjectReferences()
653 MtpStorageID handle = mRequest.getParameter(1); in doSetObjectReferences()
666 if (mRequest.getParameterCount() < 2) in doGetObjectPropValue()
668 MtpObjectHandle handle = mRequest.getParameter(1); in doGetObjectPropValue()
669 MtpObjectProperty property = mRequest.getParameter(2); in doGetObjectPropValue()
679 if (mRequest.getParameterCount() < 2) in doSetObjectPropValue()
681 MtpObjectHandle handle = mRequest.getParameter(1); in doSetObjectPropValue()
682 MtpObjectProperty property = mRequest.getParameter(2); in doSetObjectPropValue()
690 if (mRequest.getParameterCount() < 1) in doGetDevicePropValue()
692 MtpDeviceProperty property = mRequest.getParameter(1); in doGetDevicePropValue()
700 if (mRequest.getParameterCount() < 1) in doSetDevicePropValue()
702 MtpDeviceProperty property = mRequest.getParameter(1); in doSetDevicePropValue()
710 if (mRequest.getParameterCount() < 1) in doResetDevicePropValue()
712 MtpDeviceProperty property = mRequest.getParameter(1); in doResetDevicePropValue()
722 if (mRequest.getParameterCount() < 5) in doGetObjectPropList()
725 MtpObjectHandle handle = mRequest.getParameter(1); in doGetObjectPropList()
727 uint32_t format = mRequest.getParameter(2); in doGetObjectPropList()
728 uint32_t property = mRequest.getParameter(3); in doGetObjectPropList()
729 int groupCode = mRequest.getParameter(4); in doGetObjectPropList()
730 int depth = mRequest.getParameter(5); in doGetObjectPropList()
741 if (mRequest.getParameterCount() < 1) in doGetObjectInfo()
743 MtpObjectHandle handle = mRequest.getParameter(1); in doGetObjectInfo()
784 if (mRequest.getParameterCount() < 1) in doGetObject()
786 MtpObjectHandle handle = mRequest.getParameter(1); in doGetObject()
833 mfr.command = mRequest.getOperationCode(); in doGetObject()
834 mfr.transaction_id = mRequest.getTransactionID(); in doGetObject()
858 if (mRequest.getParameterCount() < 1) in doGetThumb()
860 MtpObjectHandle handle = mRequest.getParameter(1); in doGetThumb()
865 mData.setOperationCode(mRequest.getOperationCode()); in doGetThumb()
866 mData.setTransactionID(mRequest.getTransactionID()); in doGetThumb()
878 MtpObjectHandle handle = mRequest.getParameter(1); in doGetPartialObject()
881 offset = mRequest.getParameter(2); in doGetPartialObject()
884 if (mRequest.getParameterCount() < 4) in doGetPartialObject()
888 uint64_t offset2 = mRequest.getParameter(3); in doGetPartialObject()
890 length = mRequest.getParameter(4); in doGetPartialObject()
893 if (mRequest.getParameterCount() < 3) in doGetPartialObject()
897 length = mRequest.getParameter(3); in doGetPartialObject()
917 mfr.command = mRequest.getOperationCode(); in doGetPartialObject()
918 mfr.transaction_id = mRequest.getTransactionID(); in doGetPartialObject()
940 if (mRequest.getParameterCount() < 2) in doSendObjectInfo()
942 MtpStorageID storageID = mRequest.getParameter(1); in doSendObjectInfo()
944 MtpObjectHandle parent = mRequest.getParameter(2); in doSendObjectInfo()
1060 if (mRequest.getParameterCount() < 3) in doMoveObject()
1062 MtpObjectHandle objectHandle = mRequest.getParameter(1); in doMoveObject()
1063 MtpStorageID storageID = mRequest.getParameter(2); in doMoveObject()
1065 MtpObjectHandle parent = mRequest.getParameter(3); in doMoveObject()
1139 if (mRequest.getParameterCount() < 3) in doCopyObject()
1141 MtpObjectHandle objectHandle = mRequest.getParameter(1); in doCopyObject()
1142 MtpStorageID storageID = mRequest.getParameter(2); in doCopyObject()
1144 MtpObjectHandle parent = mRequest.getParameter(3); in doCopyObject()
1319 if (mRequest.getParameterCount() < 1) in doDeleteObject()
1321 MtpObjectHandle handle = mRequest.getParameter(1); in doDeleteObject()
1344 if (mRequest.getParameterCount() < 2) in doGetObjectPropDesc()
1346 MtpObjectProperty propCode = mRequest.getParameter(1); in doGetObjectPropDesc()
1347 MtpObjectFormat format = mRequest.getParameter(2); in doGetObjectPropDesc()
1359 if (mRequest.getParameterCount() < 1) in doGetDevicePropDesc()
1361 MtpDeviceProperty propCode = mRequest.getParameter(1); in doGetDevicePropDesc()
1374 if (mRequest.getParameterCount() < 4) in doSendPartialObject()
1376 MtpObjectHandle handle = mRequest.getParameter(1); in doSendPartialObject()
1377 uint64_t offset = mRequest.getParameter(2); in doSendPartialObject()
1378 uint64_t offset2 = mRequest.getParameter(3); in doSendPartialObject()
1380 uint32_t length = mRequest.getParameter(4); in doSendPartialObject()
1447 if (mRequest.getParameterCount() < 3) in doTruncateObject()
1449 MtpObjectHandle handle = mRequest.getParameter(1); in doTruncateObject()
1456 uint64_t offset = mRequest.getParameter(2); in doTruncateObject()
1457 uint64_t offset2 = mRequest.getParameter(3); in doTruncateObject()
1468 if (mRequest.getParameterCount() < 1) in doBeginEditObject()
1470 MtpObjectHandle handle = mRequest.getParameter(1); in doBeginEditObject()
1494 if (mRequest.getParameterCount() < 1) in doEndEditObject()
1496 MtpObjectHandle handle = mRequest.getParameter(1); in doEndEditObject()