Home
last modified time | relevance | path

Searched refs:OpenSession (Results 1 - 25 of 83) sorted by relevance

1234

/foundation/multimodalinput/input/intention/adapters/dsoftbus_adapter/src/
H A Ddsoftbus_adapter.cpp43 int32_t DSoftbusAdapter::OpenSession(const std::string &networkId) in OpenSession() function in OHOS::Msdp::DeviceStatus::DSoftbusAdapter
45 return DSoftbusAdapterImpl::GetInstance()->OpenSession(networkId); in OpenSession()
/foundation/communication/dsoftbus/tests/sdk/transmission/trans_channel/manager/
H A Dclient_trans_session_impl_test.cpp133 std::shared_ptr<Communication::SoftBus::Session> session = testSessionServiceImpl.OpenSession(g_sessionName1, in HWTEST_F()
137 session = testSessionServiceImpl.OpenSession(g_sessionName2, g_sessionName1, g_peerNetWorkId2, g_groupId, g_flags); in HWTEST_F()
140 session = testSessionServiceImpl.OpenSession(g_sessionName2, g_sessionName2, g_peerNetWorkId1, g_groupId, g_flags); in HWTEST_F()
143 session = testSessionServiceImpl.OpenSession(g_sessionName2, g_sessionName2, g_peerNetWorkId2, g_groupId, g_flags); in HWTEST_F()
/foundation/communication/dsoftbus/tests/sdk/transmission/session/
H A Dclient_trans_session_service_impl_test.cpp157 * @tc.desc: Test when mySessionName is empty then OpenSession returns nullptr.
170 sessionServiceImpl.OpenSession(mySessionName, peerSessionName, peerNetworkId, groupId, flags); in HWTEST_F()
176 * @tc.desc: Test when peerSessionName is empty then OpenSession returns nullptr.
189 sessionServiceImpl.OpenSession(mySessionName, peerSessionName, peerNetworkId, groupId, flags); in HWTEST_F()
195 * @tc.desc: Test when peerNetworkId is empty then OpenSession returns nullptr.
208 sessionServiceImpl.OpenSession(mySessionName, peerSessionName, peerNetworkId, groupId, flags); in HWTEST_F()
214 * @tc.desc: Test when OpenSessionInner returns a value less than or equal to 0 then OpenSession returns nullptr.
227 sessionServiceImpl.OpenSession(mySessionName, peerSessionName, peerNetworkId, groupId, flags); in HWTEST_F()
/foundation/filemanagement/dfs_service/services/distributedfiledaemon/test/unittest/network/softbus/
H A Dsoftbus_handler_test.cpp191 int32_t result = handler.OpenSession(packageName, sessionName, TEST_NETWORKID, socketId); in HWTEST_F()
196 result = handler.OpenSession(packageName, sessionName, TEST_NETWORKID, socketId); in HWTEST_F()
201 result = handler.OpenSession(packageName, sessionName, TEST_NETWORKID, socketId); in HWTEST_F()
216 * @tc.desc: Verify the OpenSession by Cid function.
229 int32_t result = handler.OpenSession("", sessionName, physicalPath, socketId); in HWTEST_F()
232 result = handler.OpenSession(packageName, "", physicalPath, socketId); in HWTEST_F()
235 result = handler.OpenSession(packageName, sessionName, "", socketId); in HWTEST_F()
/foundation/filemanagement/storage_service/services/storage_daemon/include/mock/
H A Duser_idm_client_impl_mock.h31 virtual std::vector<uint8_t> OpenSession(int32_t userId) = 0;
53 MOCK_METHOD1(OpenSession, std::vector<uint8_t>(int32_t userId));
/foundation/filemanagement/storage_service/services/storage_daemon/mock/
H A Duser_idm_client_impl_mock.cpp38 std::vector<uint8_t> UserIdmClientImpl::OpenSession(int32_t userId) in OpenSession() function in UserIdmClientImpl
40 return IUserIdmClientMoc::userIdmClientMoc->OpenSession(userId); in OpenSession()
/foundation/communication/dsoftbus/tests/sdk/transmission/fuzztest/opensession_fuzzer/
H A Dopensession_fuzzer.cpp38 OpenSession((const char*)tmp, mySessionName, workId, groupId, &attr); in OpenSessionTest()
/foundation/distributedhardware/distributed_camera/services/cameraservice/sourceservice/test/unittest/common/distributedcameramgr/
H A Dmock_camera_channel.h35 int32_t OpenSession() in OpenSession() function in OHOS::DistributedHardware::MockCameraChannel
H A Ddcamera_provider_callback_impl_test.cpp153 * @tc.desc: Verify OpenSession CloseSession func.
162 int32_t ret = testProviderCallback_->OpenSession(dhBase); in HWTEST_F()
171 * @tc.desc: Verify OpenSession CloseSession func.
179 int32_t ret = testProviderCallback_->OpenSession(dhBase); in HWTEST_F()
288 int32_t ret = testProviderCallback_->OpenSession(dhBase); in HWTEST_F()
300 * @tc.desc: Verify OpenSession CloseSession func.
310 int32_t ret = testProviderCallback->OpenSession(dhBase); in HWTEST_F()
/foundation/distributedhardware/distributed_camera/services/cameraservice/sinkservice/test/unittest/common/distributedcameramgr/
H A Dmock_camera_channel.h35 int32_t OpenSession() in OpenSession() function in OHOS::DistributedHardware::MockCameraChannel
/foundation/distributedhardware/distributed_screen/services/common/screen_channel/include/
H A Discreen_channel.h31 virtual int32_t OpenSession(const std::shared_ptr<IScreenChannelListener> &listener) = 0;
/foundation/multimodalinput/input/intention/adapters/dsoftbus_adapter/include/
H A Ddsoftbus_adapter.h38 int32_t OpenSession(const std::string &networkId) override;
/foundation/communication/dsoftbus/tests/sdk/transmission/trans_channel/qos/
H A Dtrans_qos_stat_client_test.cpp120 int32_t sessionId = OpenSession(UDP_TEST_SESSION_NAME, UDP_TEST_SESSION_NAME, in HWTEST_F()
167 int32_t sessionId = OpenSession(UDP_TEST_SESSION_NAME, UDP_TEST_SESSION_NAME, in HWTEST_F()
218 int32_t sessionId = OpenSession(UDP_TEST_SESSION_NAME, UDP_TEST_SESSION_NAME, in HWTEST_F()
270 int32_t sessionId = OpenSession(UDP_TEST_SESSION_NAME, UDP_TEST_SESSION_NAME, in HWTEST_F()
331 int32_t sessionId = OpenSession(UDP_TEST_SESSION_NAME, UDP_TEST_SESSION_NAME, in HWTEST_F()
/foundation/multimodalinput/input/intention/prototype/include/
H A Di_dsoftbus_adapter.h51 virtual int32_t OpenSession(const std::string &networkId) = 0;
/foundation/communication/dsoftbus/sdk/transmission/session/cpp/include/
H A DISessionService.h38 virtual std::shared_ptr<Session> OpenSession(const std::string &mySessionName, const std::string &peerSessionName,
/foundation/communication/dsoftbus/tests/sdk/transmission/demo/transport/
H A Ddfs_demo.c94 * 2. Device A calls OpenSession() to open a session based on the local session name, peer session name, and peer in main()
99 int32_t sessionId = OpenSession(g_sessionNameA, g_sessionNameB, g_networkidB, g_groupid, &g_sessionAttr); in main()
H A Dsendbytes_message_demo.c84 * 2. Device A calls OpenSession() to open a session based on the local session name, in main()
89 int32_t sessionId = OpenSession(g_sessionNameA, g_sessionNameB, g_networkidB, g_groupid, &g_sessionAttr); in main()
H A Dgetsessioninfo_demo.c99 * 2. Device A calls OpenSession() to open a session based on the local session name, in main()
104 int32_t sessionId = OpenSession(g_sessionNameA, g_sessionNameB, g_networkidB, g_groupid, &g_sessionAttr); in main()
H A Dsendstream_demo.c78 * 2. Device A calls OpenSession() to open a session based on the local session name, in main()
83 int32_t sessionId = OpenSession(g_sessionNameA, g_sessionNameB, g_networkidB, g_groupid, &g_sessionAttr); in main()
/foundation/filemanagement/dfs_service/services/distributedfiledaemon/include/network/softbus/
H A Dsoftbus_agent.h43 int32_t OpenSession(const DeviceInfo &info, const uint8_t &linkType) override;
/foundation/filemanagement/dfs_service/services/distributedfiledaemon/src/network/
H A Dnetwork_agent_template.cpp62 OpenSession(info, LINK_TYPE_P2P); in ConnectDeviceByP2PAsync()
185 if (OpenSession(deviceInfo, LINK_TYPE_P2P) == FileManagement::E_OK) { in GetSession()
/foundation/communication/ipc/ipc/native/c/rpc/trans_adapter/src/
H A Drpc_softbus_trans.c75 int ret = OpenSession(saSessionName, saSessionName, peerDeviceId, "", &g_sessionAttr); in Connect()
78 RPC_LOG_ERROR("Connect OpenSession failed, error=%d", ret); in Connect()
/foundation/communication/dsoftbus/tests/sdk/transmission/fuzztest/sessionserviceimpl_fuzzer/
H A Dsessionserviceimpl_fuzzer.cpp36 sessionService.OpenSession(sessionName, peersessionName, peerNetworkId, groupId, flags); in SessionTest()
/foundation/communication/dsoftbus/sdk/transmission/session/cpp/src/
H A Dsession_service_impl.h40 std::shared_ptr<Session> OpenSession(const std::string &mySessionName, const std::string &peerSessionName,
/foundation/distributeddatamgr/data_object/frameworks/innerkitsimpl/test/unittest/mock/src/
H A Dmock_soft_bus.cpp27 int OpenSession(const char *mySessionName, const char *peerSessionName, const char *peerDeviceId, const char *groupId, in OpenSession() function

Completed in 10 milliseconds

1234