Home
last modified time | relevance | path

Searched refs:connected (Results 1 - 6 of 6) sorted by relevance

/base/usb/usb_manager/services/native/src/
H A Dusb_device_manager.cpp204 void UsbDeviceManager::ProcessFuncChange(bool connected, int32_t currentFunc) in ProcessFuncChange() argument
206 USB_HILOGI(MODULE_USB_SERVICE, "Current Connect %{public}d,bconnected: %{public}d", connected, currentFunc); in ProcessFuncChange()
210 want.SetParam(std::string {UsbSrvSupport::CONNECTED}, connected); in ProcessFuncChange()
225 USB_HILOGI(MODULE_SERVICE, "send COMMON_EVENT_USB_STATE broadcast connected:%{public}d, " in ProcessFuncChange()
226 "currentFunctions:%{public}d", connected, currentFunc); in ProcessFuncChange()
228 ReportDevicePlugSysEvent(currentFunc, connected); in ProcessFuncChange()
229 ProcessFunctionSwitchWindow(connected); in ProcessFuncChange()
232 void UsbDeviceManager::ProcessFunctionSwitchWindow(bool connected) in ProcessFunctionSwitchWindow() argument
240 if (connected) { in ProcessFunctionSwitchWindow()
341 void UsbDeviceManager::ReportDevicePlugSysEvent(int32_t currentFunctions, bool connected) in ReportDevicePlugSysEvent() argument
[all...]
/base/usb/usb_manager/services/native/include/
H A Dusb_device_manager.h49 void ProcessFunctionSwitchWindow(bool connected);
53 void ReportDevicePlugSysEvent(int32_t currentFunctions, bool connected);
54 void ProcessFuncChange(bool connected, int32_t currentFunc);
/base/hiviewdfx/faultloggerd/interfaces/innerkits/signal_handler/
H A Ddfx_signalhandler_exception.c78 int connected = OHOS_TEMP_FAILURE_RETRY(connect(fd, (struct sockaddr*)(&server), len)); in ConnectSocket() local
79 if (connected < 0) { in ConnectSocket()
/base/startup/init/services/loopevent/task/
H A Dle_task.h110 uint32_t connected : 1; member
H A Dle_streamtask.c120 LE_ONLY_CHECK(!(client->connected == 0 && client->connectComplete), client->connectComplete(handle)); in HandleClientEvent_()
121 client->connected = 1; in HandleClientEvent_()
131 client->connected = 0; in HandleClientEvent_()
/base/hiviewdfx/faultloggerd/interfaces/innerkits/faultloggerd_client/
H A Dfaultloggerd_socket.cpp70 int connected = OHOS_TEMP_FAILURE_RETRY(connect(sockfd, reinterpret_cast<struct sockaddr *>(&server), len)); in StartConnect() local
71 if (connected < 0) { in StartConnect()

Completed in 3 milliseconds