/foundation/multimodalinput/input/intention/adapters/dsoftbus_adapter/src/ |
H A D | dsoftbus_adapter.cpp | 43 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 D | client_trans_session_impl_test.cpp | 133 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 D | client_trans_session_service_impl_test.cpp | 157 * @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 D | softbus_handler_test.cpp | 191 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 D | user_idm_client_impl_mock.h | 31 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 D | user_idm_client_impl_mock.cpp | 38 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 D | opensession_fuzzer.cpp | 38 OpenSession((const char*)tmp, mySessionName, workId, groupId, &attr); in OpenSessionTest()
|
/foundation/distributedhardware/distributed_camera/services/cameraservice/sourceservice/test/unittest/common/distributedcameramgr/ |
H A D | mock_camera_channel.h | 35 int32_t OpenSession() in OpenSession() function in OHOS::DistributedHardware::MockCameraChannel
|
H A D | dcamera_provider_callback_impl_test.cpp | 153 * @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 D | mock_camera_channel.h | 35 int32_t OpenSession() in OpenSession() function in OHOS::DistributedHardware::MockCameraChannel
|
/foundation/distributedhardware/distributed_screen/services/common/screen_channel/include/ |
H A D | iscreen_channel.h | 31 virtual int32_t OpenSession(const std::shared_ptr<IScreenChannelListener> &listener) = 0;
|
/foundation/multimodalinput/input/intention/adapters/dsoftbus_adapter/include/ |
H A D | dsoftbus_adapter.h | 38 int32_t OpenSession(const std::string &networkId) override;
|
/foundation/communication/dsoftbus/tests/sdk/transmission/trans_channel/qos/ |
H A D | trans_qos_stat_client_test.cpp | 120 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 D | i_dsoftbus_adapter.h | 51 virtual int32_t OpenSession(const std::string &networkId) = 0;
|
/foundation/communication/dsoftbus/sdk/transmission/session/cpp/include/ |
H A D | ISessionService.h | 38 virtual std::shared_ptr<Session> OpenSession(const std::string &mySessionName, const std::string &peerSessionName,
|
/foundation/communication/dsoftbus/tests/sdk/transmission/demo/transport/ |
H A D | dfs_demo.c | 94 * 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 D | sendbytes_message_demo.c | 84 * 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 D | getsessioninfo_demo.c | 99 * 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 D | sendstream_demo.c | 78 * 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 D | softbus_agent.h | 43 int32_t OpenSession(const DeviceInfo &info, const uint8_t &linkType) override;
|
/foundation/filemanagement/dfs_service/services/distributedfiledaemon/src/network/ |
H A D | network_agent_template.cpp | 62 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 D | rpc_softbus_trans.c | 75 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 D | sessionserviceimpl_fuzzer.cpp | 36 sessionService.OpenSession(sessionName, peersessionName, peerNetworkId, groupId, flags); in SessionTest()
|
/foundation/communication/dsoftbus/sdk/transmission/session/cpp/src/ |
H A D | session_service_impl.h | 40 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 D | mock_soft_bus.cpp | 27 int OpenSession(const char *mySessionName, const char *peerSessionName, const char *peerDeviceId, const char *groupId,
in OpenSession() function
|