/foundation/communication/dsoftbus/tests/sdk/transmission/benchmarktest/ |
H A D | trans_test.cpp | 162 RemoveSessionServer(g_pkgName, g_sessionName); in BENCHMARK_F() 170 * @tc.desc: RemoveSessionServer Performance Testing 172 * @tc.require: RemoveSessionServer normal operation 180 ret = RemoveSessionServer(g_pkgName, g_sessionName); in BENCHMARK_F() 205 RemoveSessionServer(g_pkgName, g_sessionName); in BENCHMARK_F() 227 RemoveSessionServer(g_pkgName, g_sessionName); in BENCHMARK_F()
|
/foundation/communication/dsoftbus/tests/sdk/transmission/trans_channel/udp/distributed_stream/ |
H A D | distributed_stream_test.cpp | 465 ret = RemoveSessionServer(TEST_PKG_NAME.c_str(), STREAM_SESSION_NAME.c_str()); in HWTEST_F() 468 ret = RemoveSessionServer(TEST_PKG_NAME.c_str(), CONTRL_SESSION_NAME.c_str()); in HWTEST_F() 497 ret = RemoveSessionServer(TEST_PKG_NAME.c_str(), STREAM_SESSION_NAME.c_str()); in HWTEST_F() 500 ret = RemoveSessionServer(TEST_PKG_NAME.c_str(), CONTRL_SESSION_NAME.c_str()); in HWTEST_F() 529 ret = RemoveSessionServer(TEST_PKG_NAME.c_str(), STREAM_SESSION_NAME.c_str()); in HWTEST_F() 532 ret = RemoveSessionServer(TEST_PKG_NAME.c_str(), CONTRL_SESSION_NAME.c_str()); in HWTEST_F() 561 ret = RemoveSessionServer(TEST_PKG_NAME.c_str(), STREAM_SESSION_NAME.c_str()); in HWTEST_F() 564 ret = RemoveSessionServer(TEST_PKG_NAME.c_str(), CONTRL_SESSION_NAME.c_str()); in HWTEST_F()
|
H A D | distributed_stream_test_agent.cpp | 169 int32_t ret = RemoveSessionServer(TEST_PKG_NAME.c_str(), STREAM_SESSION_NAME.c_str()); in RemoverTestSessionServer() 172 ret = RemoveSessionServer(TEST_PKG_NAME.c_str(), CONTRL_SESSION_NAME.c_str()); in RemoverTestSessionServer()
|
/foundation/communication/dsoftbus/tests/sdk/transmission/trans_channel/manager/ |
H A D | client_trans_session_impl_test.cpp | 119 ret = testSessionServiceImpl.RemoveSessionServer(g_pkgName2, g_sessionName2); in HWTEST_F() 169 ret = testSessionServiceImpl.RemoveSessionServer(g_pkgName1, g_sessionName1); in HWTEST_F() 172 ret = testSessionServiceImpl.RemoveSessionServer(g_pkgName2, g_sessionName1); in HWTEST_F() 175 ret = testSessionServiceImpl.RemoveSessionServer(g_pkgName3, g_sessionName2); in HWTEST_F()
|
/foundation/communication/dsoftbus/tests/sdk/transmission/demo/transport/ |
H A D | sendbytes_message_demo.c | 107 /* 5. After the session is closed, devices A and B call RemoveSessionServer() to remove the session server. */ in main() 108 ret = RemoveSessionServer(g_pkgNameA, g_sessionNameA); in main() 164 ret = RemoveSessionServer(g_pkgNameB, g_sessionNameB); in main()
|
H A D | sendstream_demo.c | 100 /* 5. After the session is closed, devices A and B call RemoveSessionServer() to remove the session server. */ in main() 101 ret = RemoveSessionServer(g_pkgNameA, g_sessionNameA); in main() 152 ret = RemoveSessionServer(g_pkgNameB, g_sessionNameB); in main()
|
H A D | openauthsession_demo.c | 91 ret = RemoveSessionServer(g_pkgNameB, g_sessionNameB); in main() 147 ret = RemoveSessionServer(g_pkgNameB, g_sessionNameB); in main()
|
H A D | sendfile_demo.c | 126 /* 6. After the session is closed, devices A and B call RemoveSessionServer() to remove the session server. */ in main() 127 ret = RemoveSessionServer(g_pkgNameA, g_sessionNameA); in main() 208 ret = RemoveSessionServer(g_pkgNameB, g_sessionNameB); in main()
|
/foundation/communication/dsoftbus/tests/sdk/transmission/fuzztest/removesessionserver_fuzzer/ |
H A D | removesessionserver_fuzzer.cpp | 36 RemoveSessionServer((const char*)tmp, g_sessionName); in RemoveSessionServerTest()
|
/foundation/communication/dsoftbus/tests/sdk/transmission/session/ |
H A D | client_trans_session_service_impl_test.cpp | 129 * @tc.desc: Test when pkgName or sessionName is empty then RemoveSessionServer returns SOFTBUS_INVALID_PARAM 136 int32_t result = sessionServiceImpl.RemoveSessionServer("", "sessionName"); in HWTEST_F() 138 result = sessionServiceImpl.RemoveSessionServer("pkgName", ""); in HWTEST_F() 151 int32_t result = sessionServiceImpl.RemoveSessionServer("pkgName", "notFoundSessionName"); in HWTEST_F()
|
H A D | client_trans_session_test.cpp | 367 ret = RemoveSessionServer(g_pkgName, g_sessionName); in HWTEST_F() 379 int32_t ret = RemoveSessionServer(g_pkgName, g_sessionName); in HWTEST_F() 383 ret = RemoveSessionServer(g_pkgName, g_sessionName); in HWTEST_F() 411 ret = RemoveSessionServer(g_pkgName, g_sessionName); in HWTEST_F() 519 ret = RemoveSessionServer(g_pkgName, g_sessionName); in HWTEST_F() 521 ret = RemoveSessionServer(g_pkgName, NEW_SESSION_NAME); in HWTEST_F() 559 ret = RemoveSessionServer(g_pkgName, g_sessionName); in HWTEST_F() 593 ret = RemoveSessionServer(g_pkgName, g_sessionName); in HWTEST_F() 636 ret = RemoveSessionServer(g_pkgName, g_sessionName); in HWTEST_F()
|
/foundation/distributeddatamgr/data_object/frameworks/innerkitsimpl/include/communicator/ |
H A D | app_pipe_handler.h | 47 int RemoveSessionServer(const std::string &sessionName) const;
|
/foundation/communication/dsoftbus/tests/sdk/transmission/trans_channel/tcp_direct/ |
H A D | trans_tcp_direct_test.cpp | 143 ret = RemoveSessionServer(g_pkgName, g_sessionName); in HWTEST_F() 159 ret = RemoveSessionServer(g_pkgName, g_sessionName); in HWTEST_F() 178 ret = RemoveSessionServer(g_pkgName, g_sessionName); in HWTEST_F() 217 ret = RemoveSessionServer(g_pkgName, sessionName[i]); in HWTEST_F() 221 ret = RemoveSessionServer(g_pkgName, sessionName[i]); in HWTEST_F() 235 ret = RemoveSessionServer(NULL, g_sessionName); in HWTEST_F() 238 ret = RemoveSessionServer(g_pkgName, NULL); in HWTEST_F() 254 ret = RemoveSessionServer(g_pkgName, g_sessionName); in HWTEST_F() 257 ret = RemoveSessionServer(g_pkgName, g_sessionName); in HWTEST_F()
|
H A D | trans_tdc_sdk_test.c | 199 ret = RemoveSessionServer(g_pkgName, g_sessionName); in CreateSsAndOpenSession() 211 ret = RemoveSessionServer(g_pkgName, g_sessionName); in RemoveSession() 387 ret = RemoveSessionServer(g_pkgName, sessionNames[i]); in TransFuncTest006()
|
/foundation/distributeddatamgr/datamgr_service/services/distributeddataservice/adapter/communicator/src/ |
H A D | app_pipe_handler.h | 53 int RemoveSessionServer(const std::string &sessionName) const;
|
H A D | app_pipe_handler.cpp | 79 int AppPipeHandler::RemoveSessionServer(const std::string &sessionName) const in RemoveSessionServer() function in OHOS::AppDistributedKv::AppPipeHandler
|
/foundation/communication/dsoftbus/tests/sdk/transmission/trans_channel/qos/ |
H A D | trans_qos_stat_client_test.cpp | 144 ret = RemoveSessionServer(UDP_TEST_PKG_NAME, UDP_TEST_SESSION_NAME); in HWTEST_F() 192 ret = RemoveSessionServer(UDP_TEST_PKG_NAME, UDP_TEST_SESSION_NAME); in HWTEST_F() 245 ret = RemoveSessionServer(UDP_TEST_PKG_NAME, UDP_TEST_SESSION_NAME); in HWTEST_F() 306 ret = RemoveSessionServer(UDP_TEST_PKG_NAME, UDP_TEST_SESSION_NAME); in HWTEST_F() 367 ret = RemoveSessionServer(UDP_TEST_PKG_NAME, UDP_TEST_SESSION_NAME); in HWTEST_F()
|
/foundation/communication/dsoftbus/sdk/transmission/session/cpp/include/ |
H A D | ISessionService.h | 36 virtual int RemoveSessionServer(const std::string &pkgName, const std::string &sessionName) = 0;
|
/foundation/distributeddatamgr/data_object/frameworks/innerkitsimpl/src/communicator/ |
H A D | app_pipe_handler.cpp | 65 int AppPipeHandler::RemoveSessionServer(const std::string &sessionName) const
in RemoveSessionServer() function in OHOS::ObjectStore::AppPipeHandler
|
/foundation/communication/dsoftbus/tests/sdk/transmission/trans_channel/br/file/ |
H A D | proxy_session_file_test.cpp | 370 ret = RemoveSessionServer(FILE_TEST_PKG_NAME.c_str(), FILE_SESSION_NAME.c_str()); in TestServerSide() 372 ret = RemoveSessionServer(FILE_TEST_PKG_NAME.c_str(), FILE_SESSION_NAME_DEMO.c_str()); in TestServerSide() 513 ret = RemoveSessionServer(pkgName.c_str(), transInfo.mySessionName.c_str()); in HWTEST_F() 579 ret = RemoveSessionServer(pkgName.c_str(), mySessionName.c_str()); in HWTEST_F() 635 ret = RemoveSessionServer(pkgName.c_str(), transInfo.mySessionName.c_str()); in HWTEST_F()
|
/foundation/communication/dsoftbus/tests/sdk/transmission/trans_channel/br/optimization/ |
H A D | auth_session_test2.cpp | 349 ret = RemoveSessionServer(FILE_TEST_PKG_NAME.c_str(), FILE_SESSION_NAME.c_str()); in TestServerSide() 351 ret = RemoveSessionServer(FILE_TEST_PKG_NAME.c_str(), FILE_SESSION_NAME_DEMO.c_str()); in TestServerSide() 499 ret = RemoveSessionServer(FILE_TEST_PKG_NAME.c_str(), transInfo.mySessionName.c_str()); in HWTEST_F() 529 ret = RemoveSessionServer(FILE_TEST_PKG_NAME_DEMO.c_str(), transInfo.mySessionName.c_str()); in HWTEST_F() 578 ret = RemoveSessionServer(pkgName.c_str(), transInfo.mySessionName.c_str()); in HWTEST_F()
|
/foundation/communication/ipc/ipc/native/c/rpc/trans_adapter/src/ |
H A D | rpc_softbus_trans.c | 56 int ret = RemoveSessionServer(saSessionName, saSessionName); in StopListen() 58 RPC_LOG_ERROR("RemoveSessionServer failed, error=%d", ret); in StopListen()
|
/foundation/communication/dsoftbus/sdk/transmission/session/cpp/src/ |
H A D | session_mock.cpp | 38 return RemoveSessionServer(pkgName, sessionName); in RemoveSessionServerInner()
|
H A D | session_service_impl.h | 38 int32_t RemoveSessionServer(const std::string &pkgName, const std::string &sessionName) override;
|
/foundation/distributeddatamgr/data_object/frameworks/innerkitsimpl/test/unittest/mock/src/ |
H A D | mock_soft_bus.cpp | 38 int RemoveSessionServer(const char *pkgName, const char *sessionName)
in RemoveSessionServer() function
|