Home
last modified time | relevance | path

Searched refs:screenChannel_ (Results 1 - 6 of 6) sorted by relevance

/foundation/distributedhardware/distributed_screen/services/screentransport/screensinktrans/src/
H A Dscreen_sink_trans.cpp63 if (screenChannel_ != nullptr) { in Release()
65 ret = screenChannel_->ReleaseSession(); in Release()
70 screenChannel_ = nullptr; in Release()
111 if (screenChannel_ != nullptr) { in Stop()
113 ret = screenChannel_->CloseSession(); in Stop()
206 screenChannel_ = std::make_shared<ScreenDataChannelImpl>(peerDevId); in InitScreenTrans()
208 screenChannel_->SetJpegSessionFlag(true); in InitScreenTrans()
213 screenChannel_ = nullptr; in InitScreenTrans()
222 screenChannel_ = nullptr; in InitScreenTrans()
239 int32_t ret = screenChannel_ in RegisterChannelListener()
[all...]
/foundation/distributedhardware/distributed_screen/services/screentransport/screensourcetrans/src/
H A Dscreen_source_trans.cpp76 if (imageProcessor_ == nullptr || screenChannel_ == nullptr) { in Release()
88 ret = screenChannel_->ReleaseSession(); in Release()
93 screenChannel_ = nullptr; in Release()
107 if (screenChannel_ == nullptr) { in Start()
118 if (screenChannel_ == nullptr) { in Start()
122 int32_t ret = screenChannel_->OpenSession(listener); in Start()
155 if (imageProcessor_ == nullptr || screenChannel_ == nullptr) { in Stop()
178 ret = screenChannel_->CloseSession(); in Stop()
275 screenChannel_ = std::make_shared<ScreenDataChannelImpl>(peerDevId); in InitScreenTrans()
277 screenChannel_ in InitScreenTrans()
[all...]
/foundation/distributedhardware/distributed_screen/services/screentransport/test/unittest/screensourcetrans/src/
H A Dscreen_source_trans_test.cpp155 trans->screenChannel_ = std::make_shared<MockScreenDataChannelImpl>(); in HWTEST_F()
179 trans->screenChannel_ = std::make_shared<MockScreenDataChannelImpl>(); in HWTEST_F()
209 trans->screenChannel_ = std::make_shared<ScreenDataChannelImpl>(peerDevId); in HWTEST_F()
238 trans->screenChannel_ = std::make_shared<ScreenDataChannelImpl>(peerDevId); in HWTEST_F()
254 trans->screenChannel_ = std::make_shared<MockScreenDataChannelImpl>(); in HWTEST_F()
282 trans->screenChannel_ = std::make_shared<MockScreenDataChannelImpl>(); in HWTEST_F()
298 trans->screenChannel_ = std::make_shared<ScreenDataChannelImpl>(peerDevId); in HWTEST_F()
/foundation/distributedhardware/distributed_screen/services/screentransport/screensinktrans/include/
H A Dscreen_sink_trans.h64 std::shared_ptr<IScreenChannel> screenChannel_; member in OHOS::DistributedHardware::ScreenSinkTrans
/foundation/distributedhardware/distributed_screen/services/screentransport/screensourcetrans/include/
H A Dscreen_source_trans.h80 std::shared_ptr<IScreenChannel> screenChannel_; member in OHOS::DistributedHardware::ScreenSourceTrans
/foundation/distributedhardware/distributed_screen/services/screentransport/test/unittest/screensinktrans/src/
H A Dscreen_sink_trans_test.cpp42 trans_->screenChannel_ = std::make_shared<ScreenDataChannelImpl>(peerDevId_); in SetUp()

Completed in 4 milliseconds