Home
last modified time | relevance | path

Searched refs:ReleaseSession (Results 1 - 25 of 36) sorted by relevance

12

/foundation/filemanagement/dfs_service/services/distributedfiledaemon/src/network/
H A Dnetwork_agent_template.cpp116 sessionPool_.ReleaseSession(info.GetCid(), LINK_TYPE_AP); in DisconnectDevice()
122 sessionPool_.ReleaseSession(info.GetCid(), LINK_TYPE_P2P); in DisconnectDeviceByP2P()
129 sessionPool_.ReleaseSession(info.GetCid(), LINK_TYPE_P2P); in DisconnectDeviceByP2PHmdfs()
144 sessionPool_.ReleaseSession(fd); in CloseSessionForOneDevice()
168 uint8_t linkType = sessionPool_.ReleaseSession(fd); in GetSessionProcessInner()
H A Dsession_pool.cpp58 uint8_t SessionPool::ReleaseSession(const int32_t fd) in ReleaseSession() function in OHOS::Storage::DistributedFile::SessionPool
63 LOGI("ReleaseSession start, fd=%{public}d", fd); in ReleaseSession()
97 void SessionPool::ReleaseSession(const string &cid, const uint8_t linkType) in ReleaseSession() function in OHOS::Storage::DistributedFile::SessionPool
/foundation/filemanagement/dfs_service/services/distributedfiledaemon/include/network/
H A Dsession_pool.h38 uint8_t ReleaseSession(const int32_t fd);
39 void ReleaseSession(const std::string &cid, const uint8_t linkType);
/foundation/filemanagement/dfs_service/services/distributedfiledaemon/test/unittest/network/
H A Dsession_pool_test.cpp271 * @tc.desc: Verify the ReleaseSession by Fd function.
285 pool->ReleaseSession(1); in HWTEST_F()
297 * @tc.desc: Verify the ReleaseSession by Fd function.
323 EXPECT_EQ(pool->ReleaseSession(1), LINK_TYPE_P2P); in HWTEST_F()
334 pool->ReleaseSession(-2); in HWTEST_F()
343 * @tc.desc: Verify the ReleaseSession by Cid function.
357 pool->ReleaseSession("testSession", 1); in HWTEST_F()
369 * @tc.desc: Verify the ReleaseSession by Cid function.
387 pool->ReleaseSession("testSession", 1); in HWTEST_F()
388 pool->ReleaseSession(peerDeviceI in HWTEST_F()
[all...]
/foundation/distributedhardware/distributed_camera/services/channel/src/
H A Ddcamera_channel_source_impl.cpp99 int32_t DCameraChannelSourceImpl::ReleaseSession() in ReleaseSession() function in OHOS::DistributedHardware::DCameraChannelSourceImpl
101 DHLOGI("DCameraChannelSourceImpl ReleaseSession name: %{public}s", GetAnonyString(mySessionName_).c_str()); in ReleaseSession()
106 (*iter)->ReleaseSession(); in ReleaseSession()
H A Ddcamera_channel_sink_impl.cpp89 int32_t DCameraChannelSinkImpl::ReleaseSession() in ReleaseSession() function in OHOS::DistributedHardware::DCameraChannelSinkImpl
91 DHLOGI("DCameraChannelSinkImpl ReleaseSession name: %{public}s", GetAnonyString(mySessionName_).c_str()); in ReleaseSession()
95 softbusSession_->ReleaseSession(); in ReleaseSession()
/foundation/distributedhardware/distributed_camera/services/channel/test/unittest/common/channel/
H A Ddcamera_channel_sink_impl_test.cpp127 * @tc.desc: Verify the ReleaseSession function.
147 int32_t ret = channel_->ReleaseSession(); in HWTEST_F()
178 ret = channel_->ReleaseSession(); in HWTEST_F()
197 * @tc.desc: Verify the ReleaseSession function.
204 int32_t ret = channel_->ReleaseSession(); in HWTEST_F()
269 int32_t ret = channel_->ReleaseSession(); in HWTEST_F()
H A Ddcamera_channel_source_impl_test.cpp134 * @tc.desc: Verify the ReleaseSession function.
159 ret = channel_->ReleaseSession(); in HWTEST_F()
178 * @tc.desc: Verify the ReleaseSession function.
185 int32_t ret = channel_->ReleaseSession(); in HWTEST_F()
/foundation/distributedhardware/distributed_camera/services/cameraservice/sourceservice/test/unittest/common/distributedcameramgr/
H A Dmock_camera_channel.h54 int32_t ReleaseSession() in ReleaseSession() function in OHOS::DistributedHardware::MockCameraChannel
/foundation/distributedhardware/distributed_camera/services/cameraservice/sinkservice/test/unittest/common/distributedcameramgr/
H A Dmock_camera_channel.h54 int32_t ReleaseSession() in ReleaseSession() function in OHOS::DistributedHardware::MockCameraChannel
/foundation/distributedhardware/distributed_camera/services/channel/include/
H A Ddcamera_channel_source_impl.h32 int32_t ReleaseSession() override;
H A Ddcamera_channel_sink_impl.h32 int32_t ReleaseSession() override;
H A Dicamera_channel.h38 virtual int32_t ReleaseSession();
H A Ddcamera_softbus_session.h50 void ReleaseSession();
/foundation/distributedhardware/distributed_screen/services/common/screen_channel/include/
H A Discreen_channel.h30 virtual int32_t ReleaseSession() = 0;
/foundation/multimodalinput/input/intention/ipc/socket/include/
H A Dsocket_session_manager.h67 void ReleaseSession(int32_t fd);
/foundation/distributedhardware/distributed_screen/services/screentransport/screendatachannel/include/
H A Dscreen_data_channel_impl.h36 int32_t ReleaseSession() override;
/foundation/distributedhardware/distributed_screen/services/screentransport/test/unittest/screentranstestutils/include/
H A Dscreentrans_test_utils.h89 int32_t ReleaseSession() override
/foundation/multimodalinput/input/service/module_loader/src/
H A Duds_server.cpp229 void UDSServer::ReleaseSession(int32_t fd, epoll_event& ev) in ReleaseSession() function in OHOS::MMI::UDSServer
288 ReleaseSession(fd, ev); in OnEpollRecv()
307 ReleaseSession(fd, ev); in OnEpollEvent()
/foundation/multimedia/camera_framework/frameworks/native/camera/test/ndktest/camera_ndk_demo/entry/src/main/cpp/
H A Dcamera_manager.h91 Camera_ErrorCode ReleaseSession(void);
/foundation/multimodalinput/input/service/module_loader/include/
H A Duds_server.h75 void ReleaseSession(int32_t fd, epoll_event& ev);
/foundation/filemanagement/dfs_service/services/cloudsyncservice/include/transport/softbus/
H A Dsession_manager.h46 void ReleaseSession(SoftbusSession::DataType type, const std::string &peerDeviceId);
/foundation/multimodalinput/input/intention/ipc/socket/src/
H A Dsocket_session_manager.cpp148 ReleaseSession(source->GetFd()); in DispatchOne()
153 void SocketSessionManager::ReleaseSession(int32_t fd) in ReleaseSession() function in OHOS::Msdp::DeviceStatus::SocketSessionManager
/foundation/distributedhardware/distributed_camera/services/cameraservice/sinkservice/src/distributedcameramgr/
H A Ddcamera_sink_output.cpp116 ret = iterCon->second->ReleaseSession(); in CloseChannel()
127 ret = iterSnap->second->ReleaseSession(); in CloseChannel()
/foundation/distributedhardware/distributed_screen/services/screentransport/test/unittest/screendatachannel/src/
H A Dscreen_data_channel_impl_test.cpp47 dataChannelImpl_->ReleaseSession(); in TearDown()
190 * @tc.desc: Verify the ReleaseSession function.
201 EXPECT_EQ(DH_SUCCESS, dataChannelImpl_->ReleaseSession()); in HWTEST_F()

Completed in 10 milliseconds

12