Home
last modified time | relevance | path

Searched refs:USB_DDK_INVALID_PARAMETER (Results 1 – 9 of 9) sorted by relevance

/ohos5.0/drivers/external_device_manager/frameworks/ddk/usb/
H A Dusb_ddk_api.cpp64 return USB_DDK_INVALID_PARAMETER; in OH_Usb_GetDeviceDescriptor()
85 return USB_DDK_INVALID_PARAMETER; in OH_Usb_GetConfigDescriptor()
110 return USB_DDK_INVALID_PARAMETER; in OH_Usb_ClaimInterface()
145 return USB_DDK_INVALID_PARAMETER; in OH_Usb_GetCurrentInterfaceSetting()
161 return USB_DDK_INVALID_PARAMETER; in OH_Usb_SendControlReadRequest()
174 return USB_DDK_INVALID_PARAMETER; in OH_Usb_SendControlReadRequest()
195 return USB_DDK_INVALID_PARAMETER; in OH_Usb_SendControlWriteRequest()
212 return USB_DDK_INVALID_PARAMETER; in OH_Usb_SendPipeRequest()
229 return USB_DDK_INVALID_PARAMETER; in OH_Usb_SendPipeRequestWithAshmem()
242 return USB_DDK_INVALID_PARAMETER; in OH_Usb_CreateDeviceMemMap()
H A Dusb_config_desc_parser.cpp221 ret = USB_DDK_INVALID_PARAMETER; in RawParseDescriptor()
331 if (ret == USB_DDK_INVALID_PARAMETER) { in ParseInterface()
352 return USB_DDK_INVALID_PARAMETER; in ParseInterface()
460 return USB_DDK_INVALID_PARAMETER; in ParseConfigurationDes()
470 return USB_DDK_INVALID_PARAMETER; in ParseConfigurationDes()
/ohos5.0/docs/zh-cn/application-dev/reference/apis-driverdevelopment-kit/
H A D_usb_ddk.md45 …sbddkerrcode) {<br/>USB_DDK_SUCCESS = 0, USB_DDK_NO_PERM = 201, USB_DDK_INVALID_PARAMETER = 401, U…
107 | USB_DDK_INVALID_PARAMETER | 401 | 非法参数。 |
143 - [USB_DDK_INVALID_PARAMETER](#usbddkerrcode):表示入参interfaceHandle为空指针。
171 - [USB_DDK_INVALID_PARAMETER](#usbddkerrcode):表示入参devMmap为空指针。
241 - [USB_DDK_INVALID_PARAMETER](#usbddkerrcode):表示入参config为空指针。
270 - [USB_DDK_INVALID_PARAMETER](#usbddkerrcode):表示入参settingIndex为空指针。
298 - [USB_DDK_INVALID_PARAMETER](#usbddkerrcode):表示入参desc为空指针。
430 - [USB_DDK_INVALID_PARAMETER](#usbddkerrcode):表示入参setup、data或者dataLen为空指针,亦或datalen小于读取到的数据长度。
464 - [USB_DDK_INVALID_PARAMETER](#usbddkerrcode):表示入参setup或者data为空指针。
494 - [USB_DDK_INVALID_PARAMETER](#usbddkerrcode):表示入参pipe、devMmap或者devMmap的地址为空指针。
[all …]
H A Dusb__ddk__types_8h.md52 …SUCCESS&nbsp;=&nbsp;0,&nbsp;USB_DDK_FAILED&nbsp;=&nbsp;-1,&nbsp;USB_DDK_INVALID_PARAMETER&nbsp;=&n…
/ohos5.0/docs/zh-cn/release-notes/changelogs/OpenHarmony_5.0.0.52/
H A Dchangelogs-external_device_manager.md34 | USB_DDK_INVALID_PARAMETER = -2 | USB_DDK_INVALID_PARAMETER = 401 |
/ohos5.0/docs/en/application-dev/reference/apis-driverdevelopment-kit/
H A D_usb_ddk.md45 …usbddkerrcode) {<br>USB_DDK_SUCCESS = 0, USB_DDK_NO_PERM = 201, USB_DDK_INVALID_PARAMETER = 401, U…
107 | USB_DDK_INVALID_PARAMETER | 401 | Invalid parameter.|
143 - [USB_DDK_INVALID_PARAMETER](#usbddkerrcode): The input **interfaceHandle** is a null pointer.
171 - [USB_DDK_INVALID_PARAMETER](#usbddkerrcode): The input **devMmap** is a null pointer.
241 - [USB_DDK_INVALID_PARAMETER](#usbddkerrcode): The input **config** is a null pointer.
270 - [USB_DDK_INVALID_PARAMETER](#usbddkerrcode): The input **settingIndex** is a null pointer.
298 - [USB_DDK_INVALID_PARAMETER](#usbddkerrcode): The input **desc** is a null pointer.
430 - [USB_DDK_INVALID_PARAMETER](#usbddkerrcode): The input **setup**, **data**, or **dataLen** is a n…
464 - [USB_DDK_INVALID_PARAMETER](#usbddkerrcode): The input **setup** or **data** is a null pointer.
494 - [USB_DDK_INVALID_PARAMETER](#usbddkerrcode): The input **pipe**, **devMmap**, or **devMmap** addr…
[all …]
H A Dusb__ddk__types_8h.md52 …SUCCESS&nbsp;=&nbsp;0,&nbsp;USB_DDK_FAILED&nbsp;=&nbsp;-1,&nbsp;USB_DDK_INVALID_PARAMETER&nbsp;=&n…
/ohos5.0/drivers/external_device_manager/test/unittest/ndk_stage_js_test/entry/src/main/ets/test/
H A DusbDdkNdkJsTest.ets29 const USB_DDK_INVALID_PARAMETER: number = -2;
126 expect(ret).assertEqual(USB_DDK_INVALID_PARAMETER);
204 expect(ret).assertEqual(USB_DDK_INVALID_PARAMETER);
308 expect(ret).assertEqual(USB_DDK_INVALID_PARAMETER);
464 expect(ret).assertEqual(USB_DDK_INVALID_PARAMETER);
542 expect(ret).assertEqual(USB_DDK_INVALID_PARAMETER);
568 expect(ret).assertEqual(USB_DDK_INVALID_PARAMETER);
594 expect(ret).assertEqual(USB_DDK_INVALID_PARAMETER);
672 expect(ret).assertEqual(USB_DDK_INVALID_PARAMETER);
698 expect(ret).assertEqual(USB_DDK_INVALID_PARAMETER);
[all …]
/ohos5.0/drivers/external_device_manager/interfaces/ddk/usb/
H A Dusb_ddk_types.h299 USB_DDK_INVALID_PARAMETER = -2, enumerator