Home
last modified time | relevance | path

Searched refs:dsoftbus_ (Results 1 – 21 of 21) sorted by relevance

/ohos5.0/foundation/multimodalinput/input/intention/cooperate/plugin/src/
H A Dcooperate_out.cpp210 context.dsoftbus_.StopCooperate(context.Peer(), stopNotice); in OnRemoteStart()
246 int32_t ret = context.dsoftbus_.OpenSession(notice.targetNetworkId); in OnRelay()
251 context.dsoftbus_.RelayCooperateFinish(notice.networkId, resp); in OnRelay()
256 context.dsoftbus_.RelayCooperateFinish(notice.networkId, resp); in OnRelay()
277 context.dsoftbus_.CloseAllSessions(); in OnAppClosed()
339 context.dsoftbus_.StopCooperate(context.Peer(), notice); in StopCooperate()
350 context.dsoftbus_.CloseAllSessions(); in UnchainConnections()
H A Dcooperate_free.cpp92 context.dsoftbus_.CloseAllSessions(); in UnchainConnections()
134 int32_t ret = context.dsoftbus_.OpenSession(context.Peer()); in OnStart()
152 context.dsoftbus_.StartCooperate(context.Peer(), startNotice); in OnStart()
176 context.dsoftbus_.CloseAllSessions(); in OnAppClosed()
H A Dcooperate_in.cpp175 if (context.dsoftbus_.ComeBack(context.Peer(), notice) != RET_OK) { in OnComeBack()
226 context.dsoftbus_.StopCooperate(context.Peer(), stopNotice); in OnRemoteStart()
254 context.dsoftbus_.CloseAllSessions(); in OnAppClosed()
453 context.dsoftbus_.CloseAllSessions(); in OnAppClosed()
546 context.dsoftbus_.StartCooperate(parent_.process_.Peer(), notice); in OnNormal()
557 int32_t ret = context.dsoftbus_.OpenSession(remoteNetworkId); in OnProgress()
568 context.dsoftbus_.RelayCooperate(context.Peer(), notice); in OnProgress()
602 context.dsoftbus_.StopCooperate(context.Peer(), notice); in StopCooperate()
612 context.dsoftbus_.CloseAllSessions(); in UnchainConnections()
H A Dcooperate_context.cpp118 : dsoftbus_(env), eventMgr_(env), hotArea_(env), mouseLocation_(env), inputDevMgr_(env), in Context()
125 dsoftbus_.AttachSender(sender); in AttachSender()
/ohos5.0/base/msdp/device_status/intention/cooperate/plugin/src/
H A Dcooperate_out.cpp211 context.dsoftbus_.StopCooperate(context.Peer(), stopNotice); in OnRemoteStart()
247 int32_t ret = context.dsoftbus_.OpenSession(notice.targetNetworkId); in OnRelay()
252 context.dsoftbus_.RelayCooperateFinish(notice.networkId, resp); in OnRelay()
257 context.dsoftbus_.RelayCooperateFinish(notice.networkId, resp); in OnRelay()
278 context.dsoftbus_.CloseAllSessions(); in OnAppClosed()
341 context.dsoftbus_.StopCooperate(context.Peer(), notice); in StopCooperate()
352 context.dsoftbus_.CloseAllSessions(); in UnchainConnections()
H A Dcooperate_free.cpp76 context.dsoftbus_.CloseAllSessions(); in UnchainConnections()
127 int32_t ret = context.dsoftbus_.OpenSession(context.Peer()); in OnStart()
145 context.dsoftbus_.StartCooperate(context.Peer(), startNotice); in OnStart()
176 context.dsoftbus_.CloseAllSessions(); in OnAppClosed()
H A Dcooperate_in.cpp175 if (context.dsoftbus_.ComeBack(context.Peer(), notice) != RET_OK) { in OnComeBack()
228 context.dsoftbus_.StopCooperate(context.Peer(), stopNotice); in OnRemoteStart()
256 context.dsoftbus_.CloseAllSessions(); in OnAppClosed()
455 context.dsoftbus_.CloseAllSessions(); in OnAppClosed()
548 context.dsoftbus_.StartCooperate(parent_.process_.Peer(), notice); in OnNormal()
560 int32_t ret = context.dsoftbus_.OpenSession(remoteNetworkId); in OnProgress()
571 context.dsoftbus_.RelayCooperate(context.Peer(), notice); in OnProgress()
605 context.dsoftbus_.StopCooperate(context.Peer(), notice); in StopCooperate()
623 context.dsoftbus_.CloseAllSessions(); in UnchainConnections()
H A Dcooperate_context.cpp106 : dsoftbus_(env), eventMgr_(env), hotArea_(env), mouseLocation_(env), inputDevMgr_(env), in Context()
113 dsoftbus_.AttachSender(sender); in AttachSender()
/ohos5.0/base/msdp/device_status/test/unittest/intention/cooperate/src/
H A Dinput_event_interceptor_test.cpp30 std::unique_ptr<IDSoftbusAdapter> dsoftbus_; variable
87 return *dsoftbus_; in GetDSoftbus()
95 dsoftbus_ = std::make_unique<DSoftbusAdapter>(); in SetUpTestCase()
H A Dcooperate_plugin_test.cpp381 g_context->dsoftbus_.AttachSender(sender);
384 g_context->dsoftbus_.CloseSession("test");
385 g_context->dsoftbus_.CloseAllSessions();
449 g_context->dsoftbus_.GetLocalNetworkId();
450 g_context->dsoftbus_.OnBind("test");
451 g_context->dsoftbus_.OnShutdown("test");
467 g_context->dsoftbus_.SendEvent(event);
468 g_context->dsoftbus_.OnCommunicationFailure("test");
469 g_context->dsoftbus_.OnStartCooperate("test", packet);
470 g_context->dsoftbus_.OnStopCooperate("test", packet);
[all …]
H A Dtest_context.cpp137 dsoftbus_ = std::make_unique<DSoftbusAdapter>(); in TestContext()
177 return *dsoftbus_; in GetDSoftbus()
H A Dinput_event_builder_test.cpp30 std::unique_ptr<IDSoftbusAdapter> dsoftbus_; variable
88 return *dsoftbus_; in GetDSoftbus()
96 dsoftbus_ = std::make_unique<DSoftbusAdapter>(); in SetUpTestCase()
/ohos5.0/foundation/multimodalinput/input/intention/cooperate/test/src/
H A Dtest_context.cpp114 dsoftbus_ = std::make_unique<DSoftbusAdapter>(); in TestContext()
154 return *dsoftbus_; in GetDSoftbus()
/ohos5.0/base/msdp/device_status/test/unittest/intention/services/include/
H A Dintention_service_test.h65 std::unique_ptr<IDSoftbusAdapter> dsoftbus_ { nullptr };
/ohos5.0/foundation/multimodalinput/input/intention/cooperate/test/include/
H A Dtest_context.h83 std::unique_ptr<IDSoftbusAdapter> dsoftbus_ { nullptr };
/ohos5.0/base/msdp/device_status/test/unittest/intention/cooperate/include/
H A Dtest_context.h94 std::unique_ptr<IDSoftbusAdapter> dsoftbus_ { nullptr };
/ohos5.0/foundation/multimodalinput/input/intention/cooperate/plugin/include/
H A Dcooperate_context.h95 DSoftbusHandler dsoftbus_; variable
/ohos5.0/base/msdp/device_status/intention/cooperate/plugin/include/
H A Dcooperate_context.h95 DSoftbusHandler dsoftbus_; variable
/ohos5.0/base/msdp/device_status/services/native/include/
H A Ddevicestatus_service.h157 std::unique_ptr<IDSoftbusAdapter> dsoftbus_; variable
/ohos5.0/base/msdp/device_status/services/native/src/
H A Ddevicestatus_service.cpp64 dsoftbus_ = std::make_unique<DSoftbusAdapter>(); in DeviceStatusService()
172 return *dsoftbus_; in GetDSoftbus()
178 int32_t ret = dsoftbus_->Enable(); in EnableDSoftbus()
/ohos5.0/base/msdp/device_status/test/unittest/intention/services/src/
H A Dintention_service_test.cpp93 dsoftbus_ = std::make_unique<DSoftbusAdapter>(); in ContextService()
133 return *dsoftbus_; in GetDSoftbus()