Home
last modified time | relevance | path

Searched refs:USB_ASSERT (Results 1 – 2 of 2) sorted by relevance

/ohos5.0/base/usb/usb_manager/interfaces/kits/js/napi/src/
H A Dusb_info.cpp482USB_ASSERT(env, (argc == PARAM_COUNT_0), OHEC_COMMON_PARAM_ERROR, "The function takes no arguments… in CoreGetDevices()
512USB_ASSERT(env, (argc == PARAM_COUNT_0), OHEC_COMMON_PARAM_ERROR, "The function takes no arguments… in DeviceGetAccessoryList()
546USB_ASSERT(env, type == napi_object, OHEC_COMMON_PARAM_ERROR, "The type of device must be USBDevic… in CoreConnectDevice()
672USB_ASSERT(env, type == napi_number, OHEC_COMMON_PARAM_ERROR, "The type of tokenId must be number.… in DeviceAddAccessoryRight()
711USB_ASSERT(env, type == napi_string, OHEC_COMMON_PARAM_ERROR, "The type of tokenId must be string.… in DeviceAddAccessRight()
991USB_ASSERT(env, type == napi_string, OHEC_COMMON_PARAM_ERROR, "The type of funcs must be string."); in CoreUsbFunctionsFromString()
1018USB_ASSERT(env, type == napi_number, OHEC_COMMON_PARAM_ERROR, "The type of funcs must be number."); in CoreUsbFunctionsToString()
1071USB_ASSERT(env, type == napi_number, OHEC_COMMON_PARAM_ERROR, "The type of funcs must be number."); in CoreSetCurrentFunctions()
1169USB_ASSERT(env, type == napi_number, OHEC_COMMON_PARAM_ERROR, "The type of portId must be number."… in PortGetSupportedModes()
1225USB_ASSERT(env, type == napi_number, OHEC_COMMON_PARAM_ERROR, "The type of portId must be number."… in PortSetPortRole()
[all …]
/ohos5.0/base/usb/usb_manager/utils/native/include/
H A Dusb_napi_errors.h75 #define USB_ASSERT(env, assertion, errCode, errMsg) USB_ASSERT_BASE(env, assertion, errCode, errMsg… macro