Home
last modified time | relevance | path

Searched refs:interfaceId (Results 1 – 8 of 8) sorted by relevance

/base/usb/usb_manager/test/native/mock/src/
Dusb_device_pipe_mock_test.cpp704 uint8_t interfaceId = interface.GetId(); variable
706 auto ret = usbSrv_->ClaimInterface(dev_.busNum, dev_.devAddr, interfaceId, true);
720 uint8_t interfaceId = interface.GetId(); variable
722 auto ret = usbSrv_->ClaimInterface(dev_.busNum, dev_.devAddr, interfaceId, false);
736 uint8_t interfaceId = interface.GetId(); variable
738 auto ret = usbSrv_->ClaimInterface(dev_.busNum, dev_.devAddr, interfaceId, true);
752 uint8_t interfaceId = interface.GetId(); variable
754 auto ret = usbSrv_->ClaimInterface(dev_.busNum, dev_.devAddr, interfaceId, false);
768 uint8_t interfaceId = interface.GetId(); variable
772 auto ret = usbSrv_->ClaimInterface(dev_.busNum, dev_.devAddr, interfaceId, true);
[all …]
Dusb_request_mock_test.cpp91 uint8_t interfaceId = interface_.GetId(); in SetUpTestCase() local
93 ret = usbSrv_->ClaimInterface(dev_.busNum, dev_.devAddr, interfaceId, true); in SetUpTestCase()
253 uint8_t interfaceId = interface_.GetId(); variable
257 auto ret = usbSrv_->RequestCancel(dev_.busNum, dev_.devAddr, interfaceId, endpointId);
270 uint8_t interfaceId = interface_.GetId(); variable
275 auto ret = usbSrv_->RequestCancel(dev_.busNum, dev_.devAddr, interfaceId, endpointId);
290 uint8_t interfaceId = interface_.GetId(); variable
295 auto ret = usbSrv_->RequestCancel(dev_.busNum, dev_.devAddr, interfaceId, endpointId);
310 uint8_t interfaceId = interface_.GetId(); variable
314 auto ret = usbSrv_->RequestCancel(dev_.busNum, dev_.devAddr, interfaceId, endpointId);
[all …]
Dusb_bulkcallback_mock_test.cpp123 uint8_t interfaceId = interface_.GetId(); in SetUpTestCase() local
125 ret = usbSrv_->ClaimInterface(dev_.busNum, dev_.devAddr, interfaceId, true); in SetUpTestCase()
/base/usb/usb_manager/interfaces/innerkits/native/include/
Dusb_endpoint.h129 void SetInterfaceId(uint8_t interfaceId) in SetInterfaceId() argument
131 this->interfaceId_ = interfaceId; in SetInterfaceId()
/base/usb/usb_manager/interfaces/kits/js/
D@ohos.usbManager.d.ts345 interfaceId: number;
/base/usb/usb_manager/services/zidl/src/
Dusb_srv_stub.cpp497 uint8_t interfaceId = 0; in DoSetInterface() local
501 READ_PARCEL_WITH_RET(data, Uint8, interfaceId, UEC_SERVICE_WRITE_PARCEL_ERROR); in DoSetInterface()
504 …reply, Int32, SetInterface(busNum, devAddr, interfaceId, altIndex), UEC_SERVICE_WRITE_PARCEL_ERROR… in DoSetInterface()
611 uint8_t interfaceId = 0; in DoRequestCancel() local
615 READ_PARCEL_WITH_RET(data, Uint8, interfaceId, UEC_SERVICE_WRITE_PARCEL_ERROR); in DoRequestCancel()
617 int32_t ret = RequestCancel(busNum, devAddr, interfaceId, endpointId); in DoRequestCancel()
/base/usb/usb_manager/services/native/src/
Dusb_service.cpp674 int32_t UsbService::RequestCancel(uint8_t busNum, uint8_t devAddr, uint8_t interfaceId, uint8_t end… in RequestCancel() argument
677 const UsbPipe pipe = {interfaceId, endpointId}; in RequestCancel()
/base/usb/usb_manager/interfaces/kits/js/napi/src/
Dusb_info.cpp189 int32_t interfaceId = 0; in ParseEndpointObj() local
190 NapiUtil::JsObjectToInt(env, endpointObj, "interfaceId", interfaceId); in ParseEndpointObj()
192 ep.SetInterfaceId(interfaceId); in ParseEndpointObj()