/base/usb/usb_manager/services/native/src/ |
D | usb_service.cpp | 74 USB_HILOGE(MODULE_USB_SERVICE, "IUsbInterface::Get inteface failed"); in UsbService() 82 USB_HILOGE(MODULE_USB_SERVICE, "UsbService usbd is nullptr"); in SetUsbd() 88 USB_HILOGE(MODULE_USB_SERVICE, "invalid usbPortManager_"); in SetUsbd() 94 USB_HILOGE(MODULE_USB_SERVICE, "invalid usbDeviceManager_"); in SetUsbd() 129 USB_HILOGE(MODULE_USB_SERVICE, "OnStart is ready, nothing to do"); in OnStart() 134 USB_HILOGE(MODULE_USB_SERVICE, "OnStart call init fail"); in OnStart() 148 USB_HILOGE(MODULE_USB_SERVICE, "OnStart call initUsbd failed"); in OnStart() 154 USB_HILOGE(MODULE_USB_SERVICE, "invalid usbPortManager_"); in OnStart() 165 … USB_HILOGE(MODULE_USB_SERVICE, "samgrProxy or SystemAbilityStatusChangeListener is nullptr"); in OnStart() 170 USB_HILOGE(MODULE_USB_SERVICE, "SubscribeSystemAbility failed. ret = %{public}d", ret); in OnStart() [all …]
|
D | usb_right_database.cpp | 35 USB_HILOGE(MODULE_USB_SERVICE, "GetRdbStore errCode :%{public}d", errCode); in UsbRightDataBase() 54 USB_HILOGE(MODULE_USB_SERVICE, "BeginTransaction store_ is nullptr"); in BeginTransaction() 59 USB_HILOGE(MODULE_USB_SERVICE, "BeginTransaction fail :%{public}d", ret); in BeginTransaction() 68 USB_HILOGE(MODULE_USB_SERVICE, "Commit store_ is nullptr"); in Commit() 73 USB_HILOGE(MODULE_USB_SERVICE, "Commit fail :%{public}d", ret); in Commit() 82 USB_HILOGE(MODULE_USB_SERVICE, "RollBack store_ is nullptr"); in RollBack() 87 USB_HILOGE(MODULE_USB_SERVICE, "RollBack fail :%{public}d", ret); in RollBack() 96 USB_HILOGE(MODULE_USB_SERVICE, "Insert store_ is nullptr"); in Insert() 103 USB_HILOGE(MODULE_USB_SERVICE, "Insert ret :%{public}d", ret); in Insert() 113 USB_HILOGE(MODULE_USB_SERVICE, "Update(RdbPredicates) store_ is nullptr"); in Update() [all …]
|
D | usbd_bulkcallback_impl.cpp | 31 USB_HILOGE(MODULE_USB_SERVICE, "%{public}s: write status failed", __func__); in OnBulkWriteCallback() 36 USB_HILOGE(MODULE_USB_SERVICE, "%{public}s: write actLength failed", __func__); in OnBulkWriteCallback() 41 … USB_HILOGE(MODULE_USB_SERVICE, "%{public}s failed, error code is %{public}d", __func__, ret); in OnBulkWriteCallback() 51 USB_HILOGE(MODULE_USB_SERVICE, "%{public}s: write status failed", __func__); in OnBulkReadCallback() 56 USB_HILOGE(MODULE_USB_SERVICE, "%{public}s: write actLength failed", __func__); in OnBulkReadCallback() 64 … USB_HILOGE(MODULE_USB_SERVICE, "%{public}s failed, error code is %{public}d", __func__, ret); in OnBulkReadCallback()
|
D | usb_function_switch_window.cpp | 68 USB_HILOGE(MODULE_USB_SERVICE, "GetParameter fail"); in PopUpFunctionSwitchWindow() 73 USB_HILOGE(MODULE_USB_SERVICE, "not allow open"); in PopUpFunctionSwitchWindow() 109 USB_HILOGE(MODULE_USB_SERVICE, "GetInstance failed"); in ShowFunctionSwitchWindow() 118 USB_HILOGE(MODULE_SERVICE, "StartAbility failed %{public}d", ret); in ShowFunctionSwitchWindow() 129 USB_HILOGE(MODULE_USB_SERVICE, "GetInstance failed"); in UnShowFunctionSwitchWindow() 137 USB_HILOGE(MODULE_SERVICE, "StopServiceAbility failed %{public}d", ret); in UnShowFunctionSwitchWindow() 139 USB_HILOGE(MODULE_USB_SERVICE, "KillProcess failed"); in UnShowFunctionSwitchWindow()
|
D | usb_right_db_helper.cpp | 105 USB_HILOGE(MODULE_USB_SERVICE, "BeginTransaction error: %{public}d", ret); in AddRightRecord() 110 USB_HILOGE(MODULE_USB_SERVICE, "Insert error: %{public}d", ret); in AddRightRecord() 116 USB_HILOGE(MODULE_USB_SERVICE, "Commit error: %{public}d", ret); in AddRightRecord() 133 USB_HILOGE(MODULE_USB_SERVICE, "BeginTransaction error: %{public}d", ret); in QueryAndGetResult() 138 USB_HILOGE(MODULE_USB_SERVICE, "Query error"); in QueryAndGetResult() 144 USB_HILOGE(MODULE_USB_SERVICE, "Commit error: %{public}d", ret); in QueryAndGetResult() 224 USB_HILOGE(MODULE_USB_SERVICE, "BeginTransaction error: %{public}d", ret); in QueryAndGetResultColumnValues() 229 USB_HILOGE(MODULE_USB_SERVICE, "Query error"); in QueryAndGetResultColumnValues() 235 USB_HILOGE(MODULE_USB_SERVICE, "Commit error: %{public}d", ret); in QueryAndGetResultColumnValues() 242 USB_HILOGE(MODULE_USB_SERVICE, "get table info failed"); in QueryAndGetResultColumnValues() [all …]
|
D | usb_descriptor_parser.cpp | 42 USB_HILOGE(MODULE_USB_SERVICE, "buffer is null"); in ParseDeviceDescriptor() 49 USB_HILOGE(MODULE_USB_SERVICE, "buffer size error"); in ParseDeviceDescriptor() 55 USB_HILOGE(MODULE_USB_SERVICE, "UsbdDeviceDescriptor size error"); in ParseDeviceDescriptor() 84 USB_HILOGE(MODULE_USB_SERVICE, "buffer size error"); in ParseConfigDescriptor() 91 USB_HILOGE(MODULE_USB_SERVICE, "UsbdDeviceDescriptor size error"); in ParseConfigDescriptor() 128 USB_HILOGE(MODULE_USB_SERVICE, "length error"); in ParseInterfaceDescriptor() 133 USB_HILOGE(MODULE_USB_SERVICE, "descriptor size error"); in ParseInterfaceDescriptor() 146 USB_HILOGE(MODULE_USB_SERVICE, "UsbdInterfaceDescriptor size error"); in ParseInterfaceDescriptor() 182 USB_HILOGE(MODULE_USB_SERVICE, "length error"); in ParseEndpointDescriptor() 187 USB_HILOGE(MODULE_USB_SERVICE, "descriptor size error"); in ParseEndpointDescriptor() [all …]
|
D | usb_right_manager.cpp | 158 USB_HILOGE(MODULE_USB_SERVICE, "console called, bypass"); in AddDeviceRight() 164 …USB_HILOGE(MODULE_USB_SERVICE, "get app install time and update time failed: %{public}s/%{public}d… in AddDeviceRight() 178 …USB_HILOGE(MODULE_USB_SERVICE, "add or update failed: %{public}s/%{public}s/%{public}d, ret=%{publ… in AddDeviceRight() 196 …USB_HILOGE(MODULE_USB_SERVICE, "delete failed: %{public}s/%{public}s/%{public}d", deviceName.c_str… in RemoveDeviceRight() 216 USB_HILOGE(MODULE_USB_SERVICE, "GetInstance failed"); in ShowUsbDialog() 229 USB_HILOGE(MODULE_SERVICE, "connectAbility failed %{public}d", ret); in ShowUsbDialog() 246 USB_HILOGE(MODULE_USB_SERVICE, "ShowUsbDialog failed"); in GetUserAgreementByDiag() 330 USB_HILOGE(MODULE_USB_SERVICE, "BundleMgr is nullptr, return false"); in IsAppInstalled() 335 USB_HILOGE(MODULE_USB_SERVICE, "BundleMgr GetApplicationInfo failed"); in IsAppInstalled() 370 …USB_HILOGE(MODULE_USB_SERVICE, "GetOsAccountLocalIdFromUid failed: %{public}d, set to defult", ret… in GetCurrentUserId() [all …]
|
D | usb_device_manager.cpp | 53 USB_HILOGE(MODULE_USB_SERVICE, "UsbDeviceManager::Get inteface failed"); in UsbDeviceManager() 62 USB_HILOGE(MODULE_USB_SERVICE, "Init usb function switch window failed"); in Init() 70 USB_HILOGE(MODULE_USB_SERVICE, "UsbDeviceManager usbd is nullptr"); in SetUsbd() 112 …USB_HILOGE(MODULE_USB_SERVICE, "UsbDeviceManager::ConvertFromString Invalid argument of usb functi… in ConvertFromString() 155 USB_HILOGE(MODULE_USB_SERVICE, "UsbDeviceManager::usbd_ is nullptr"); in HandleEvent() 169 USB_HILOGE(MODULE_USB_SERVICE, "invalid status %{public}d", status); in HandleEvent() 205 USB_HILOGE(MODULE_USB_SERVICE, "start pop up usb service switch window failed"); in ProcessFunctionSwitchWindow() 210 USB_HILOGE(MODULE_USB_SERVICE, "start dismiss usb service switch window failed"); in ProcessFunctionSwitchWindow() 216 …USB_HILOGE(MODULE_USB_SERVICE, "restore function from %{public}d to %{public}d failed: %{public}d", in ProcessFunctionSwitchWindow()
|
/base/usb/usb_manager/interfaces/innerkits/native/src/ |
D | usbd_bulk_callback.cpp | 28 … USB_HILOGE(MODULE_USB_INNERKIT, "check interface token failed, code=%{public}u", code); in OnRemoteRequest() 35 USB_HILOGE(MODULE_USB_INNERKIT, "get status error"); in OnRemoteRequest() 39 USB_HILOGE(MODULE_USB_INNERKIT, "get actLength error"); in OnRemoteRequest() 49 … USB_HILOGE(MODULE_USB_INNERKIT, "check interface token failed, code=%{public}u", code); in OnRemoteRequest() 56 USB_HILOGE(MODULE_USB_INNERKIT, "get status error code=%{public}u", code); in OnRemoteRequest() 60 USB_HILOGE(MODULE_USB_INNERKIT, "get actLength error code=%{public}u", code); in OnRemoteRequest()
|
D | usb_request.cpp | 28 USB_HILOGE(MODULE_USB_INNERKIT, "RequestInitialize failed with ret = %{public}d.", ret); in Initialize() 37 USB_HILOGE(MODULE_USB_INNERKIT, "RequestQueue failed with ret = %{public}d.", ret); in Queue() 46 USB_HILOGE(MODULE_USB_INNERKIT, "RequestFree failed with ret = %{public}d.", ret); in Free() 55 USB_HILOGE(MODULE_USB_INNERKIT, "RequestAbort failed with ret = %{public}d.", ret); in Abort()
|
D | usb_srv_client.cpp | 44 USB_HILOGE(MODULE_USB_INNERKIT, "fail to get SystemAbilityManager"); in Connect() 49 USB_HILOGE(MODULE_USB_INNERKIT, "GetSystemAbility failed."); in Connect() 78 … USB_HILOGE(MODULE_USB_INNERKIT, "UsbSrvDeathRecipient::OnRemoteDied failed, remote is nullptr."); in OnRemoteDied() 91 USB_HILOGE(MODULE_USB_INNERKIT, "OpenDevice failed with ret = %{public}d !", ret); in OpenDevice() 112 USB_HILOGE(MODULE_USB_INNERKIT, "Calling RequestRight failed with ret = %{public}d !", ret); in RequestRight() 122 USB_HILOGE(MODULE_USB_INNERKIT, "Calling RequestRight failed with ret = %{public}d !", ret); in RemoveRight() 132 USB_HILOGE(MODULE_USB_INNERKIT, "GetDevices failed ret = %{public}d!", ret); in GetDevices() 143 USB_HILOGE(MODULE_USB_INNERKIT, "failed ret = %{public}d!", ret); in GetCurrentFunctions() 154 USB_HILOGE(MODULE_USB_INNERKIT, "failed ret = %{public}d!", ret); in SetCurrentFunctions() 184 USB_HILOGE(MODULE_USB_INNERKIT, "failed ret = %{public}d!", ret); in GetPorts() [all …]
|
/base/usb/usb_manager/services/zidl/src/ |
D | usb_srv_proxy.cpp | 51 USB_HILOGE(MODULE_USBD, "write length failed:%{public}u", length); in SetBufferMessage() 55 USB_HILOGE(MODULE_USBD, "write buffer failed length:%{public}u", length); in SetBufferMessage() 68 USB_HILOGE(MODULE_USBD, "read dataSize failed"); in GetBufferMessage() 78 USB_HILOGE(MODULE_USBD, "failed size:%{public}u", dataSize); in GetBufferMessage() 91 USB_HILOGE(MODULE_USB_INNERKIT, "remote is failed"); in GetDevices() 99 USB_HILOGE(MODULE_INNERKIT, "write descriptor failed!"); in GetDevices() 105 USB_HILOGE(MODULE_USB_INNERKIT, "failed code: %{public}d", ret); in GetDevices() 117 USB_HILOGE(MODULE_USB_INNERKIT, "the maximum number of devices is exceeded!"); in GetDeviceListMessageParcel() 191 USB_HILOGE(MODULE_USB_SERVICE, "the maximum number of configurations is exceeded!"); in GetDeviceConfigsMessageParcel() 210 … USB_HILOGE(MODULE_USB_SERVICE, "GetDeviceInterfacesMessageParcel failed ret:%{public}d", ret); in GetDeviceConfigsMessageParcel() [all …]
|
/base/usb/usb_manager/utils/native/include/ |
D | usb_common.h | 97 USB_HILOGE(MODULE_COMMON, "%{public}s " #loginfo " ", __func__); \ 105 USB_HILOGE(MODULE_COMMON, "%{public}s read " #out " failed", __func__); \ 113 USB_HILOGE(MODULE_COMMON, "%{public}s write " #data " failed", __func__); \ 121 USB_HILOGE(MODULE_COMMON, "%{public}s read " #out " failed", __func__); \ 129 USB_HILOGE(MODULE_COMMON, "%{public}s write " #data " failed", __func__); \
|
D | hilog_wrapper.h | 31 #ifdef USB_HILOGE 32 #undef USB_HILOGE 90 #define USB_HILOGE(module, ...) (void)OHOS::HiviewDFX::HiLog::Error(USB_MGR_LABEL[module], FORMATED… macro 100 #define USB_HILOGE(...) macro
|
/base/usb/usb_manager/test/fuzztest/usbmgrbulkcancel_fuzzer/ |
D | usbmgrbulkcancel_fuzzer.cpp | 37 USB_HILOGE(MODULE_USB_SERVICE, "InitAshmemOne CreateAshmem failed"); in GetSharedMem() 58 USB_HILOGE(MODULE_USB_SERVICE, "prepare error"); in UsbMgrBulkCancelFuzzTest() 67 USB_HILOGE(MODULE_USB_SERVICE, "RegBulkCallback failed ret=%{public}d", ret); in UsbMgrBulkCancelFuzzTest() 73 USB_HILOGE(MODULE_USB_SERVICE, "GetSharedMem failed ret=%{public}d", ret); in UsbMgrBulkCancelFuzzTest() 79 USB_HILOGE(MODULE_USB_SERVICE, "BulkWrite failed ret=%{public}d", ret); in UsbMgrBulkCancelFuzzTest()
|
/base/usb/usb_manager/test/fuzztest/usbmgrremoveright_fuzzer/ |
D | usbmgrremoveright_fuzzer.cpp | 29 USB_HILOGE(MODULE_USB_SERVICE, "get devices failed"); in UsbMgrRemoveRightFuzzTest() 35 USB_HILOGE(MODULE_USB_SERVICE, "request right failed"); in UsbMgrRemoveRightFuzzTest() 40 USB_HILOGE(MODULE_USB_SERVICE, "device right error"); in UsbMgrRemoveRightFuzzTest()
|
/base/usb/usb_manager/test/fuzztest/common/src/ |
D | usb_common_fuzz.cpp | 29 USB_HILOGE(MODULE_USB_SERVICE, "get devices failed ret=%{public}d", ret); in UsbMgrPrepareFuzzEnv() 38 USB_HILOGE(MODULE_USB_SERVICE, "open device failed ret=%{public}d", ret); in UsbMgrPrepareFuzzEnv() 45 USB_HILOGE(MODULE_USB_SERVICE, "ClaimInterface failed ret=%{public}d", ret); in UsbMgrPrepareFuzzEnv()
|
/base/usb/usb_manager/test/fuzztest/usbmgrrequestfree_fuzzer/ |
D | usbmgrrequestfree_fuzzer.cpp | 29 USB_HILOGE(MODULE_USB_SERVICE, "get devices failed ret=%{public}d", ret); in UsbMgrRequestFreeFuzzTest() 38 USB_HILOGE(MODULE_USB_SERVICE, "open device failed ret=%{public}d", ret); in UsbMgrRequestFreeFuzzTest() 45 USB_HILOGE(MODULE_USB_SERVICE, "ClaimInterface failed ret=%{public}d", ret); in UsbMgrRequestFreeFuzzTest()
|
/base/usb/usb_manager/test/fuzztest/usbmgrrequestqueue_fuzzer/ |
D | usbmgrrequestqueue_fuzzer.cpp | 29 USB_HILOGE(MODULE_USB_SERVICE, "get devices failed ret=%{public}d", ret); in UsbMgrRequestQueueFuzzTest() 38 USB_HILOGE(MODULE_USB_SERVICE, "open device failed ret=%{public}d", ret); in UsbMgrRequestQueueFuzzTest() 45 USB_HILOGE(MODULE_USB_SERVICE, "ClaimInterface failed ret=%{public}d", ret); in UsbMgrRequestQueueFuzzTest()
|
/base/usb/usb_manager/test/fuzztest/usbmgrsetinterface_fuzzer/ |
D | usbmgrsetinterface_fuzzer.cpp | 29 USB_HILOGE(MODULE_USB_SERVICE, "get devices failed ret=%{public}d", ret); in UsbMgrSetInterfaceFuzzTest() 38 USB_HILOGE(MODULE_USB_SERVICE, "open device failed ret=%{public}d", ret); in UsbMgrSetInterfaceFuzzTest() 45 USB_HILOGE(MODULE_USB_SERVICE, "ClaimInterface failed ret=%{public}d", ret); in UsbMgrSetInterfaceFuzzTest()
|
/base/usb/usb_manager/test/fuzztest/usbmgrpiperequestwait_fuzzer/ |
D | usbmgrpiperequestwait_fuzzer.cpp | 29 USB_HILOGE(MODULE_USB_SERVICE, "get devices failed ret=%{public}d", ret); in UsbMgrPipeRequestWaitFuzzTest() 38 USB_HILOGE(MODULE_USB_SERVICE, "open device failed ret=%{public}d", ret); in UsbMgrPipeRequestWaitFuzzTest() 45 USB_HILOGE(MODULE_USB_SERVICE, "ClaimInterface failed ret=%{public}d", ret); in UsbMgrPipeRequestWaitFuzzTest()
|
/base/usb/usb_manager/test/fuzztest/usbmgrreleaseinterface_fuzzer/ |
D | usbmgrreleaseinterface_fuzzer.cpp | 29 USB_HILOGE(MODULE_USB_SERVICE, "get devices failed ret=%{public}d", ret); in UsbMgrReleaseInterfaceFuzzTest() 38 USB_HILOGE(MODULE_USB_SERVICE, "open device failed ret=%{public}d", ret); in UsbMgrReleaseInterfaceFuzzTest() 45 USB_HILOGE(MODULE_USB_SERVICE, "ClaimInterface failed ret=%{public}d", ret); in UsbMgrReleaseInterfaceFuzzTest()
|
/base/usb/usb_manager/test/fuzztest/usbmgrcontroltransfer_fuzzer/ |
D | usbmgrcontroltransfer_fuzzer.cpp | 29 USB_HILOGE(MODULE_USB_SERVICE, "get devices failed ret=%{public}d", ret); in UsbMgrControlTransferFuzzTest() 38 USB_HILOGE(MODULE_USB_SERVICE, "open device failed ret=%{public}d", ret); in UsbMgrControlTransferFuzzTest() 45 USB_HILOGE(MODULE_USB_SERVICE, "ClaimInterface failed ret=%{public}d", ret); in UsbMgrControlTransferFuzzTest()
|
/base/usb/usb_manager/test/fuzztest/usbmgrbulktransfer_fuzzer/ |
D | usbmgrbulktransfer_fuzzer.cpp | 29 USB_HILOGE(MODULE_USB_SERVICE, "get devices failed ret=%{public}d", ret); in UsbMgrBulkTransferFuzzTest() 38 USB_HILOGE(MODULE_USB_SERVICE, "open device failed ret=%{public}d", ret); in UsbMgrBulkTransferFuzzTest() 45 USB_HILOGE(MODULE_USB_SERVICE, "ClaimInterface failed ret=%{public}d", ret); in UsbMgrBulkTransferFuzzTest()
|
/base/usb/usb_manager/interfaces/kits/js/napi/src/ |
D | napi_util.cpp | 33 USB_HILOGE(MODULE_JS_NAPI, "string too long malloc failed"); in JsValueToString() 52 USB_HILOGE(MODULE_JS_NAPI, "invalid bufLen=%{public}d", bufLen); in JsObjectToString() 118 USB_HILOGE(MODULE_JS_NAPI, "js to uint32_t no property: %{public}s", fieldStr.c_str()); in JsObjectToUint() 127 USB_HILOGE(MODULE_JS_NAPI, "get property failed: %{public}s", fieldStr.c_str()); in JsObjectToUint() 133 USB_HILOGE(MODULE_JS_NAPI, "type error failed: %{public}s", fieldStr.c_str()); in JsObjectToUint() 141 USB_HILOGE(MODULE_JS_NAPI, "get value failed: %{public}s", fieldStr.c_str()); in JsObjectToUint() 180 USB_HILOGE(MODULE_JS_NAPI, "memcpy_s failed\n"); in Uint8ArrayToJsValue() 207 USB_HILOGE(MODULE_JS_NAPI, "create uint32 failed:%{public}s\n", fieldStr.c_str()); in SetValueUint32() 213 USB_HILOGE(MODULE_JS_NAPI, "set property failed:%{public}s\n", fieldStr.c_str()); in SetValueUint32()
|