Searched refs:softbusSession_ (Results 1 - 6 of 6) sorted by relevance
/foundation/distributedhardware/distributed_camera/services/channel/test/unittest/common/channel/ |
H A D | dcamera_softbus_session_test.cpp | 45 std::shared_ptr<DCameraSoftbusSession> softbusSession_; member in OHOS::DistributedHardware::DCameraSoftbusSessionTest 77 softbusSession_ = std::make_shared<DCameraSoftbusSession>(myDevId, mySessionName, peerDevId, in SetUp() 86 softbusSession_ = nullptr; in TearDown() 97 EXPECT_NE(nullptr, softbusSession_); in HWTEST_F() 98 softbusSession_->sessionId_ = 2; in HWTEST_F() 99 int32_t ret = softbusSession_->CloseSession(); in HWTEST_F() 112 EXPECT_NE(nullptr, softbusSession_); in HWTEST_F() 117 int32_t ret = softbusSession_->OnSessionOpened(sessionId, ""); in HWTEST_F() 129 EXPECT_NE(nullptr, softbusSession_); in HWTEST_F() 134 softbusSession_ in HWTEST_F() [all...] |
H A D | dcamera_channel_sink_impl_test.cpp | 293 channel_->softbusSession_ = nullptr; in HWTEST_F()
|
/foundation/distributedhardware/distributed_camera/services/channel/src/ |
H A D | dcamera_channel_sink_impl.cpp | 30 softbusSession_ = nullptr; in DCameraChannelSinkImpl() 40 if (softbusSession_ == nullptr) { in CloseSession() 44 int32_t ret = softbusSession_->CloseSession(); in CloseSession() 77 softbusSession_ = std::make_shared<DCameraSoftbusSession>(myDevId, mySessionName_, peerDevId, peerSessionName, in CreateSession() 79 ret = softbusSession_->CreateSocketServer(); in CreateSession() 84 DCameraSoftbusAdapter::GetInstance().sinkSessions_[mySessionName_] = softbusSession_; in CreateSession() 92 if (softbusSession_ == nullptr) { in ReleaseSession() 95 softbusSession_->ReleaseSession(); in ReleaseSession() 96 DCameraSoftbusAdapter::GetInstance().sinkSessions_.erase(softbusSession_->GetMySessionName()); in ReleaseSession() 97 softbusSession_ in ReleaseSession() [all...] |
/foundation/distributedhardware/distributed_camera/services/channel/include/ |
H A D | dcamera_channel_sink_impl.h | 38 std::shared_ptr<DCameraSoftbusSession> softbusSession_; member in OHOS::DistributedHardware::DCameraChannelSinkImpl
|
/foundation/distributedhardware/device_manager/services/implementation/include/dependency/softbus/ |
H A D | softbus_connector.h | 171 std::shared_ptr<SoftbusSession> softbusSession_; member in OHOS::DistributedHardware::SoftbusConnector
|
/foundation/distributedhardware/device_manager/services/implementation/src/dependency/softbus/ |
H A D | softbus_connector.cpp | 73 softbusSession_ = std::make_shared<SoftbusSession>(); in SoftbusConnector() 289 return softbusSession_; in GetSoftbusSession()
|
Completed in 4 milliseconds