Home
last modified time | relevance | path

Searched refs:channel_ (Results 1 – 25 of 44) sorted by relevance

12

/ohos5.0/foundation/multimodalinput/input/intention/common/channel/include/
H A Dchannel.h52 : channel_(other.channel_) in Sender()
56 : channel_(other.channel_) in Sender()
63 channel_ = other.channel_;
69 channel_ = other.channel_;
84 : channel_(channel) in Sender()
98 : channel_(other.channel_) in Receiver()
102 : channel_(other.channel_) in Receiver()
109 channel_ = other.channel_;
115 channel_ = other.channel_;
136 return (channel_ != nullptr ? channel_->Peek() : Event()); in Peek()
[all …]
/ohos5.0/base/msdp/device_status/intention/common/channel/include/
H A Dchannel.h52 : channel_(other.channel_) in Sender()
56 : channel_(other.channel_) in Sender()
63 channel_ = other.channel_;
69 channel_ = other.channel_;
84 : channel_(channel) in Sender()
98 : channel_(other.channel_) in Receiver()
102 : channel_(other.channel_) in Receiver()
109 channel_ = other.channel_;
115 channel_ = other.channel_;
136 return (channel_ != nullptr ? channel_->Peek() : Event()); in Peek()
[all …]
/ohos5.0/foundation/distributedhardware/distributed_camera/services/channel/test/unittest/common/channel/
H A Ddcamera_channel_sink_impl_test.cpp73 channel_ = nullptr; in TearDown()
84 EXPECT_NE(nullptr, channel_);
108 EXPECT_NE(nullptr, channel_);
133 EXPECT_NE(nullptr, channel_);
159 EXPECT_NE(nullptr, channel_);
177 channel_->CloseSession();
190 EXPECT_NE(nullptr, channel_);
203 EXPECT_NE(nullptr, channel_);
216 EXPECT_NE(nullptr, channel_);
232 EXPECT_NE(nullptr, channel_);
[all …]
H A Ddcamera_channel_source_impl_test.cpp76 channel_ = nullptr; in TearDown()
87 EXPECT_NE(nullptr, channel_);
113 EXPECT_NE(nullptr, channel_);
128 ret = channel_->CloseSession();
140 EXPECT_NE(nullptr, channel_);
158 channel_->CloseSession();
159 ret = channel_->ReleaseSession();
171 EXPECT_NE(nullptr, channel_);
184 EXPECT_NE(nullptr, channel_);
197 EXPECT_NE(nullptr, channel_);
[all …]
/ohos5.0/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>();
167 output_->channels_.emplace(SNAPSHOT_FRAME, channel_);
186 channel_ = std::make_shared<MockCameraChannel>();
188 output_->channels_.emplace(SNAPSHOT_FRAME, channel_);
207 channel_ = std::make_shared<MockCameraChannel>();
209 output_->channels_.emplace(SNAPSHOT_FRAME, channel_);
228 channel_ = std::make_shared<MockCameraChannel>();
252 channel_ = std::make_shared<MockCameraChannel>();
267 channel_ = std::make_shared<MockCameraChannel>();
[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()
/ohos5.0/base/sensors/sensor/frameworks/native/src/
H A Dsensor_file_descriptor_listener.cpp56 CHKPV(channel_); in OnReadable()
61 channel_->ReceiveData([this] (int32_t length) { in OnReadable()
83 channel_->dataCB_(&event, 1, channel_->privateData_); in ExcuteCallback()
90 channel_ = channel; in SetChannel()
102 CHKPV(channel_); in OnShutdown()
103 channel_->DestroySensorDataChannel(); in OnShutdown()
115 CHKPV(channel_); in OnException()
116 channel_->DestroySensorDataChannel(); in OnException()
H A Dfd_listener.cpp35 channel_ = channel; in SetChannel()
48 CHKPV(channel_); in OnReadable()
49 ReceiveMessageFun receiveMessage = channel_->GetReceiveMessageFun(); in OnReadable()
76 CHKPV(channel_); in OnShutdown()
77 DisconnectFun disconnect = channel_->GetDisconnectFun(); in OnShutdown()
87 CHKPV(channel_); in OnException()
88 DisconnectFun disconnect = channel_->GetDisconnectFun(); in OnException()
/ohos5.0/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()
209 EXPECT_EQ(channel_->GetWindow(WINDOW_ID, windowInfo), RET_ERR_NO_WINDOW_CONNECTION);
272 EXPECT_EQ(channel_->GetWindows(windows), RET_OK);
340 EXPECT_EQ(channel_->GetWindowsByDisplayId(DISPLAY_ID, windows), RET_OK);
361 channel_->SetOnKeyPressEventResult(true, sequence);
390 EXPECT_EQ(channel_->SendSimulateGesture(nullptr), RET_ERR_NO_INJECTOR);
[all …]
/ohos5.0/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.channel… in PreferNegotiateChannel()
136 info_.channel_ = std::make_shared<DummyNegotiateChannel>(); in PreferNegotiateChannel()
142 info_.channel_ = innerLink->GetNegotiateChannel(); in PreferNegotiateChannel()
H A Dnegotiate_command.h40 std::shared_ptr<NegotiateChannel> channel_; variable
/ohos5.0/base/sensors/medical_sensor/frameworks/native/medical_sensor/src/
H A Dmy_file_descriptor_listener.cpp35 :channel_(nullptr), in MyFileDescriptorListener()
64 channel_->dataCB_(&event, 1, channel_->privateData_); in OnReadable()
74 channel_ = channel; in SetChannel()
/ohos5.0/base/sensors/medical_sensor/services/medical_sensor/src/
H A Dfifo_cache_data.cpp20 FifoCacheData::FifoCacheData() : periodCount_(0), channel_(nullptr) in FifoCacheData()
56 channel_ = channel; in SetChannel()
60 return channel_; in GetChannel()
/ohos5.0/base/sensors/sensor/services/src/
H A Dfifo_cache_data.cpp20 FifoCacheData::FifoCacheData() : periodCount_(0), channel_(nullptr) in FifoCacheData()
56 channel_ = channel; in SetChannel()
61 return channel_.promote(); in GetChannel()
/ohos5.0/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
/ohos5.0/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()
242 CHECK_AND_RETURN_RET_LOG(channel_ == nullptr, DCAMERA_BAD_VALUE, "channel_ is null."); in UpdateSettings()
243 ret = channel_->SendData(buffer); in UpdateSettings()
323 CHECK_AND_RETURN_RET_LOG(channel_ == nullptr, DCAMERA_BAD_VALUE, "channel_ is null."); in OpenChannel()
324 ret = channel_->CreateSession(indexs, SESSION_FLAG, DCAMERA_SESSION_MODE_CTRL, listener_); in OpenChannel()
345 int32_t ret = channel_->CloseSession(); in CloseChannel()
352 ret = channel_->ReleaseSession(); in CloseChannel()
389 channel_ = std::make_shared<DCameraChannelSourceImpl>(); in Init()
/ohos5.0/foundation/barrierfree/accessibility/frameworks/aafwk/test/unittest/
H A Daccessible_ability_channel_client_test.cpp44 sptr<IAccessibleAbilityChannel> channel_ = nullptr; member in OHOS::Accessibility::AccessibleAbilityChannelClientTest
60 channel_ = iface_cast<IAccessibleAbilityChannel>(stub_); in SetUp()
61 ASSERT_TRUE(channel_); in SetUp()
62 instance_ = std::make_shared<AccessibleAbilityChannelClient>(CHANNEL_ID, channel_); in SetUp()
69 channel_ = nullptr; in TearDown()
/ohos5.0/foundation/multimedia/av_codec/test/unittest/audio_capture_test/
H A Daudio_capture_module_unit_test.cpp106 audioCaptureParameter_->Set<Tag::AUDIO_CHANNEL_COUNT>(channel_); in SetUp()
150 audioCaptureFormat->Set<Tag::AUDIO_CHANNEL_COUNT>(channel_);
170 audioCaptureFormat->Set<Tag::AUDIO_CHANNEL_COUNT>(channel_);
192 audioCaptureFormat->Set<Tag::AUDIO_CHANNEL_COUNT>(channel_);
218 audioCaptureFormat->Set<Tag::AUDIO_CHANNEL_COUNT>(channel_);
439 audioCaptureFormat->Set<Tag::AUDIO_CHANNEL_COUNT>(channel_);
/ohos5.0/foundation/barrierfree/accessibility/services/aams/src/
H A Daccessible_ability_connection.cpp319 channel_ = new(std::nothrow) AccessibleAbilityChannel(accountId_, abilityInfo_.GetId()); in InitAbilityClient()
320 if (!channel_) { in InitAbilityClient()
326 abilityClient_->Init(channel_, connectionId_); in InitAbilityClient()
/ohos5.0/base/sensors/sensor/frameworks/native/include/
H A Dfd_listener.h36 SensorDataChannel *channel_ = { nullptr };
H A Dsensor_file_descriptor_listener.h37 SensorDataChannel *channel_ = nullptr;
/ohos5.0/base/sensors/medical_sensor/frameworks/native/medical_sensor/include/
H A Dmy_file_descriptor_listener.h48 MedicalSensorDataChannel* channel_;

12