/foundation/multimodalinput/input/intention/common/channel/include/ |
H A D | channel.h | 52 : 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 D | dcamera_channel_sink_impl_test.cpp | 45 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 D | dcamera_channel_source_impl_test.cpp | 46 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 D | dcamera_sink_output_test.cpp | 48 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 D | dcamera_sink_data_process_test.cpp | 45 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 D | force_disconnect_command.cpp | 34 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 D | disconnect_command.cpp | 30 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 D | negotiate_command.cpp | 23 : msg_(msg), channel_(channel) in NegotiateCommand() 29 return channel_->GetRemoteDeviceId(); in GetRemoteDeviceId() 45 return channel_; in GetNegotiateChannel()
|
H A D | connect_command.cpp | 130 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 D | force_disconnect_command.h | 26 std::shared_ptr<NegotiateChannel> channel_; member
|
H A D | disconnect_command.h | 26 std::shared_ptr<NegotiateChannel> channel_; member
|
H A D | negotiate_command.h | 40 std::shared_ptr<NegotiateChannel> channel_; member in OHOS::SoftBus::NegotiateCommand
|
/foundation/barrierfree/accessibility/services/aams/test/unittest/ |
H A D | accessible_ability_channel_test.cpp | 55 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 D | aams_accessibility_ability_channel_test.cpp | 55 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 D | cast_local_file_channel_client.cpp | 61 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 D | cast_local_file_channel_server.cpp | 82 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 D | cast_local_file_channel_client.cpp | 61 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 D | cast_local_file_channel_server.cpp | 82 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 D | test_recorder.hpp | 36 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 D | rtsp_channel_manager.cpp | 81 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 D | rtsp_channel_manager.cpp | 81 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 D | audio_player.cpp | 51 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 D | dcamera_source_controller.cpp | 99 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 D | audio_capture_module_unit_test.h | 43 int32_t channel_{1};
|
/foundation/distributedhardware/distributed_camera/services/cameraservice/sinkservice/src/distributedcameramgr/ |
H A D | dcamera_sink_controller.cpp | 158 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...] |