/base/usb/usb_manager/test/native/service_unittest/src/ |
D | usb_core_test.cpp | 54 USB_HILOGI(MODULE_USB_SERVICE, "UsbCoreTest:: [Device] SetPortRole=%{public}d", ret); in SetUpTestCase() 59 USB_HILOGI(MODULE_USB_SERVICE, "Start UsbCoreTest"); in SetUpTestCase() 64 USB_HILOGI(MODULE_USB_SERVICE, "End UsbCoreTest"); in TearDownTestCase() 78 USB_HILOGI(MODULE_USB_SERVICE, "Case Start : GetCurrentFunctions001 : SetConfig"); 82 USB_HILOGI(MODULE_USB_SERVICE, "UsbCoreTest::ret=%{public}d", ret); 84 USB_HILOGI(MODULE_USB_SERVICE, "Case End : GetCurrentFunctions001 : SetConfig"); 94 USB_HILOGI(MODULE_USB_SERVICE, "Case Start : GetCurrentFunctions002 : SetConfig"); 99 USB_HILOGI(MODULE_USB_SERVICE, "UsbCoreTest::ret=%{public}d", ret); 102 USB_HILOGI(MODULE_USB_SERVICE, "Case End : GetCurrentFunctions002 : SetConfig"); 112 USB_HILOGI(MODULE_USB_SERVICE, "Case Start : SetCurrentFunctions001 : SetConfig"); [all …]
|
D | usb_device_pipe_test.cpp | 48 USB_HILOGI(MODULE_USB_SERVICE, "UsbDevicePipeTest:: [Device] SetPortRole=%{public}d", ret); in SetUpTestCase() 59 USB_HILOGI(MODULE_USB_SERVICE, "Start UsbDevicePipeTest"); in SetUpTestCase() 64 USB_HILOGI(MODULE_USB_SERVICE, "End UsbDevicePipeTest"); in TearDownTestCase() 78 USB_HILOGI(MODULE_USB_SERVICE, "Case Start : getDevices001 : getDevices"); 83 …USB_HILOGI(MODULE_USB_SERVICE, "UsbDevicePipeTest::getDevices001 %{public}d ret=%{public}d", __LIN… 85 …USB_HILOGI(MODULE_USB_SERVICE, "UsbDevicePipeTest::getDevices001 %{public}d size=%{public}zu", __L… 91 …USB_HILOGI(MODULE_USB_SERVICE, "UsbDevicePipeTest::getDevices001 %{public}d OpenDevice=%{public}d"… 94 …USB_HILOGI(MODULE_USB_SERVICE, "UsbDevicePipeTest::getDevices001 %{public}d Close=%{public}d", __L… 96 USB_HILOGI(MODULE_USB_SERVICE, "Case End : getDevices001 : getDevices"); 108 USB_HILOGI(MODULE_USB_SERVICE, "Case Start : UsbOpenDevice001: OpenDevice"); [all …]
|
D | usb_bulkcallback_test.cpp | 84 USB_HILOGI(MODULE_USB_SERVICE, "UsbBulkcallbackTest:: [Device] SetPortRole=%{public}d", ret); in SetUpTestCase() 95 USB_HILOGI(MODULE_USB_SERVICE, "Start UsbBulkcallbackTest"); in SetUpTestCase() 100 USB_HILOGI(MODULE_USB_SERVICE, "End UsbBulkcallbackTest"); in TearDownTestCase() 115 USB_HILOGI(MODULE_USB_SERVICE, "Case Start : RegBulkCallback001 : BulkTransfer"); 122 …USB_HILOGI(MODULE_USB_SERVICE, "UsbBulkcallbackTest::RegBulkCallback001 %{public}d size=%{public}z… 128 USB_HILOGI( 133 …USB_HILOGI(MODULE_USB_SERVICE, "UsbBulkcallbackTest::RegBulkCallback001 %{public}d point=%{public}… 136 …USB_HILOGI(MODULE_USB_SERVICE, "UsbBulkcallbackTest::RegBulkCallback001 %{public}d ClaimInterface=… 140 …USB_HILOGI(MODULE_USB_SERVICE, "UsbBulkcallbackTest::RegBulkCallback001 %{public}d RegBulkCallback… 144 …USB_HILOGI(MODULE_USB_SERVICE, "UsbBulkcallbackTest::RegBulkCallback001 %{public}d UnRegBulkCallba… [all …]
|
D | usb_request_test.cpp | 52 USB_HILOGI(MODULE_USB_SERVICE, "UsbdRequestTest:: [Device] SetPortRole=%{public}d", ret); in SetUpTestCase() 62 USB_HILOGI(MODULE_USB_SERVICE, "Start UsbdRequestTest"); in SetUpTestCase() 67 USB_HILOGI(MODULE_USB_SERVICE, "End UsbdRequestTest"); in TearDownTestCase() 80 USB_HILOGI(MODULE_USB_SERVICE, "Case Start : UsbRequestInitialize001 : Initialize"); 84 …USB_HILOGI(MODULE_USB_SERVICE, "UsbRequestTest:UsbRequestInitialize001 %{public}d ret=%{public}d s… 92 USB_HILOGI( 98 …USB_HILOGI(MODULE_USB_SERVICE, "UsbRequestTest::UsbRequestInitialize001 %{public}d ClaimInterface=… 106 USB_HILOGI( 110 USB_HILOGI( 113 USB_HILOGI(MODULE_USB_SERVICE, "Case End : UsbRequestInitialize001 : Initialize"); [all …]
|
D | usb_common_test.cpp | 51 USB_HILOGI(MODULE_USB_SERVICE, "SetSelfTokenID success %{public}d", __LINE__); in SetTestCaseNative()
|
/base/usb/usb_manager/test/native/mock/src/ |
D | usb_core_mock_test.cpp | 82 USB_HILOGI(MODULE_USB_SERVICE, "UsbCoreMockTest UsbCoreMockTest"); in SetUpTestCase() 104 USB_HILOGI(MODULE_USB_SERVICE, "UsbCoreMockTest TearDownTestCase"); in TearDownTestCase() 131 USB_HILOGI(MODULE_USB_SERVICE, "Case Start : GetCurrentFunctions001 : SetConfig"); 136 USB_HILOGI(MODULE_USB_SERVICE, "UsbCoreMockTest::ret=%{public}d", ret); 149 USB_HILOGI(MODULE_USB_SERVICE, "UsbCoreMockTest::SetCurrentFunctions=%{public}d", isok); 163 USB_HILOGI(MODULE_USB_SERVICE, "UsbCoreMockTest::SetCurrentFunctions=%{public}d", isok); 178 USB_HILOGI(MODULE_USB_SERVICE, "UsbCoreMockTest::SetCurrentFunctions=%{public}d", isok); 192 USB_HILOGI(MODULE_USB_SERVICE, "UsbCoreMockTest::SetCurrentFunctions=%{public}d", isok); 207 USB_HILOGI(MODULE_USB_SERVICE, "UsbCoreMockTest::SetCurrentFunctions=%{public}d", isok); 222 USB_HILOGI(MODULE_USB_SERVICE, "UsbCoreMockTest::SetCurrentFunctions=%{public}d", isok); [all …]
|
D | usb_device_pipe_mock_test.cpp | 78 USB_HILOGI(MODULE_USB_SERVICE, "UsbDevicePipeMockTest SetUpTestCase"); in SetUpTestCase() 117 USB_HILOGI(MODULE_USB_SERVICE, "UsbDevicePipeMockTest TearDownTestCase"); in TearDownTestCase() 182 …USB_HILOGI(MODULE_USB_SERVICE, "UsbDevicePipeMockTest::UsbControlTransferRead001 ControlTransfer=%… 200 …USB_HILOGI(MODULE_USB_SERVICE, "UsbDevicePipeMockTest::UsbControlTransferRead002 ControlTransfer=%… 220 …USB_HILOGI(MODULE_USB_SERVICE, "UsbDevicePipeMockTest::UsbControlTransferRead003 ControlTransfer=%… 239 …USB_HILOGI(MODULE_USB_SERVICE, "UsbDevicePipeMockTest::UsbControlTransferRead004 ControlTransfer=%… 258 …USB_HILOGI(MODULE_USB_SERVICE, "UsbDevicePipeMockTest::UsbControlTransferRead005 ControlTransfer=%… 279 …USB_HILOGI(MODULE_USB_SERVICE, "UsbDevicePipeMockTest::UsbControlTransferRead006 ControlTransfer=%… 298 …USB_HILOGI(MODULE_USB_SERVICE, "UsbDevicePipeMockTest::UsbControlTransferRead007 ControlTransfer=%… 317 …USB_HILOGI(MODULE_USB_SERVICE, "UsbDevicePipeMockTest::UsbControlTransferRead008 ControlTransfer=%… [all …]
|
D | usb_request_mock_test.cpp | 54 USB_HILOGI(MODULE_USB_SERVICE, "UsbRequestMockTest SetUpTestCase"); in SetUpTestCase() 99 USB_HILOGI(MODULE_USB_SERVICE, "UsbRequestMockTest TearDownTestCase"); in TearDownTestCase() 135 USB_HILOGI(MODULE_USB_SERVICE, "UsbRequestMockTest::UsbrequestQueue001 queue=%{public}d ", ret); 153 USB_HILOGI(MODULE_USB_SERVICE, "UsbRequestMockTest:UsbrequestQueue002 queue=%{public}d ", ret); 173 USB_HILOGI(MODULE_USB_SERVICE, "UsbRequestMockTest::UsbrequestQueue003 queue=%{public}d ", ret); 195 USB_HILOGI(MODULE_USB_SERVICE, "UsbRequestMockTest::UsbrequestQueue004 queue=%{public}d ", ret); 217 USB_HILOGI(MODULE_USB_SERVICE, "UsbRequestMockTest::UsbrequestQueue005 queue=%{public}d ", ret); 239 USB_HILOGI(MODULE_USB_SERVICE, "UsbRequestMockTest::UsbrequestQueue006 queue=%{public}d ", ret); 258 USB_HILOGI(MODULE_USB_SERVICE, "UsbRequestMockTest:RequestCancel001 free=%{public}d ", ret); 276 USB_HILOGI(MODULE_USB_SERVICE, "UsbRequestMockTest:RequestCancel002 free=%{public}d ", ret); [all …]
|
D | usb_bulkcallback_mock_test.cpp | 86 USB_HILOGI(MODULE_USB_SERVICE, "UsbBulkcallbackMockTest SetUpTestCase"); in SetUpTestCase() 131 USB_HILOGI(MODULE_USB_SERVICE, "UsbBulkcallbackMockTest TearDownTestCase"); in TearDownTestCase() 169 …USB_HILOGI(MODULE_USB_SERVICE, "UsbBulkcallbackMockTest::RegBulkCallback001 RegBulkCallback=%{publ… 192 …USB_HILOGI(MODULE_USB_SERVICE, "UsbBulkcallbackMockTest::RegBulkCallback002 RegBulkCallback=%{publ… 217 …USB_HILOGI(MODULE_USB_SERVICE, "UsbBulkcallbackMockTest::RegBulkCallback003 RegBulkCallback=%{publ… 244 …USB_HILOGI(MODULE_USB_SERVICE, "UsbBulkcallbackMockTest::RegBulkCallback004 RegBulkCallback=%{publ… 276 USB_HILOGI(MODULE_USB_SERVICE, "UsbBulkcallbackMockTest::BulkRead001 BulkRead=%{public}d", ret); 310 USB_HILOGI(MODULE_USB_SERVICE, "UsbBulkcallbackMockTest::BulkRead002 BulkRead=%{public}d", ret); 345 USB_HILOGI(MODULE_USB_SERVICE, "UsbBulkcallbackMockTest::BulkRead003 BulkRead=%{public}d", ret); 381 USB_HILOGI(MODULE_USB_SERVICE, "UsbBulkcallbackMockTest::BulkRead004 BulkRead=%{public}d", ret); [all …]
|
D | usb_event_mock_test.cpp | 57 USB_HILOGI(MODULE_USB_SERVICE, "recv event ok"); in OnReceiveEvent() 69 USB_HILOGI(MODULE_USB_SERVICE, "UsbEventMockTest SetUpTestCase Start"); in SetUpTestCase() 86 USB_HILOGI(MODULE_USB_SERVICE, "UsbEventMockTest TearDownTestCase enter"); in TearDownTestCase()
|
/base/usb/usb_manager/services/native/src/ |
D | usb_function_switch_window.cpp | 39 USB_HILOGI(MODULE_USB_SERVICE, "reset to new instance"); in GetInstance() 56 USB_HILOGI(MODULE_USB_SERVICE, "init: windown action=%{public}d", windowAction_); in Init() 62 USB_HILOGI(MODULE_USB_SERVICE, "pop up function switch window"); in PopUpFunctionSwitchWindow() 77 USB_HILOGI(MODULE_USB_SERVICE, "forbid: pop up function switch window"); in PopUpFunctionSwitchWindow() 88 USB_HILOGI(MODULE_USB_SERVICE, "dismiss function switch window"); in DismissFunctionSwitchWindow() 91 USB_HILOGI(MODULE_USB_SERVICE, "forbid: dismiss function switch window"); in DismissFunctionSwitchWindow() 106 USB_HILOGI(MODULE_USB_SERVICE, "show function switch window right now"); in ShowFunctionSwitchWindow() 132 USB_HILOGI(MODULE_USB_SERVICE, "unshow function switch window"); in UnShowFunctionSwitchWindow()
|
D | usb_port_manager.cpp | 36 USB_HILOGI(MODULE_USB_SERVICE, "UsbPortManager::Init start"); in UsbPortManager() 45 USB_HILOGI(MODULE_USB_SERVICE, "UsbPortManager::unInit start"); in ~UsbPortManager() 50 USB_HILOGI(MODULE_USB_SERVICE, "UsbPortManager::QueryPort start"); in Init() 74 USB_HILOGI(MODULE_USB_SERVICE, "UsbPortManager::GetPorts success"); in GetPorts() 82 USB_HILOGI(MODULE_USB_SERVICE, "UsbPortManager::QueryPort and GetPorts success"); in GetPorts() 96 USB_HILOGI(MODULE_USB_SERVICE, "UsbPortManager::GetSupportedModes success"); in GetSupportedModes() 115 …USB_HILOGI(MODULE_USB_SERVICE, "portId:%{public}d powerRole:%{public}d dataRole:%{public}d mode:%{… in QueryPort() 135 USB_HILOGI(MODULE_USB_SERVICE, "UsbPortManager::updatePort run"); in UpdatePort() 145 USB_HILOGI(MODULE_USB_SERVICE, "UsbPortManager::updatePort seccess"); in UpdatePort() 154 USB_HILOGI(MODULE_USB_SERVICE, "addPort run"); in AddPort() [all …]
|
D | usb_service.cpp | 110 USB_HILOGI(MODULE_USB_SERVICE, "OnAddSystemAbility ID = %{public}d", systemAbilityId); in OnAddSystemAbility() 116 USB_HILOGI(MODULE_USB_SERVICE, "OnRemoveSystemAbility ID = %{public}d", systemAbilityId); in OnRemoveSystemAbility() 127 USB_HILOGI(MODULE_USB_SERVICE, "usb_service OnStart enter"); in OnStart() 178 USB_HILOGI(MODULE_USB_SERVICE, "usb_service Init enter"); in Init() 227 USB_HILOGI(MODULE_USB_SERVICE, "entry InitUsbd ret: %{public}d", ret); in InitUsbd() 233 USB_HILOGI(MODULE_USB_SERVICE, "entry stop service %{public}d", ready_); in OnStop() 294 USB_HILOGI(MODULE_USB_SERVICE, " it->first = %{public}s", it->first.c_str()); in GetDeviceVidPidSerialNumber() 305 USB_HILOGI(MODULE_USB_SERVICE, "calling usbRightManager HasRight"); in HasRight() 321 …USB_HILOGI(MODULE_USB_SERVICE, "bundle=%{public}s, device=%{public}s", bundleName.c_str(), deviceN… in HasRight() 327 USB_HILOGI(MODULE_USB_SERVICE, "calling usbRightManager RequestRight"); in RequestRight() [all …]
|
D | usb_host_manager.cpp | 51 USB_HILOGI( in DelDevice() 92 USB_HILOGI( in AddDevice() 110 …USB_HILOGI(MODULE_SERVICE, "send %{public}s broadcast device:%{public}s", event.c_str(), jsonStrin… in PublishCommonEvent() 133 USB_HILOGI(MODULE_SERVICE, "Host mode Indicates the insertion and removal information"); in ReportHostPlugSysEvent()
|
D | usb_right_database.cpp | 37 USB_HILOGI(MODULE_USB_SERVICE, "GetRdbStore success :%{public}d", errCode); in UsbRightDataBase() 44 USB_HILOGI(MODULE_USB_SERVICE, "reset to new instance"); in GetInstance() 101 USB_HILOGI(MODULE_USB_SERVICE, "Insert id=%{public}" PRIu64 "", outRowId); in Insert() 211 USB_HILOGI(MODULE_USB_SERVICE, "DB OnCreate Done: %{public}d", ret); in OnCreate() 217 USB_HILOGI(MODULE_USB_SERVICE, "DB OnUpgrade Enter"); in OnUpgrade() 226 USB_HILOGI(MODULE_USB_SERVICE, "DB OnDowngrade Enter"); in OnDowngrade()
|
D | usb_descriptor_parser.cpp | 46 USB_HILOGI(MODULE_USB_SERVICE, "parse begin length=%{public}u", length); in ParseDeviceDescriptor() 81 …USB_HILOGI(MODULE_USB_SERVICE, "parse begin length=%{public}u, cursor=%{public}u", length, cursor); in ParseConfigDescriptor() 140 …USB_HILOGI(MODULE_USB_SERVICE, "type = %{public}d, length=%{public}d", descriptorHeader.bDescripto… in ParseInterfaceDescriptor() 174 …USB_HILOGI(MODULE_USB_SERVICE, "parse begin, length=%{public}u, cursor=%{public}u", length, cursor… in ParseEndpointDescriptor() 194 …USB_HILOGI(MODULE_USB_SERVICE, "error type = %{public}d, length=%{public}d", descriptorHeader.bDes… in ParseEndpointDescriptor()
|
D | usb_server_event_handler.cpp | 25 … USB_HILOGI(MODULE_USB_SERVICE, "UsbServerEventHandler::UsbServerEventHandler instance created."); in UsbServerEventHandler()
|
D | usb_service_subscriber.cpp | 86 USB_HILOGI(MODULE_USB_SERVICE, "usb attached"); in DeviceEvent() 89 USB_HILOGI(MODULE_USB_SERVICE, "usb detached"); in DeviceEvent()
|
D | usb_device_manager.cpp | 50 USB_HILOGI(MODULE_USB_SERVICE, "UsbDeviceManager::Init start"); in UsbDeviceManager() 137 USB_HILOGI(MODULE_USB_SERVICE, "UsbDeviceManager::ConvertToString success"); in ConvertToString() 192 USB_HILOGI(MODULE_SERVICE, "send COMMON_EVENT_USB_STATE broadcast connected:%{public}d, " in HandleEvent() 296 USB_HILOGI(MODULE_USB_SERVICE, "Device function Indicates the switch point information:"); in ReportFuncChangeSysEvent() 304 USB_HILOGI(MODULE_USB_SERVICE, "Device mode Indicates the insertion and removal information:"); in ReportDevicePlugSysEvent()
|
/base/usb/usb_manager/utils/native/include/ |
D | hilog_wrapper.h | 39 #ifdef USB_HILOGI 40 #undef USB_HILOGI 92 #define USB_HILOGI(module, ...) (void)OHOS::HiviewDFX::HiLog::Info(USB_MGR_LABEL[module], FORMATED_… macro 102 #define USB_HILOGI(...) macro
|
D | delayed_sp_singleton.h | 59 USB_HILOGI(MODULE_USB_SERVICE, "get instance failed\n"); in GetInstance()
|
/base/usb/usb_manager/interfaces/innerkits/native/src/ |
D | usb_srv_client.cpp | 53 USB_HILOGI(MODULE_USB_INNERKIT, "Connect UsbService ok."); in Connect() 56 USB_HILOGI(MODULE_USB_INNERKIT, "deathObject is null."); in Connect() 82 USB_HILOGI(MODULE_USB_INNERKIT, "UsbSrvDeathRecipient::Recv death notice."); in OnRemoteDied() 87 USB_HILOGI(MODULE_USB_INNERKIT, "Calling OpenDevice Start!"); in OpenDevice() 102 USB_HILOGI(MODULE_USB_INNERKIT, "Calling HasRight Start!"); in HasRight() 134 USB_HILOGI(MODULE_USB_INNERKIT, "list size = %{public}zu!", deviceList.size()); in GetDevices() 145 USB_HILOGI(MODULE_USB_INNERKIT, " Calling GetCurrentFunctions Success!"); in GetCurrentFunctions() 157 USB_HILOGI(MODULE_USB_INNERKIT, " Calling SetCurrentFunctions Success!"); in SetCurrentFunctions() 165 USB_HILOGI(MODULE_USB_INNERKIT, " Calling UsbFunctionsFromString Success!"); in UsbFunctionsFromString() 174 USB_HILOGI(MODULE_USB_INNERKIT, " Calling UsbFunctionsToString Success!"); in UsbFunctionsToString() [all …]
|
D | usbd_bulk_callback.cpp | 43 … USB_HILOGI(MODULE_USB_INNERKIT, "status:%{public}d actLength:%{public}d", status, actLength); in OnRemoteRequest() 64 …USB_HILOGI(MODULE_USB_INNERKIT, "%{public}d status:%{public}d actLength:%{public}d", __LINE__, sta… in OnRemoteRequest()
|
/base/usb/usb_manager/services/native/include/ |
D | usb_right_manager.h | 66 USB_HILOGI(MODULE_USB_SERVICE, "connect done"); in OnAbilityConnectDone() 70 USB_HILOGI(MODULE_USB_SERVICE, "disconnect done"); in OnAbilityDisconnectDone()
|
/base/usb/usb_manager/services/zidl/src/ |
D | usb_srv_proxy.cpp | 59 USB_HILOGI(MODULE_USBD, "success length:%{public}u", length); in SetBufferMessage() 72 USB_HILOGI(MODULE_USBD, "invalid size:%{public}u", dataSize); in GetBufferMessage() 173 …USB_HILOGI(MODULE_USB_INNERKIT, "devName:%{public}s Bus:%{public}d dev:%{public}d ", devInfo.GetNa… in GetDeviceMessageParcel() 216 USB_HILOGI(MODULE_USB_SERVICE, "devInfo=%{public}s", config.ToString().c_str()); in GetDeviceConfigsMessageParcel() 263 USB_HILOGI(MODULE_USB_SERVICE, "devInfo=%{public}s", interface.ToString().c_str()); in GetDeviceInterfacesMessageParcel() 291 USB_HILOGI(MODULE_USB_SERVICE, "devInfo=%{public}s", ep.ToString().c_str()); in GetDeviceEndpointsMessageParcel() 505 USB_HILOGI(MODULE_USB_INNERKIT, "GetPorts size %{public}d", size); in GetPorts() 511 USB_HILOGI(MODULE_USB_INNERKIT, "ParseUsbPort : %{public}d", i); in GetPorts() 525 USB_HILOGI(MODULE_USB_INNERKIT, "UsbServerProxy::port->id %{public}d", port.id); in ParseUsbPort() 531 USB_HILOGI(MODULE_USB_INNERKIT, "UsbServerProxy::port.usbPortStatus.currentMode %{public}d", in ParseUsbPort() [all …]
|