Home
last modified time | relevance | path

Searched refs:Channel (Results 1 - 25 of 57) sorted by relevance

123

/foundation/communication/dsoftbus/tests/core/transmission/trans_channel/udp_negotiation/
H A Dtrans_udp_manager_test.cpp79 UdpChannelInfo *Channel = (UdpChannelInfo*)SoftBusCalloc(sizeof(UdpChannelInfo)); in GetPackTest() local
80 if (Channel == nullptr) { in GetPackTest()
83 Channel->info.myData.channelId = TestGetChannelId(); in GetPackTest()
84 Channel->info.appType = APP_TYPE_NORMAL; in GetPackTest()
85 Channel->info.myData.apiVersion = API_V2; in GetPackTest()
86 Channel->info.businessType = BUSINESS_TYPE_MESSAGE; in GetPackTest()
87 Channel->info.peerData.apiVersion = API_V2; in GetPackTest()
88 Channel->info.encrypt = APP_INFO_FILE_FEATURES_SUPPORT; in GetPackTest()
89 Channel->info.algorithm = APP_INFO_ALGORITHM_AES_GCM_256; in GetPackTest()
90 Channel in GetPackTest()
140 UdpChannelInfo *Channel = GetPackTest(); HWTEST_F() local
157 UdpChannelInfo *Channel = GetPackTest(); HWTEST_F() local
189 UdpChannelInfo *Channel = GetPackTest(); HWTEST_F() local
213 UdpChannelInfo *Channel = GetPackTest(); HWTEST_F() local
247 UdpChannelInfo *Channel = GetPackTest(); HWTEST_F() local
276 UdpChannelInfo *Channel = GetPackTest(); HWTEST_F() local
306 UdpChannelInfo *Channel = GetPackTest(); HWTEST_F() local
333 UdpChannelInfo *Channel = GetPackTest(); HWTEST_F() local
367 UdpChannelInfo *Channel = GetPackTest(); HWTEST_F() local
395 UdpChannelInfo *Channel = GetPackTest(); HWTEST_F() local
419 UdpChannelInfo *Channel = GetPackTest(); HWTEST_F() local
443 UdpChannelInfo *Channel = GetPackTest(); HWTEST_F() local
471 UdpChannelInfo *Channel = GetPackTest(); HWTEST_F() local
494 UdpChannelInfo *Channel = GetPackTest(); HWTEST_F() local
534 UdpChannelInfo* Channel = GetPackTest(); HWTEST_F() local
558 UdpChannelInfo* Channel = GetPackTest(); HWTEST_F() local
583 UdpChannelInfo* Channel = GetPackTest(); HWTEST_F() local
[all...]
H A Dtrans_udp_nego_test.cpp101 UdpChannelInfo *Channel = (UdpChannelInfo*)SoftBusCalloc(sizeof(UdpChannelInfo)); in CreateUdpChannelPackTest() local
102 if (Channel == NULL) { in CreateUdpChannelPackTest()
105 Channel->requestId = 1; in CreateUdpChannelPackTest()
106 Channel->seq = 1; in CreateUdpChannelPackTest()
107 Channel->info.myData.channelId = TestGetChannelId(); in CreateUdpChannelPackTest()
108 Channel->info.myData.pid = 1; in CreateUdpChannelPackTest()
109 Channel->info.appType = APP_TYPE_NORMAL; in CreateUdpChannelPackTest()
110 Channel->info.myData.apiVersion = API_V2; in CreateUdpChannelPackTest()
111 Channel->info.businessType = BUSINESS_TYPE_MESSAGE; in CreateUdpChannelPackTest()
112 Channel in CreateUdpChannelPackTest()
[all...]
/foundation/multimodalinput/input/intention/common/channel/include/
H A Dchannel.h30 class Channel { class
45 friend class Channel<Event>;
83 Sender(std::shared_ptr<Channel<Event>> channel) in Sender()
87 std::shared_ptr<Channel<Event>> channel_ { nullptr };
91 friend class Channel<Event>;
152 Receiver(std::shared_ptr<Channel<Event>> channel) in Receiver()
156 std::shared_ptr<Channel<Event>> channel_ { nullptr };
159 Channel() = default;
160 ~Channel() = default;
181 std::pair<typename Channel<Even
[all...]
/foundation/multimodalinput/input/intention/common/channel/test/
H A Dchannel_test.cpp51 auto [sender, receiver] = Channel<size_t>::OpenChannel(); in HWTEST_F()
52 constexpr size_t count = Channel<size_t>::QUEUE_CAPACITY; in HWTEST_F()
57 EXPECT_EQ(sender.Send(index), Channel<size_t>::NO_ERROR); in HWTEST_F()
80 auto [sender, receiver] = Channel<size_t>::OpenChannel(); in HWTEST_F()
81 constexpr size_t count = Channel<size_t>::QUEUE_CAPACITY; in HWTEST_F()
86 EXPECT_EQ(sender.Send(index), Channel<size_t>::NO_ERROR); in HWTEST_F()
109 auto [sender, receiver] = Channel<size_t>::OpenChannel(); in HWTEST_F()
111 EXPECT_EQ(sender.Send(data), Channel<size_t>::INACTIVE_CHANNEL); in HWTEST_F()
122 auto [sender, receiver] = Channel<size_t>::OpenChannel(); in HWTEST_F()
126 for (size_t index = 0; index < Channel<size_ in HWTEST_F()
[all...]
/foundation/multimodalinput/input/intention/cooperate/plugin/src/
H A Dcooperate.cpp36 auto [sender, receiver] = Channel<CooperateEvent>::OpenChannel(); in Cooperate()
58 if (ret != Channel<CooperateEvent>::NO_ERROR) { in AddObserver()
71 if (ret != Channel<CooperateEvent>::NO_ERROR) { in RemoveObserver()
84 if (ret != Channel<CooperateEvent>::NO_ERROR) { in RegisterListener()
98 if (ret != Channel<CooperateEvent>::NO_ERROR) { in UnregisterListener()
112 if (ret != Channel<CooperateEvent>::NO_ERROR) { in RegisterHotAreaListener()
126 if (ret != Channel<CooperateEvent>::NO_ERROR) { in UnregisterHotAreaListener()
142 if (ret != Channel<CooperateEvent>::NO_ERROR) { in Enable()
157 if (ret != Channel<CooperateEvent>::NO_ERROR) { in Disable()
181 if (ret != Channel<CooperateEven in Start()
[all...]
H A Dcooperate_context.cpp41 explicit BoardObserver(Channel<CooperateEvent>::Sender sender) : sender_(sender) {} in BoardObserver()
53 if (ret != Channel<CooperateEvent>::NO_ERROR) {
66 if (ret != Channel<CooperateEvent>::NO_ERROR) {
72 Channel<CooperateEvent>::Sender sender_;
77 explicit HotplugObserver(Channel<CooperateEvent>::Sender sender) : sender_(sender) {} in HotplugObserver()
84 Channel<CooperateEvent>::Sender sender_;
97 if (ret != Channel<CooperateEvent>::NO_ERROR) { in OnDeviceAdded()
112 if (ret != Channel<CooperateEvent>::NO_ERROR) { in OnDeviceRemoved()
122 void Context::AttachSender(Channel<CooperateEvent>::Sender sender) in AttachSender()
/foundation/CastEngine/castengine_cast_plus_stream/src/channel/include/
H A Dconnection_listener.h35 virtual bool OnConnectionOpened(std::shared_ptr<Channel> channel) in OnConnectionOpened()
41 virtual void OnConnectionClosed(std::shared_ptr<Channel> channel) {} in OnConnectionClosed()
45 virtual void OnConnectionError(std::shared_ptr<Channel> channel, int errorCode) {} in OnConnectionError()
H A Dchannel_manager_listener.h34 virtual void OnChannelCreated(std::shared_ptr<Channel> channel) {} in OnChannelCreated()
38 virtual void OnChannelRemoved(std::shared_ptr<Channel> channel) {} in OnChannelRemoved()
40 virtual void OnChannelError(std::shared_ptr<Channel> channel, int errorCode) {} in OnChannelError()
H A Dchannel_manager.h44 bool DestroyChannel(const Channel &channel);
59 bool OnConnectionOpened(std::shared_ptr<Channel> channel) override
70 void OnConnectionClosed(std::shared_ptr<Channel> channel) override
75 void OnConnectionError(std::shared_ptr<Channel> channel, int errorCode) override
H A Dchannel.h14 * Description: Channel for transmitting data
29 class Channel { class
31 virtual ~Channel() = default;
/foundation/CastEngine/castengine_cast_framework/service/src/session/src/channel/include/
H A Dchannel_manager_listener.h34 virtual void OnChannelCreated(std::shared_ptr<Channel> channel) {} in OnChannelCreated()
38 virtual void OnChannelRemoved(std::shared_ptr<Channel> channel) {} in OnChannelRemoved()
40 virtual void OnChannelError(std::shared_ptr<Channel> channel, int errorCode) {} in OnChannelError()
H A Dconnection_listener.h35 virtual bool OnConnectionOpened(std::shared_ptr<Channel> channel) in OnConnectionOpened()
41 virtual void OnConnectionClosed(std::shared_ptr<Channel> channel) {} in OnConnectionClosed()
45 virtual void OnConnectionError(std::shared_ptr<Channel> channel, int errorCode) {} in OnConnectionError()
H A Dchannel_manager.h44 bool DestroyChannel(const Channel &channel);
59 bool OnConnectionOpened(std::shared_ptr<Channel> channel) override
70 void OnConnectionClosed(std::shared_ptr<Channel> channel) override
75 void OnConnectionError(std::shared_ptr<Channel> channel, int errorCode) override
H A Dchannel.h14 * Description: Channel for transmitting data
29 class Channel { class
31 virtual ~Channel() = default;
/foundation/CastEngine/castengine_cast_framework/service/src/session/src/stream/src/local/include/
H A Di_cast_local_file_channel.h32 virtual void AddChannel(std::shared_ptr<Channel> channel) = 0;
33 virtual void RemoveChannel(std::shared_ptr<Channel> channel) = 0;
H A Dcast_local_file_channel_server.h46 void AddChannel(std::shared_ptr<Channel> channel) override;
47 void RemoveChannel(std::shared_ptr<Channel> channel) override;
60 std::shared_ptr<Channel> channel_;
H A Dcast_local_file_channel_client.h45 void AddChannel(std::shared_ptr<Channel> channel) override;
46 void RemoveChannel(std::shared_ptr<Channel> channel) override;
60 std::shared_ptr<Channel> channel_;
/foundation/CastEngine/castengine_cast_plus_stream/src/stream/src/local/include/
H A Di_cast_local_file_channel.h32 virtual void AddChannel(std::shared_ptr<Channel> channel) = 0;
33 virtual void RemoveChannel(std::shared_ptr<Channel> channel) = 0;
H A Dcast_local_file_channel_server.h46 void AddChannel(std::shared_ptr<Channel> channel) override;
47 void RemoveChannel(std::shared_ptr<Channel> channel) override;
60 std::shared_ptr<Channel> channel_;
H A Dcast_local_file_channel_client.h45 void AddChannel(std::shared_ptr<Channel> channel) override;
46 void RemoveChannel(std::shared_ptr<Channel> channel) override;
60 std::shared_ptr<Channel> channel_;
/foundation/CastEngine/castengine_cast_plus_stream/src/rtsp/src/
H A Drtsp_channel_manager.h47 void AddChannel(std::shared_ptr<Channel> channel, const CastInnerRemoteDevice &device);
48 void RemoveChannel(std::shared_ptr<Channel> channel);
90 std::shared_ptr<Channel> channel_;
/foundation/CastEngine/castengine_cast_framework/service/src/session/src/rtsp/src/
H A Drtsp_channel_manager.h47 void AddChannel(std::shared_ptr<Channel> channel, const CastInnerRemoteDevice &device);
48 void RemoveChannel(std::shared_ptr<Channel> channel);
90 std::shared_ptr<Channel> channel_;
/foundation/multimodalinput/input/intention/cooperate/plugin/include/
H A Dcooperate_context.h50 void AttachSender(Channel<CooperateEvent>::Sender sender);
56 Channel<CooperateEvent>::Sender Sender() const;
116 Channel<CooperateEvent>::Sender sender_;
132 inline Channel<CooperateEvent>::Sender Context::Sender() const in Sender()
/foundation/CastEngine/castengine_cast_framework/service/src/session/src/rtsp/include/
H A Di_rtsp_controller.h44 virtual void AddChannel(std::shared_ptr<Channel> channel, const CastInnerRemoteDevice &device) = 0;
45 virtual void RemoveChannel(std::shared_ptr<Channel> channel) = 0;
/foundation/CastEngine/castengine_cast_plus_stream/src/rtsp/include/
H A Di_rtsp_controller.h44 virtual void AddChannel(std::shared_ptr<Channel> channel, const CastInnerRemoteDevice &device) = 0;
45 virtual void RemoveChannel(std::shared_ptr<Channel> channel) = 0;

Completed in 11 milliseconds

123