Home
last modified time | relevance | path

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

12

/foundation/graphic/graphic_2d/rosen/samples/2d_graphics/test/
H A Ddrawing_sample.cpp74 void DrawingSample::OnScreenPlug(std::shared_ptr<HdiOutput>& output, bool connected, void* data) in OnScreenPlug() argument
76 LOGI("enter OnScreenPlug, connected is %{public}d", connected); in OnScreenPlug()
78 thisPtr->OnHotPlugEvent(output, connected); in OnScreenPlug()
229 void DrawingSample::OnHotPlugEvent(std::shared_ptr<HdiOutput>& output, bool connected) in OnHotPlugEvent() argument
233 OnHotPlug(output, connected); in OnHotPlugEvent()
236 mainThreadHandler_->PostTask(std::bind(&DrawingSample::OnHotPlug, this, output, connected)); in OnHotPlugEvent()
240 void DrawingSample::OnHotPlug(std::shared_ptr<HdiOutput>& output, bool connected) in OnHotPlug() argument
248 deviceConnected_ = connected; in OnHotPlug()
255 LOGI("Callback HotPlugEvent, connected i in OnHotPlug()
[all...]
H A Ddrawing_sample.h76 void OnHotPlug(std::shared_ptr<HdiOutput>& output, bool connected);
77 void OnHotPlugEvent(std::shared_ptr<HdiOutput>& output, bool connected);
80 static void OnScreenPlug(std::shared_ptr<HdiOutput>& output, bool connected, void* data);
/foundation/graphic/graphic_2d/rosen/modules/composer/hdi_backend/src/
H A Dhdi_backend.cpp312 void HdiBackend::OnHdiBackendHotPlugEvent(uint32_t screenId, bool connected, void *data) in OnHdiBackendHotPlugEvent() argument
314 HLOGI("HotPlugEvent, screenId is %{public}u, connected is %{public}u", screenId, connected); in OnHdiBackendHotPlugEvent()
322 hdiBackend->OnHdiBackendConnected(screenId, connected); in OnHdiBackendHotPlugEvent()
325 void HdiBackend::OnHdiBackendConnected(uint32_t screenId, bool connected) in OnHdiBackendConnected() argument
327 if (connected) { in OnHdiBackendConnected()
331 OnScreenHotplug(screenId, connected); in OnHdiBackendConnected()
341 void HdiBackend::OnScreenHotplug(uint32_t screenId, bool connected) in OnScreenHotplug() argument
350 onScreenHotplugCb_(iter->second, connected, onHotPlugCbData_); in OnScreenHotplug()
353 if (!connected) { in OnScreenHotplug()
[all...]
/foundation/graphic/graphic_2d/rosen/modules/composer/hdi_backend/include/
H A Dhdi_backend.h41 using OnScreenHotplugFunc = std::function<void(OutputPtr &output, bool connected, void* data)>;
85 static void OnHdiBackendHotPlugEvent(uint32_t deviceId, bool connected, void *data);
88 void OnHdiBackendConnected(uint32_t screenId, bool connected);
90 void OnScreenHotplug(uint32_t screenId, bool connected);
H A Dhdi_display_type.h148 * @param connected Indicates the connection status of the display device. The value <b>true</b> means that
149 * the display device is connected, and <b>false</b> means the opposite.
152 typedef void (*HotPlugCallback)(uint32_t devId, bool connected, void *data);
/foundation/graphic/graphic_2d/rosen/samples/composer/
H A Dhello_composer.h70 void OnHotPlug(std::shared_ptr<HdiOutput> &output, bool connected);
71 void OnHotPlugEvent(std::shared_ptr<HdiOutput> &output, bool connected);
77 static void OnScreenPlug(std::shared_ptr<HdiOutput> &output, bool connected, void* data);
H A Dhello_composer.cpp100 void HelloComposer::OnScreenPlug(std::shared_ptr<HdiOutput> &output, bool connected, void* data) in OnScreenPlug() argument
102 LOGI("enter OnScreenPlug, connected is %{public}d", connected); in OnScreenPlug()
104 thisPtr->OnHotPlugEvent(output, connected); in OnScreenPlug()
341 void HelloComposer::OnHotPlugEvent(std::shared_ptr<HdiOutput> &output, bool connected) in OnHotPlugEvent() argument
345 OnHotPlug(output, connected); in OnHotPlugEvent()
348 mainThreadHandler_->PostTask([this] { this->OnHotPlug(output, connected); }); in OnHotPlugEvent()
352 void HelloComposer::OnHotPlug(std::shared_ptr<HdiOutput> &output, bool connected) in OnHotPlug() argument
360 deviceConnected_ = connected; in OnHotPlug()
362 if (!connected) { in OnHotPlug()
[all...]
/foundation/barrierfree/accessibility/interfaces/innerkits/test/benchmarktest/accessible_ability_client_test/
H A Daccessible_ability_client_test.cpp81 ffrt::promise<void> connected; in SetUp() local
82 ffrt::future syncFuture = connected.get_future(); in SetUp()
83 listener_->SetCompletePromise(connected); in SetUp()
/foundation/arkui/ace_engine_lite/frameworks/src/core/base/
H A Djs_debugger_config.cpp58 bool connected = jerryx_debugger_ws_create(); in StartDebugger() local
59 jerryx_debugger_after_connect(protocol && connected); in StartDebugger()
/foundation/graphic/graphic_2d/rosen/samples/2d_graphics/
H A Ddrawing_engine_sample.h80 void OnHotPlugEvent(const std::shared_ptr<HdiOutput> &output, bool connected);
81 static void OnScreenPlug(std::shared_ptr<HdiOutput> &output, bool connected, void* data);
H A Drender_context_sample.cpp64 void RenderContextSample::OnScreenPlug(std::shared_ptr<HdiOutput> &output, bool connected, void* data) in OnScreenPlug() argument
66 std::cout << "enter OnScreenPlug, connected is " << connected << std::endl; in OnScreenPlug()
68 thisPtr->OnHotPlugEvent(output, connected); in OnScreenPlug()
467 void RenderContextSample::OnHotPlugEvent(const std::shared_ptr<HdiOutput> &output, bool connected) in OnHotPlugEvent() argument
474 deviceConnected_ = connected; in OnHotPlugEvent()
481 std::cout << "Callback HotPlugEvent, connected is " << connected << std::endl; in OnHotPlugEvent()
483 if (connected) { in OnHotPlugEvent()
H A Ddrawing_engine_sample.cpp103 void DrawingEngineSample::OnScreenPlug(std::shared_ptr<HdiOutput> &output, bool connected, void* data) in OnScreenPlug() argument
105 std::cout << "enter OnScreenPlug, connected is " << connected << std::endl; in OnScreenPlug()
107 thisPtr->OnHotPlugEvent(output, connected); in OnScreenPlug()
376 void DrawingEngineSample::OnHotPlugEvent(const std::shared_ptr<HdiOutput> &output, bool connected) in OnHotPlugEvent() argument
386 deviceConnected_ = connected; in OnHotPlugEvent()
393 std::cout << "Callback HotPlugEvent, connected is " << connected << std::endl; in OnHotPlugEvent()
394 if (connected) { in OnHotPlugEvent()
H A Ddrawing_sample_canvaskit0310.cpp78 void OnHotPlugEvent(std::shared_ptr<HdiOutput> &output, bool connected);
509 static void OnScreenPlug(std::shared_ptr<HdiOutput> &output, bool connected, void* data) in OnScreenPlug() argument
511 LOGI("enter OnScreenPlug, connected is %{public}d", connected); in OnScreenPlug()
513 thisPtr->OnHotPlugEvent(output, connected); in OnScreenPlug()
516 void HelloDrawing::OnHotPlugEvent(std::shared_ptr<HdiOutput> &output, bool connected) in OnHotPlugEvent() argument
523 deviceConnected_ = connected; in OnHotPlugEvent()
530 LOGI("Callback HotPlugEvent, connected is %{public}u", connected); in OnHotPlugEvent()
532 if (connected) { in OnHotPlugEvent()
[all...]
H A Drender_context_sample.h85 void OnHotPlugEvent(const std::shared_ptr<HdiOutput> &output, bool connected);
87 static void OnScreenPlug(std::shared_ptr<HdiOutput> &output, bool connected, void* data);
/foundation/communication/dsoftbus/components/nstackx/fillp/src/fillp_lib/include/
H A Dsysio.h47 void (*connected)(void *argSock, void *argOsSock); member
62 FILLP_BOOL connected; member
/foundation/communication/bluetooth_service/services/bluetooth/service/src/gavdp/
H A Da2dp_service_state_machine.h119 * @brief Construct a connected State object.
204 std::unique_ptr<StateMachine::State> connected = std::make_unique<A2dpConnected>(A2DP_STATE_CONNECTED, *this); in A2dpStateManager() local
209 Move(connected); in A2dpStateManager()
/foundation/resourceschedule/memmgr/interface/innerkits/src/
H A Dmem_mgr_client.cpp54 int32_t MemMgrClient::NotifyDistDevStatus(int32_t pid, int32_t uid, const std::string &name, bool connected) in NotifyDistDevStatus() argument
56 HILOGI("called, pid=%{public}d, uid=%{public}d, name=%{public}s, connected=%{public}d", pid, uid, name.c_str(), in NotifyDistDevStatus()
57 connected); in NotifyDistDevStatus()
63 return dps->NotifyDistDevStatus(pid, uid, name, connected); in NotifyDistDevStatus()
H A Dmem_mgr_proxy.cpp62 int32_t MemMgrProxy::NotifyDistDevStatus(int32_t pid, int32_t uid, const std::string &name, bool connected) in NotifyDistDevStatus() argument
64 HILOGI("called, pid=%{public}d, uid=%{public}d, name=%{public}s, connected=%{public}d", pid, uid, name.c_str(), in NotifyDistDevStatus()
65 connected); in NotifyDistDevStatus()
76 if (!data.WriteInt32(pid) || !data.WriteInt32(uid) || !data.WriteString(name) || !data.WriteBool(connected)) { in NotifyDistDevStatus()
/foundation/resourceschedule/memmgr/services/memmgrservice/src/
H A Dmem_mgr_service.cpp133 int32_t MemMgrService::NotifyDistDevStatus(int32_t pid, int32_t uid, const std::string &name, bool connected) in NotifyDistDevStatus() argument
135 HILOGI("called, pid=%{public}d, uid=%{public}d, name=%{public}s, connected=%{public}d", pid, uid, name.c_str(), in NotifyDistDevStatus()
136 connected); in NotifyDistDevStatus()
142 connected ? AppStateUpdateReason::DIST_DEVICE_CONNECTED : AppStateUpdateReason::DIST_DEVICE_DISCONNECTED; in NotifyDistDevStatus()
145 connected ? AppStateUpdateReason::DIST_DEVICE_CONNECTED : AppStateUpdateReason::DIST_DEVICE_DISCONNECTED)); in NotifyDistDevStatus()
H A Dmem_mgr_stub.cpp118 bool connected; in HandleNotifyDistDevStatus() local
119 if (!data.ReadInt32(pid) || !data.ReadInt32(uid) || !data.ReadString(name) || !data.ReadBool(connected)) { in HandleNotifyDistDevStatus()
123 HILOGI("called, pid=%{public}d, uid=%{public}d, name=%{public}s, connected=%{public}d", pid, uid, name.c_str(), in HandleNotifyDistDevStatus()
124 connected); in HandleNotifyDistDevStatus()
126 int32_t ret = NotifyDistDevStatus(pid, uid, name, connected); in HandleNotifyDistDevStatus()
/foundation/communication/dsoftbus/components/nstackx/fillp/src/fillp_lib/src/
H A Dsysio_udp.c159 if (udpSock->connected) { in SysioSendUdp()
297 udpSock->connected = FILLP_FALSE; in SysioCreateSocketUdp()
355 udpSock->connected = FILLP_FALSE; in SysioDestroySocketUdp()
542 udpSock->connected = FILLP_TRUE; in SysioConnectedUdp()
/foundation/arkui/ui_lite/test/autotest/src/
H A Dtcp_socket.cpp41 connect(tcpSocket_, SIGNAL(connected()), this, SLOT(OnConnected())); in CreateTCPScoket()
64 printf("TcpScoketClient::connected\n"); in OnConnected()
/foundation/resourceschedule/memmgr/interface/innerkits/include/
H A Dmem_mgr_client.h35 int32_t NotifyDistDevStatus(int32_t pid, int32_t uid, const std::string &name, bool connected);
H A Di_mem_mgr.h40 virtual int32_t NotifyDistDevStatus(int32_t pid, int32_t uid, const std::string &name, bool connected) = 0;
H A Dmem_mgr_proxy.h28 int32_t NotifyDistDevStatus(int32_t pid, int32_t uid, const std::string &name, bool connected) override;

Completed in 12 milliseconds

12