Home
last modified time | relevance | path

Searched refs:channel_ (Results 1 - 25 of 48) sorted by relevance

12

/foundation/multimodalinput/input/intention/common/channel/include/
H A Dchannel.h52 : channel_(other.channel_) in Sender()
56 : channel_(other.channel_) in Sender()
58 other.channel_ = nullptr; in Sender()
63 channel_ = other.channel_; in operator =()
69 channel_ = other.channel_; in operator =()
70 other.channel_ in operator =()
[all...]
/foundation/distributedhardware/distributed_camera/services/channel/test/unittest/common/channel/
H A Ddcamera_channel_sink_impl_test.cpp45 std::shared_ptr<DCameraChannelSinkImpl> channel_; member in OHOS::DistributedHardware::DCameraChannelSinkImplTest
65 channel_ = std::make_shared<DCameraChannelSinkImpl>(); in SetUp()
73 channel_ = nullptr; in TearDown()
84 EXPECT_NE(nullptr, channel_); in HWTEST_F()
96 int32_t ret = channel_->CreateSession(camIndexs, sessionFlag, sessionMode, listener_); in HWTEST_F()
108 EXPECT_NE(nullptr, channel_); in HWTEST_F()
120 int32_t ret = channel_->CreateSession(camIndexs, sessionFlag, sessionMode, listener_); in HWTEST_F()
121 ret = channel_->CloseSession(); in HWTEST_F()
133 EXPECT_NE(nullptr, channel_); in HWTEST_F()
145 channel_ in HWTEST_F()
[all...]
H A Ddcamera_channel_source_impl_test.cpp46 std::shared_ptr<DCameraChannelSourceImpl> channel_; member in OHOS::DistributedHardware::DCameraChannelSourceImplTest
66 channel_ = std::make_shared<DCameraChannelSourceImpl>(); in SetUp()
76 channel_ = nullptr; in TearDown()
87 EXPECT_NE(nullptr, channel_); in HWTEST_F()
101 int32_t ret = channel_->CreateSession(camIndexs, sessionFlag, sessionMode, listener_); in HWTEST_F()
113 EXPECT_NE(nullptr, channel_); in HWTEST_F()
127 int32_t ret = channel_->CreateSession(camIndexs, sessionFlag, sessionMode, listener_); in HWTEST_F()
128 ret = channel_->CloseSession(); in HWTEST_F()
140 EXPECT_NE(nullptr, channel_); in HWTEST_F()
154 int32_t ret = channel_ in HWTEST_F()
[all...]
/foundation/distributedhardware/distributed_camera/services/cameraservice/sinkservice/test/unittest/common/distributedcameramgr/
H A Ddcamera_sink_output_test.cpp48 std::shared_ptr<ICameraChannel> channel_; member in OHOS::DistributedHardware::DCameraSinkOutputTest
165 channel_ = std::make_shared<MockCameraChannel>(); in HWTEST_F()
166 dataProcess_ = std::make_shared<MockDCameraSinkDataProcess>(channel_); in HWTEST_F()
167 output_->channels_.emplace(SNAPSHOT_FRAME, channel_); in HWTEST_F()
168 output_->channels_.emplace(CONTINUOUS_FRAME, channel_); in HWTEST_F()
186 channel_ = std::make_shared<MockCameraChannel>(); in HWTEST_F()
187 dataProcess_ = std::make_shared<MockDCameraSinkDataProcess>(channel_); in HWTEST_F()
188 output_->channels_.emplace(SNAPSHOT_FRAME, channel_); in HWTEST_F()
189 output_->channels_.emplace(CONTINUOUS_FRAME, channel_); in HWTEST_F()
207 channel_ in HWTEST_F()
[all...]
H A Ddcamera_sink_data_process_test.cpp45 std::shared_ptr<ICameraChannel> channel_; member in OHOS::DistributedHardware::DCameraSinkDataProcessTest
104 channel_ = std::make_shared<MockCameraChannel>(); in SetUp()
107 dataProcess_ = std::make_shared<DCameraSinkDataProcess>(cameras[0], channel_); in SetUp()
117 channel_ = nullptr; in TearDown()
/foundation/communication/dsoftbus/core/connection/wifi_direct_cpp/command/
H A Dforce_disconnect_command.cpp34 info_.channel_ = std::make_shared<DummyNegotiateChannel>(); in ForceDisconnectCommand()
41 info_.channel_ = std::make_shared<AuthNegotiateChannel>(info.negoChannel.handle.authHandle); in ForceDisconnectCommand()
44 info_.channel_ = std::make_shared<CoCProxyNegotiateChannel>(info.negoChannel.handle.channelId); in ForceDisconnectCommand()
47 info_.channel_ = std::make_shared<DummyNegotiateChannel>(); in ForceDisconnectCommand()
53 info_.channel_ = innerLink->GetNegotiateChannel(); in ForceDisconnectCommand()
74 return info_.channel_; in GetNegotiateChannel()
H A Ddisconnect_command.cpp30 info_.channel_ = std::make_shared<DummyNegotiateChannel>(); in DisconnectCommand()
37 info_.channel_ = std::make_shared<AuthNegotiateChannel>(info.negoChannel.handle.authHandle); in DisconnectCommand()
40 info_.channel_ = std::make_shared<CoCProxyNegotiateChannel>(info.negoChannel.handle.channelId); in DisconnectCommand()
43 info_.channel_ = std::make_shared<DummyNegotiateChannel>(); in DisconnectCommand()
49 info_.channel_ = innerLink->GetNegotiateChannel(); in DisconnectCommand()
84 return info_.channel_; in GetNegotiateChannel()
H A Dnegotiate_command.cpp23 : msg_(msg), channel_(channel) in NegotiateCommand()
29 return channel_->GetRemoteDeviceId(); in GetRemoteDeviceId()
45 return channel_; in GetNegotiateChannel()
H A Dconnect_command.cpp130 info_.channel_ = std::make_shared<AuthNegotiateChannel>(info_.info_.negoChannel.handle.authHandle); in PreferNegotiateChannel()
133 info_.channel_ = std::make_shared<CoCProxyNegotiateChannel>(info_.info_.negoChannel.handle.channelId); in PreferNegotiateChannel()
136 info_.channel_ = std::make_shared<DummyNegotiateChannel>(); in PreferNegotiateChannel()
142 info_.channel_ = innerLink->GetNegotiateChannel(); in PreferNegotiateChannel()
H A Dforce_disconnect_command.h26 std::shared_ptr<NegotiateChannel> channel_; member
H A Ddisconnect_command.h26 std::shared_ptr<NegotiateChannel> channel_; member
H A Dnegotiate_command.h40 std::shared_ptr<NegotiateChannel> channel_; member in OHOS::SoftBus::NegotiateCommand
/foundation/barrierfree/accessibility/services/aams/test/unittest/
H A Daccessible_ability_channel_test.cpp55 sptr<AccessibleAbilityChannel> channel_ = nullptr; member in OHOS::Accessibility::AccessibleAbilityChannelUnitTest
88 channel_ = new AccessibleAbilityChannel(accountData->GetAccountId(), abilityInfo->GetId()); in SetUp()
89 ASSERT_TRUE(channel_); in SetUp()
90 connection_->OnAbilityConnectDoneSync(elementName, channel_); in SetUp()
108 channel_ = nullptr; in TearDown()
141 EXPECT_EQ(channel_->SearchElementInfoByAccessibilityId(elementBasicInfo, 0, nullptr, 0, true), in HWTEST_F()
155 EXPECT_EQ(channel_->SearchElementInfosByText(WINDOW_ID, ELEMENT_ID, "test", 0, nullptr), RET_ERR_NULLPTR); in HWTEST_F()
168 EXPECT_EQ(channel_->FindFocusedElementInfo(WINDOW_ID, ELEMENT_ID, FOCUS_TYPE_INPUT, 0, nullptr), RET_ERR_NULLPTR); in HWTEST_F()
181 EXPECT_EQ(channel_->FocusMoveSearch(WINDOW_ID, ELEMENT_ID, UP, 0, nullptr), RET_ERR_NULLPTR); in HWTEST_F()
195 EXPECT_EQ(channel_ in HWTEST_F()
[all...]
/foundation/barrierfree/accessibility/services/test/moduletest/aamstest/aams_accessibility_ability_channel_test/
H A Daams_accessibility_ability_channel_test.cpp55 sptr<AccessibleAbilityChannel> channel_ = nullptr; member in OHOS::Accessibility::AamsAccessibilityWindowManagerUnitTest
88 channel_ = new AccessibleAbilityChannel(accountData->GetAccountId(), abilityInfo->GetId()); in SetUp()
89 ASSERT_TRUE(channel_); in SetUp()
90 connection_->OnAbilityConnectDoneSync(elementName, channel_); in SetUp()
108 channel_ = nullptr; in TearDown()
141 EXPECT_EQ(channel_->SearchElementInfoByAccessibilityId(elementBasicInfo, 0, nullptr, 0, true), in HWTEST_F()
155 EXPECT_EQ(channel_->SearchElementInfosByText(WINDOW_ID, ELEMENT_ID, "test", 0, nullptr), RET_ERR_NULLPTR); in HWTEST_F()
168 EXPECT_EQ(channel_->FindFocusedElementInfo(WINDOW_ID, ELEMENT_ID, FOCUS_TYPE_INPUT, 0, nullptr), RET_ERR_NULLPTR); in HWTEST_F()
181 EXPECT_EQ(channel_->FocusMoveSearch(WINDOW_ID, ELEMENT_ID, UP, 0, nullptr), RET_ERR_NULLPTR); in HWTEST_F()
195 EXPECT_EQ(channel_ in HWTEST_F()
[all...]
/foundation/CastEngine/castengine_cast_framework/service/src/session/src/stream/src/local/src/
H A Dcast_local_file_channel_client.cpp61 if (channel_) { in NotifyCreateChannel()
81 if (channel_) { in WaitCreateChannel()
87 while (!channel_ && cost.count() < CREATE_CHANNEL_TIMEOUT) { in WaitCreateChannel()
91 if (!channel_) { in WaitCreateChannel()
101 channel_ = channel; in AddChannel()
109 channel_ = nullptr; in RemoveChannel()
117 if (!channel_) { in RequestByteData()
121 channel = channel_; in RequestByteData()
H A Dcast_local_file_channel_server.cpp82 channel_ = channel; in AddChannel()
90 channel_ = nullptr; in RemoveChannel()
237 if (fileLen <= 0 || !channel_) { in ResponseFileLengthRequest()
277 if (newEnd <= 0 || !channel_) { in ResponseFileDataRequest()
346 if (!channel_) { in SendData()
350 channel = channel_; in SendData()
/foundation/CastEngine/castengine_cast_plus_stream/src/stream/src/local/src/
H A Dcast_local_file_channel_client.cpp61 if (channel_) { in NotifyCreateChannel()
81 if (channel_) { in WaitCreateChannel()
87 while (!channel_ && cost.count() < CREATE_CHANNEL_TIMEOUT) { in WaitCreateChannel()
91 if (!channel_) { in WaitCreateChannel()
101 channel_ = channel; in AddChannel()
109 channel_ = nullptr; in RemoveChannel()
117 if (!channel_) { in RequestByteData()
121 channel = channel_; in RequestByteData()
H A Dcast_local_file_channel_server.cpp82 channel_ = channel; in AddChannel()
90 channel_ = nullptr; in RemoveChannel()
244 if (fileLen <= 0 || !channel_) { in ResponseFileLengthRequest()
284 if (newEnd <= 0 || !channel_) { in ResponseFileDataRequest()
357 if (!channel_) { in SendData()
361 channel = channel_; in SendData()
/foundation/multimedia/media_foundation/test/scenetest/helper/
H A Dtest_recorder.hpp36 channel_(channel), in AudioRecordSource()
61 channel = channel_; in GetChannel()
67 int32_t channel_; member in OHOS::Media::Test::AudioRecordSource
/foundation/CastEngine/castengine_cast_framework/service/src/session/src/rtsp/src/
H A Drtsp_channel_manager.cpp81 if (channel_ != nullptr) { in AddChannel()
84 channel_ = channel; in AddChannel()
93 channel_ = nullptr; in RemoveChannel()
158 auto channel = channel_; in SendData()
/foundation/CastEngine/castengine_cast_plus_stream/src/rtsp/src/
H A Drtsp_channel_manager.cpp81 if (channel_ != nullptr) { in AddChannel()
84 channel_ = channel; in AddChannel()
93 channel_ = nullptr; in RemoveChannel()
158 auto channel = channel_; in SendData()
/foundation/CastEngine/castengine_wifi_display/services/mediaplayer/src/
H A Daudio_player.cpp51 channel_ = channel; in SetAudioFormat()
70 if (audioSink_->Prepare(channel_, sampleRate_) != 0 || audioSink_->Start() != 0) { in Start()
/foundation/distributedhardware/distributed_camera/services/cameraservice/sourceservice/src/distributedcameramgr/dcameracontrol/
H A Ddcamera_source_controller.cpp99 CHECK_AND_RETURN_RET_LOG(channel_ == nullptr, DCAMERA_BAD_VALUE, "channel_ is null."); in StartCapture()
100 ret = channel_->SendData(buffer); in StartCapture()
149 CHECK_AND_RETURN_RET_LOG(channel_ == nullptr, DCAMERA_BAD_VALUE, "channel_ is null."); in StopCapture()
150 ret = channel_->SendData(buffer); in StopCapture()
268 CHECK_AND_RETURN_RET_LOG(channel_ == nullptr, DCAMERA_BAD_VALUE, "channel_ is null."); in UpdateSettings()
269 ret = channel_->SendData(buffer); in UpdateSettings()
353 CHECK_AND_RETURN_RET_LOG(channel_ in OpenChannel()
[all...]
/foundation/multimedia/av_codec/test/unittest/audio_capture_test/
H A Daudio_capture_module_unit_test.h43 int32_t channel_{1};
/foundation/distributedhardware/distributed_camera/services/cameraservice/sinkservice/src/distributedcameramgr/
H A Ddcamera_sink_controller.cpp158 ret = channel_->SendData(buffer); in DCameraNotify()
262 ret = channel_->CreateSession(indexs, SESSION_FLAG, DCAMERA_SESSION_MODE_CTRL, listener); in OpenChannel()
295 if (channel_ == nullptr) { in CloseChannel()
296 DHLOGE("DCameraSinkController CloseChannel channel_ is nullptr"); in CloseChannel()
299 int32_t ret = channel_->ReleaseSession(); in CloseChannel()
349 channel_ = std::make_shared<DCameraChannelSinkImpl>(); in Init()
389 int32_t ret = channel_->CreateSession(indexs, SESSION_FLAG, DCAMERA_SESSION_MODE_CTRL, listener); in CreateCtrlSession()
416 if (channel_ != nullptr) { in UnInit()
417 ret = channel_->ReleaseSession(); in UnInit()
536 ret = channel_ in OnMetadataResult()
[all...]

Completed in 11 milliseconds

12