Lines Matching refs:mRequest

161         int ret = mRequest.read(fd);  in run()
170 MtpOperationCode operation = mRequest.getOperationCode(); in run()
171 MtpTransactionID transaction = mRequest.getTransactionID(); in run()
174 mRequest.dump(); in run()
275 mEvent.setTransactionID(mRequest.getTransactionID()); in sendEvent()
318 MtpOperationCode operation = mRequest.getOperationCode(); in handleRequest()
329 int containertype = mRequest.getContainerType(); in handleRequest()
499 if (mRequest.getParameterCount() < 1) in doOpenSession()
502 mSessionID = mRequest.getParameter(1); in doOpenSession()
536 if (mRequest.getParameterCount() < 1) in doGetStorageInfo()
539 MtpStorageID id = mRequest.getParameter(1); in doGetStorageInfo()
560 if (mRequest.getParameterCount() < 1) in doGetObjectPropsSupported()
562 MtpObjectFormat format = mRequest.getParameter(1); in doGetObjectPropsSupported()
572 if (mRequest.getParameterCount() < 3) in doGetObjectHandles()
574 MtpStorageID storageID = mRequest.getParameter(1); // 0xFFFFFFFF for all storage in doGetObjectHandles()
575 MtpObjectFormat format = mRequest.getParameter(2); // 0 for all formats in doGetObjectHandles()
576 MtpObjectHandle parent = mRequest.getParameter(3); // 0xFFFFFFFF for objects with no parent in doGetObjectHandles()
591 if (mRequest.getParameterCount() < 3) in doGetNumObjects()
593 MtpStorageID storageID = mRequest.getParameter(1); // 0xFFFFFFFF for all storage in doGetNumObjects()
594 MtpObjectFormat format = mRequest.getParameter(2); // 0 for all formats in doGetNumObjects()
595 MtpObjectHandle parent = mRequest.getParameter(3); // 0xFFFFFFFF for objects with no parent in doGetNumObjects()
615 if (mRequest.getParameterCount() < 1) in doGetObjectReferences()
617 MtpObjectHandle handle = mRequest.getParameter(1); in doGetObjectReferences()
635 if (mRequest.getParameterCount() < 1) in doSetObjectReferences()
637 MtpStorageID handle = mRequest.getParameter(1); in doSetObjectReferences()
650 if (mRequest.getParameterCount() < 2) in doGetObjectPropValue()
652 MtpObjectHandle handle = mRequest.getParameter(1); in doGetObjectPropValue()
653 MtpObjectProperty property = mRequest.getParameter(2); in doGetObjectPropValue()
663 if (mRequest.getParameterCount() < 2) in doSetObjectPropValue()
665 MtpObjectHandle handle = mRequest.getParameter(1); in doSetObjectPropValue()
666 MtpObjectProperty property = mRequest.getParameter(2); in doSetObjectPropValue()
674 if (mRequest.getParameterCount() < 1) in doGetDevicePropValue()
676 MtpDeviceProperty property = mRequest.getParameter(1); in doGetDevicePropValue()
684 if (mRequest.getParameterCount() < 1) in doSetDevicePropValue()
686 MtpDeviceProperty property = mRequest.getParameter(1); in doSetDevicePropValue()
694 if (mRequest.getParameterCount() < 1) in doResetDevicePropValue()
696 MtpDeviceProperty property = mRequest.getParameter(1); in doResetDevicePropValue()
706 if (mRequest.getParameterCount() < 5) in doGetObjectPropList()
709 MtpObjectHandle handle = mRequest.getParameter(1); in doGetObjectPropList()
711 uint32_t format = mRequest.getParameter(2); in doGetObjectPropList()
712 uint32_t property = mRequest.getParameter(3); in doGetObjectPropList()
713 int groupCode = mRequest.getParameter(4); in doGetObjectPropList()
714 int depth = mRequest.getParameter(5); in doGetObjectPropList()
725 if (mRequest.getParameterCount() < 1) in doGetObjectInfo()
727 MtpObjectHandle handle = mRequest.getParameter(1); in doGetObjectInfo()
768 if (mRequest.getParameterCount() < 1) in doGetObject()
770 MtpObjectHandle handle = mRequest.getParameter(1); in doGetObject()
786 mfr.command = mRequest.getOperationCode(); in doGetObject()
787 mfr.transaction_id = mRequest.getTransactionID(); in doGetObject()
807 if (mRequest.getParameterCount() < 1) in doGetThumb()
809 MtpObjectHandle handle = mRequest.getParameter(1); in doGetThumb()
814 mData.setOperationCode(mRequest.getOperationCode()); in doGetThumb()
815 mData.setTransactionID(mRequest.getTransactionID()); in doGetThumb()
827 MtpObjectHandle handle = mRequest.getParameter(1); in doGetPartialObject()
830 offset = mRequest.getParameter(2); in doGetPartialObject()
833 if (mRequest.getParameterCount() < 4) in doGetPartialObject()
837 uint64_t offset2 = mRequest.getParameter(3); in doGetPartialObject()
839 length = mRequest.getParameter(4); in doGetPartialObject()
842 if (mRequest.getParameterCount() < 3) in doGetPartialObject()
846 length = mRequest.getParameter(3); in doGetPartialObject()
865 mfr.command = mRequest.getOperationCode(); in doGetPartialObject()
866 mfr.transaction_id = mRequest.getTransactionID(); in doGetPartialObject()
888 if (mRequest.getParameterCount() < 2) in doSendObjectInfo()
890 MtpStorageID storageID = mRequest.getParameter(1); in doSendObjectInfo()
892 MtpObjectHandle parent = mRequest.getParameter(2); in doSendObjectInfo()
1130 if (mRequest.getParameterCount() < 1) in doDeleteObject()
1132 MtpObjectHandle handle = mRequest.getParameter(1); in doDeleteObject()
1153 if (mRequest.getParameterCount() < 2) in doGetObjectPropDesc()
1155 MtpObjectProperty propCode = mRequest.getParameter(1); in doGetObjectPropDesc()
1156 MtpObjectFormat format = mRequest.getParameter(2); in doGetObjectPropDesc()
1168 if (mRequest.getParameterCount() < 1) in doGetDevicePropDesc()
1170 MtpDeviceProperty propCode = mRequest.getParameter(1); in doGetDevicePropDesc()
1183 if (mRequest.getParameterCount() < 4) in doSendPartialObject()
1185 MtpObjectHandle handle = mRequest.getParameter(1); in doSendPartialObject()
1186 uint64_t offset = mRequest.getParameter(2); in doSendPartialObject()
1187 uint64_t offset2 = mRequest.getParameter(3); in doSendPartialObject()
1189 uint32_t length = mRequest.getParameter(4); in doSendPartialObject()
1256 if (mRequest.getParameterCount() < 3) in doTruncateObject()
1258 MtpObjectHandle handle = mRequest.getParameter(1); in doTruncateObject()
1265 uint64_t offset = mRequest.getParameter(2); in doTruncateObject()
1266 uint64_t offset2 = mRequest.getParameter(3); in doTruncateObject()
1277 if (mRequest.getParameterCount() < 1) in doBeginEditObject()
1279 MtpObjectHandle handle = mRequest.getParameter(1); in doBeginEditObject()
1303 if (mRequest.getParameterCount() < 1) in doEndEditObject()
1305 MtpObjectHandle handle = mRequest.getParameter(1); in doEndEditObject()