• Home
  • Raw
  • Download

Lines Matching refs:mRequest

177         int ret = mRequest.read(mHandle);  in run()
186 MtpOperationCode operation = mRequest.getOperationCode(); in run()
187 MtpTransactionID transaction = mRequest.getTransactionID(); in run()
288 mEvent.setTransactionID(mRequest.getTransactionID()); in sendEvent()
331 MtpOperationCode operation = mRequest.getOperationCode(); in handleRequest()
342 int containertype = mRequest.getContainerType(); in handleRequest()
512 if (mRequest.getParameterCount() < 1) in doOpenSession()
515 mSessionID = mRequest.getParameter(1); in doOpenSession()
546 if (mRequest.getParameterCount() < 1) in doGetStorageInfo()
549 MtpStorageID id = mRequest.getParameter(1); in doGetStorageInfo()
570 if (mRequest.getParameterCount() < 1) in doGetObjectPropsSupported()
572 MtpObjectFormat format = mRequest.getParameter(1); in doGetObjectPropsSupported()
582 if (mRequest.getParameterCount() < 3) in doGetObjectHandles()
584 MtpStorageID storageID = mRequest.getParameter(1); // 0xFFFFFFFF for all storage in doGetObjectHandles()
585 MtpObjectFormat format = mRequest.getParameter(2); // 0 for all formats in doGetObjectHandles()
586 MtpObjectHandle parent = mRequest.getParameter(3); // 0xFFFFFFFF for objects with no parent in doGetObjectHandles()
603 if (mRequest.getParameterCount() < 3) in doGetNumObjects()
605 MtpStorageID storageID = mRequest.getParameter(1); // 0xFFFFFFFF for all storage in doGetNumObjects()
606 MtpObjectFormat format = mRequest.getParameter(2); // 0 for all formats in doGetNumObjects()
607 MtpObjectHandle parent = mRequest.getParameter(3); // 0xFFFFFFFF for objects with no parent in doGetNumObjects()
627 if (mRequest.getParameterCount() < 1) in doGetObjectReferences()
629 MtpObjectHandle handle = mRequest.getParameter(1); in doGetObjectReferences()
647 if (mRequest.getParameterCount() < 1) in doSetObjectReferences()
649 MtpStorageID handle = mRequest.getParameter(1); in doSetObjectReferences()
662 if (mRequest.getParameterCount() < 2) in doGetObjectPropValue()
664 MtpObjectHandle handle = mRequest.getParameter(1); in doGetObjectPropValue()
665 MtpObjectProperty property = mRequest.getParameter(2); in doGetObjectPropValue()
675 if (mRequest.getParameterCount() < 2) in doSetObjectPropValue()
677 MtpObjectHandle handle = mRequest.getParameter(1); in doSetObjectPropValue()
678 MtpObjectProperty property = mRequest.getParameter(2); in doSetObjectPropValue()
686 if (mRequest.getParameterCount() < 1) in doGetDevicePropValue()
688 MtpDeviceProperty property = mRequest.getParameter(1); in doGetDevicePropValue()
696 if (mRequest.getParameterCount() < 1) in doSetDevicePropValue()
698 MtpDeviceProperty property = mRequest.getParameter(1); in doSetDevicePropValue()
706 if (mRequest.getParameterCount() < 1) in doResetDevicePropValue()
708 MtpDeviceProperty property = mRequest.getParameter(1); in doResetDevicePropValue()
718 if (mRequest.getParameterCount() < 5) in doGetObjectPropList()
721 MtpObjectHandle handle = mRequest.getParameter(1); in doGetObjectPropList()
723 uint32_t format = mRequest.getParameter(2); in doGetObjectPropList()
724 uint32_t property = mRequest.getParameter(3); in doGetObjectPropList()
725 int groupCode = mRequest.getParameter(4); in doGetObjectPropList()
726 int depth = mRequest.getParameter(5); in doGetObjectPropList()
737 if (mRequest.getParameterCount() < 1) in doGetObjectInfo()
739 MtpObjectHandle handle = mRequest.getParameter(1); in doGetObjectInfo()
780 if (mRequest.getParameterCount() < 1) in doGetObject()
782 MtpObjectHandle handle = mRequest.getParameter(1); in doGetObject()
829 mfr.command = mRequest.getOperationCode(); in doGetObject()
830 mfr.transaction_id = mRequest.getTransactionID(); in doGetObject()
854 if (mRequest.getParameterCount() < 1) in doGetThumb()
856 MtpObjectHandle handle = mRequest.getParameter(1); in doGetThumb()
861 mData.setOperationCode(mRequest.getOperationCode()); in doGetThumb()
862 mData.setTransactionID(mRequest.getTransactionID()); in doGetThumb()
874 MtpObjectHandle handle = mRequest.getParameter(1); in doGetPartialObject()
877 offset = mRequest.getParameter(2); in doGetPartialObject()
880 if (mRequest.getParameterCount() < 4) in doGetPartialObject()
884 uint64_t offset2 = mRequest.getParameter(3); in doGetPartialObject()
886 length = mRequest.getParameter(4); in doGetPartialObject()
889 if (mRequest.getParameterCount() < 3) in doGetPartialObject()
893 length = mRequest.getParameter(3); in doGetPartialObject()
913 mfr.command = mRequest.getOperationCode(); in doGetPartialObject()
914 mfr.transaction_id = mRequest.getTransactionID(); in doGetPartialObject()
936 if (mRequest.getParameterCount() < 2) in doSendObjectInfo()
938 MtpStorageID storageID = mRequest.getParameter(1); in doSendObjectInfo()
940 MtpObjectHandle parent = mRequest.getParameter(2); in doSendObjectInfo()
1056 if (mRequest.getParameterCount() < 3) in doMoveObject()
1058 MtpObjectHandle objectHandle = mRequest.getParameter(1); in doMoveObject()
1059 MtpStorageID storageID = mRequest.getParameter(2); in doMoveObject()
1061 MtpObjectHandle parent = mRequest.getParameter(3); in doMoveObject()
1135 if (mRequest.getParameterCount() < 3) in doCopyObject()
1137 MtpObjectHandle objectHandle = mRequest.getParameter(1); in doCopyObject()
1138 MtpStorageID storageID = mRequest.getParameter(2); in doCopyObject()
1140 MtpObjectHandle parent = mRequest.getParameter(3); in doCopyObject()
1315 if (mRequest.getParameterCount() < 1) in doDeleteObject()
1317 MtpObjectHandle handle = mRequest.getParameter(1); in doDeleteObject()
1340 if (mRequest.getParameterCount() < 2) in doGetObjectPropDesc()
1342 MtpObjectProperty propCode = mRequest.getParameter(1); in doGetObjectPropDesc()
1343 MtpObjectFormat format = mRequest.getParameter(2); in doGetObjectPropDesc()
1355 if (mRequest.getParameterCount() < 1) in doGetDevicePropDesc()
1357 MtpDeviceProperty propCode = mRequest.getParameter(1); in doGetDevicePropDesc()
1370 if (mRequest.getParameterCount() < 4) in doSendPartialObject()
1372 MtpObjectHandle handle = mRequest.getParameter(1); in doSendPartialObject()
1373 uint64_t offset = mRequest.getParameter(2); in doSendPartialObject()
1374 uint64_t offset2 = mRequest.getParameter(3); in doSendPartialObject()
1376 uint32_t length = mRequest.getParameter(4); in doSendPartialObject()
1443 if (mRequest.getParameterCount() < 3) in doTruncateObject()
1445 MtpObjectHandle handle = mRequest.getParameter(1); in doTruncateObject()
1452 uint64_t offset = mRequest.getParameter(2); in doTruncateObject()
1453 uint64_t offset2 = mRequest.getParameter(3); in doTruncateObject()
1464 if (mRequest.getParameterCount() < 1) in doBeginEditObject()
1466 MtpObjectHandle handle = mRequest.getParameter(1); in doBeginEditObject()
1490 if (mRequest.getParameterCount() < 1) in doEndEditObject()
1492 MtpObjectHandle handle = mRequest.getParameter(1); in doEndEditObject()