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 D | usb_info.cpp | 482 …USB_ASSERT(env, (argc == PARAM_COUNT_0), OHEC_COMMON_PARAM_ERROR, "The function takes no arguments… in CoreGetDevices() 512 …USB_ASSERT(env, (argc == PARAM_COUNT_0), OHEC_COMMON_PARAM_ERROR, "The function takes no arguments… in DeviceGetAccessoryList() 546 …USB_ASSERT(env, type == napi_object, OHEC_COMMON_PARAM_ERROR, "The type of device must be USBDevic… in CoreConnectDevice() 672 …USB_ASSERT(env, type == napi_number, OHEC_COMMON_PARAM_ERROR, "The type of tokenId must be number.… in DeviceAddAccessoryRight() 711 …USB_ASSERT(env, type == napi_string, OHEC_COMMON_PARAM_ERROR, "The type of tokenId must be string.… in DeviceAddAccessRight() 991 …USB_ASSERT(env, type == napi_string, OHEC_COMMON_PARAM_ERROR, "The type of funcs must be string."); in CoreUsbFunctionsFromString() 1018 …USB_ASSERT(env, type == napi_number, OHEC_COMMON_PARAM_ERROR, "The type of funcs must be number."); in CoreUsbFunctionsToString() 1071 …USB_ASSERT(env, type == napi_number, OHEC_COMMON_PARAM_ERROR, "The type of funcs must be number."); in CoreSetCurrentFunctions() 1169 …USB_ASSERT(env, type == napi_number, OHEC_COMMON_PARAM_ERROR, "The type of portId must be number."… in PortGetSupportedModes() 1225 …USB_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 D | usb_napi_errors.h | 75 #define USB_ASSERT(env, assertion, errCode, errMsg) USB_ASSERT_BASE(env, assertion, errCode, errMsg… macro
|