Home
last modified time | relevance | path

Searched refs:CloseSession (Results 1 - 25 of 99) sorted by relevance

1234

/foundation/filemanagement/dfs_service/services/distributedfiledaemon/src/network/softbus/
H A Dsoftbus_file_send_listener.cpp75 SoftBusHandler::GetInstance().CloseSession(sessionId, sessionName); in OnSendFileFinished()
86 SoftBusHandler::GetInstance().CloseSession(sessionId, sessionName); in OnFileTransError()
102 SoftBusHandler::GetInstance().CloseSession(sessionId, sessionName); in OnSendFileShutdown()
H A Dsoftbus_file_receive_listener.cpp146 SoftBusHandler::GetInstance().CloseSession(sessionId, sessionName); in OnFileTransError()
170 SoftBusHandler::GetInstance().CloseSession(sessionId, sessionName); in OnReceiveFileShutdown()
/foundation/multimodalinput/input/intention/adapters/dsoftbus_adapter/src/
H A Ddsoftbus_adapter.cpp48 void DSoftbusAdapter::CloseSession(const std::string &networkId) in CloseSession() function in OHOS::Msdp::DeviceStatus::DSoftbusAdapter
50 DSoftbusAdapterImpl::GetInstance()->CloseSession(networkId); in CloseSession()
/foundation/filemanagement/storage_service/services/storage_daemon/crypto/src/
H A Drecover_manager.cpp71 CloseSession(createKeyContext, createKeySession); in CreateRecoverKey()
79 CloseSession(createKeyContext, createKeySession); in CreateRecoverKey()
90 CloseSession(createKeyContext, createKeySession); in CreateRecoverKey()
93 CloseSession(createKeyContext, createKeySession); in CreateRecoverKey()
171 CloseSession(setKeyContext, setKeySession); in SetRecoverKeyToTee()
174 CloseSession(setKeyContext, setKeySession); in SetRecoverKeyToTee()
221 CloseSession(context, session); in OpenSession()
229 void RecoveryManager::CloseSession(TEEC_Context &context, TEEC_Session &session) in CloseSession() function in OHOS::StorageDaemon::RecoveryManager
/foundation/distributedhardware/distributed_camera/services/channel/test/unittest/common/channel/
H A Ddcamera_softbus_session_test.cpp91 * @tc.desc: Verify the CloseSession function.
99 int32_t ret = softbusSession_->CloseSession(); in HWTEST_F()
156 int32_t ret = softbusSession_->CloseSession(); in HWTEST_F()
178 int32_t ret = softbusSession_->CloseSession(); in HWTEST_F()
199 int32_t ret = softbusSession_->CloseSession(); in HWTEST_F()
230 int32_t ret = softbusSession_->CloseSession(); in HWTEST_F()
283 int32_t ret = softbusSession_->CloseSession(); in HWTEST_F()
350 int32_t ret = softbusSession_->CloseSession(); in HWTEST_F()
H A Ddcamera_channel_source_impl_test.cpp107 * @tc.desc: Verify the CloseSession function.
128 ret = channel_->CloseSession(); in HWTEST_F()
158 channel_->CloseSession(); in HWTEST_F()
165 * @tc.desc: Verify the CloseSession function.
172 int32_t ret = channel_->CloseSession(); in HWTEST_F()
H A Ddcamera_channel_sink_impl_test.cpp102 * @tc.desc: Verify the CloseSession function.
121 ret = channel_->CloseSession(); in HWTEST_F()
177 channel_->CloseSession(); in HWTEST_F()
184 * @tc.desc: Verify the CloseSession function.
191 int32_t ret = channel_->CloseSession(); in HWTEST_F()
/foundation/communication/dsoftbus/tests/sdk/transmission/fuzztest/closesession_fuzzer/
H A Dclosesession_fuzzer.cpp29 CloseSession(size); in CloseSessionTest()
/foundation/distributedhardware/distributed_camera/services/channel/src/
H A Ddcamera_channel_source_impl.cpp36 int32_t DCameraChannelSourceImpl::CloseSession() in CloseSession() function in OHOS::DistributedHardware::DCameraChannelSourceImpl
38 DHLOGI("DCameraChannelSourceImpl CloseSession name: %{public}s", GetAnonyString(mySessionName_).c_str()); in CloseSession()
40 DHLOGE("DCameraChannelSourceImpl CloseSession %{public}s failed", GetAnonyString(mySessionName_).c_str()); in CloseSession()
48 int32_t retOpen = (*iter)->CloseSession(); in CloseSession()
50 DHLOGE("DCameraChannelSourceImpl CloseSession %{public}s failed, ret: %{public}d", in CloseSession()
H A Ddcamera_channel_sink_impl.cpp37 int32_t DCameraChannelSinkImpl::CloseSession() in CloseSession() function in OHOS::DistributedHardware::DCameraChannelSinkImpl
39 DHLOGI("DCameraChannelSinkImpl CloseSession name: %{public}s", GetAnonyString(mySessionName_).c_str()); in CloseSession()
41 DHLOGE("DCameraChannelSinkImpl CloseSession %{public}s failed", GetAnonyString(mySessionName_).c_str()); in CloseSession()
44 int32_t ret = softbusSession_->CloseSession(); in CloseSession()
46 DHLOGE("DCameraChannelSinkImpl CloseSession %{public}s ret: %{public}d", in CloseSession()
/foundation/filemanagement/storage_service/services/storage_daemon/include/mock/
H A Duser_idm_client_impl_mock.h32 virtual void CloseSession(int32_t userId) = 0;
54 MOCK_METHOD1(CloseSession, void(int32_t userId));
/foundation/filemanagement/storage_service/services/storage_daemon/mock/
H A Duser_idm_client_impl_mock.cpp43 void UserIdmClientImpl::CloseSession(int32_t userId) in CloseSession() function in UserIdmClientImpl
45 return IUserIdmClientMoc::userIdmClientMoc->CloseSession(userId); in CloseSession()
/foundation/communication/dsoftbus/tests/sdk/transmission/session/
H A Dclient_trans_session_service_impl_test.cpp233 * @tc.desc: Test when session is nullptr then CloseSession returns SOFTBUS_INVALID_PARAM.
240 int32_t ret = sessionServiceImpl.CloseSession(nullptr); in HWTEST_F()
246 * @tc.desc: Test when sessionId is invalid then CloseSession returns SOFTBUS_TRANS_INVALID_SESSION_ID.
254 int32_t ret = sessionServiceImpl.CloseSession(session); in HWTEST_F()
261 * @tc.desc: Test when sessionId is valid then CloseSession returns SOFTBUS_OK.
269 int32_t ret = sessionServiceImpl.CloseSession(session); in HWTEST_F()
/foundation/distributedhardware/distributed_camera/services/cameraservice/sourceservice/test/unittest/common/distributedcameramgr/
H A Dmock_camera_channel.h40 int32_t CloseSession() in CloseSession() function in OHOS::DistributedHardware::MockCameraChannel
/foundation/distributedhardware/distributed_camera/services/cameraservice/sinkservice/test/unittest/common/distributedcameramgr/
H A Dmock_camera_channel.h40 int32_t CloseSession() in CloseSession() function in OHOS::DistributedHardware::MockCameraChannel
/foundation/distributedhardware/distributed_camera/services/channel/include/
H A Ddcamera_channel_source_impl.h29 int32_t CloseSession() override;
H A Ddcamera_channel_sink_impl.h29 int32_t CloseSession() override;
H A Dicamera_channel.h35 virtual int32_t CloseSession() = 0;
/foundation/distributedhardware/distributed_screen/services/common/screen_channel/include/
H A Discreen_channel.h32 virtual int32_t CloseSession() = 0;
/foundation/multimodalinput/input/intention/adapters/dsoftbus_adapter/include/
H A Ddsoftbus_adapter.h39 void CloseSession(const std::string &networkId) override;
/foundation/communication/dsoftbus/tests/sdk/transmission/trans_channel/qos/
H A Dtrans_qos_stat_client_test.cpp142 CloseSession(sessionId); in HWTEST_F()
189 CloseSession(sessionId); in HWTEST_F()
241 CloseSession(iter->second); in HWTEST_F()
304 CloseSession(sessionId); in HWTEST_F()
365 CloseSession(sessionId); in HWTEST_F()
/foundation/multimodalinput/input/intention/prototype/include/
H A Di_dsoftbus_adapter.h52 virtual void CloseSession(const std::string &networkId) = 0;
/foundation/communication/dsoftbus/sdk/transmission/session/cpp/include/
H A DISessionService.h41 virtual int CloseSession(std::shared_ptr<Session> session) = 0;
/foundation/filemanagement/dfs_service/services/distributedfiledaemon/include/network/softbus/
H A Dsoftbus_agent.h45 void CloseSession(std::shared_ptr<BaseSession> session) override;
/foundation/distributedhardware/distributed_screen/services/screentransport/test/unittest/screendatachannel/src/
H A Dscreen_data_channel_impl_test.cpp46 dataChannelImpl_->CloseSession(); in TearDown()
207 * @tc.desc: Verify the CloseSession function.
214 EXPECT_EQ(DH_SUCCESS, dataChannelImpl_->CloseSession()); in HWTEST_F()
219 * @tc.desc: Verify the CloseSession function.
238 EXPECT_EQ(ERR_DH_SCREEN_TRANS_SESSION_NOT_OPEN, dataChannelImpl_->CloseSession()); in HWTEST_F()

Completed in 8 milliseconds

1234