Home
last modified time | relevance | path

Searched refs:OpenAuthSession (Results 1 - 25 of 30) sorted by relevance

12

/foundation/communication/dsoftbus/interfaces/inner_kits/transport/
H A Dinner_session.h71 int OpenAuthSession(const char *sessionName, const ConnectionAddr *addrInfo, int num, const char *mixAddr);
/foundation/communication/dsoftbus/tests/sdk/transmission/fuzztest/openauthsession_fuzzer/
H A Dopenauthsession_fuzzer.cpp38 OpenAuthSession(g_testSessionName, &g_addr, -1, (const char*)tmp); in OpenAuthSessionTest()
/foundation/communication/dsoftbus/tests/core/frame/unittest/
H A Dsoftbus_server_test.cpp77 * @tc.desc: Verify the OpenAuthSession function.
88 int32_t ret = softBusServer->OpenAuthSession("test", nullptr); in HWTEST_F()
91 ret = softBusServer->OpenAuthSession("test", &addr); in HWTEST_F()
/foundation/communication/dsoftbus/tests/sdk/transmission/trans_channel/tcp_direct/
H A Dtrans_session_test.cpp201 ret = OpenAuthSession(NULL, &(g_addrInfo), 1, NULL); in HWTEST_F()
204 ret = OpenAuthSession(g_testSessionName, NULL, 1, NULL); in HWTEST_F()
207 ret = OpenAuthSession(g_testSessionName, &(g_addrInfo), -1, NULL); in HWTEST_F()
221 ret = OpenAuthSession(g_testSessionName, &(g_addrInfo), 1, NULL); in HWTEST_F()
/foundation/distributedhardware/device_manager/services/implementation/include/dependency/softbus/
H A Dsoftbus_session.h57 * @tc.name: SoftbusSession::OpenAuthSession
61 int32_t OpenAuthSession(const std::string &deviceId);
/foundation/distributedhardware/device_manager/services/implementation/src/dependency/softbus/
H A Dsoftbus_session.cpp92 int32_t SoftbusSession::OpenAuthSession(const std::string &deviceId) in OpenAuthSession() function in OHOS::DistributedHardware::SoftbusSession
102 sessionId = ::OpenAuthSession(DM_SESSION_NAME, addrInfo, 1, nullptr); in OpenAuthSession()
108 LOGI("OpenAuthSession success. sessionId: %{public}d.", sessionId); in OpenAuthSession()
/foundation/distributedhardware/device_manager/test/softbusunittest/
H A DUTTest_softbus_session.cpp61 int ret = softbusSession->OpenAuthSession(deviceId); in HWTEST_F()
77 int ret = softbusSession->OpenAuthSession(deviceId); in HWTEST_F()
/foundation/communication/dsoftbus/tests/sdk/transmission/demo/transport/
H A Dopenauthsession_demo.c78 * 2. Device A calls OpenAuthSession() to create a raw channel for identity negotiation based on the session name in main()
81 int32_t sessionId = OpenAuthSession(g_sessionNameA, &(g_addrInfo), 1, NULL); in main()
/foundation/distributedhardware/device_manager/test/softbusfuzztest/softbussession_fuzzer/
H A Dsoftbus_session_fuzzer.cpp70 softbusSession->OpenAuthSession(str); in SoftBusSessionFuzzTest()
/foundation/communication/dsoftbus/sdk/transmission/ipc/standard/include/
H A Dtrans_server_proxy_standard.h34 int32_t OpenAuthSession(const char *sessionName, const ConnectionAddr *addrInfo) override;
/foundation/communication/dsoftbus/tests/sdk/transmission/trans_channel/ble/phone/
H A Dble_auth_channel_phone_test.cpp148 int32_t ret = OpenAuthSession(g_sessionName, &g_addr1, 1, NULL); in TestOpenSession()
/foundation/communication/dsoftbus/sdk/frame/standard/include/
H A Dsoftbus_server_proxy_standard.h37 int32_t OpenAuthSession(const char *sessionName, const ConnectionAddr *addrInfo) override;
/foundation/communication/dsoftbus/tests/sdk/transmission/trans_channel/br/
H A Dauth_session_test.cpp186 g_sessionId = OpenAuthSession(g_testSessionName, addrInfo, 1, NULL); in TestOpenAuthSession()
188 printf("OpenAuthSession ret[%d]", g_sessionId); in TestOpenAuthSession()
192 g_sessionIdTwo = OpenAuthSession(g_testSessionName, addrInfo, 1, NULL); in TestOpenAuthSession()
194 printf("OpenAuthSession ret[%d]", g_sessionIdTwo); in TestOpenAuthSession()
/foundation/communication/dsoftbus/sdk/bus_center/ipc/standard/include/
H A Dbus_center_server_proxy_standard.h35 int32_t OpenAuthSession(const char *sessionName, const ConnectionAddr *addrInfo) override;
/foundation/communication/dsoftbus/core/frame/standard/init/include/
H A Dsoftbus_server.h36 int32_t OpenAuthSession(const char *sessionName, const ConnectionAddr *addrInfo) override;
H A Dif_softbus_server.h37 virtual int32_t OpenAuthSession(const char *sessionName, const ConnectionAddr *addrInfo) = 0;
/foundation/distributedhardware/device_manager/services/service/src/pinholder/
H A Dpin_holder_session.cpp61 sessionId = ::OpenAuthSession(DM_PIN_HOLDER_SESSION_NAME, &addrInfo, 1, nullptr); in OpenSessionServer()
66 LOGI("OpenAuthSession success. sessionId: %{public}d.", sessionId); in OpenSessionServer()
/foundation/communication/dsoftbus/sdk/frame/standard/src/
H A Dsoftbus_server_proxy_standard.cpp102 int32_t SoftBusServerProxyFrame::OpenAuthSession(const char *sessionName, const ConnectionAddr *addrInfo) in OpenAuthSession() function in OHOS::SoftBusServerProxyFrame
/foundation/communication/dsoftbus/tests/sdk/transmission/trans_channel/ble/board/
H A Dble_auth_channel_test.cpp182 int32_t ret = OpenAuthSession(g_sessionName, &g_addr1, 1, NULL); in TestOpenSession()
/foundation/communication/dsoftbus/tests/sdk/transmission/trans_channel/auth/
H A Dauth_session_test.c154 printf("OpenAuthSession start\n"); in TestOpenAuthSession()
163 g_sessionId = OpenAuthSession(g_testSessionName, &(g_addrInfo[0]), 1, NULL); in TestOpenAuthSession()
165 printf("OpenAuthSession ret[%d]", g_sessionId); in TestOpenAuthSession()
169 printf("OpenAuthSession end\n"); in TestOpenAuthSession()
197 printf("wait OpenAuthSession success Cnt: %d *******\n", waitCnt); in TestAuthSessionSendData()
200 printf("wait OpenAuthSession success timeout!\n"); in TestAuthSessionSendData()
/foundation/communication/dsoftbus/tests/sdk/transmission/ipc/
H A Dtrans_ipc_test.cpp224 * @tc.desc: OpenAuthSession, use the wrong parameter.
237 int32_t ret = transServerProxy.OpenAuthSession(nullptr, addrInfo); in HWTEST_F()
240 ret = transServerProxy.OpenAuthSession(g_sessionName, nullptr); in HWTEST_F()
243 ret = transServerProxy.OpenAuthSession(g_sessionName, addrInfo); in HWTEST_F()
/foundation/communication/dsoftbus/sdk/transmission/ipc/standard/src/
H A Dtrans_server_proxy.cpp170 int channelId = proxy->OpenAuthSession(sessionName, addrInfo); in ServerIpcOpenAuthSession()
172 TRANS_LOGE(TRANS_SDK, "OpenAuthSession failed!"); in ServerIpcOpenAuthSession()
H A Dtrans_server_proxy_standard.cpp308 int32_t TransServerProxy::OpenAuthSession(const char *sessionName, const ConnectionAddr *addrInfo) in OpenAuthSession() function in OHOS::TransServerProxy
/foundation/communication/dsoftbus/tests/sdk/transmission/session/
H A Dclient_trans_session_test.cpp498 int32_t ret = OpenAuthSession(g_sessionName, addrInfoArr, TRANS_TEST_ADDR_INFO_NUM, data); in HWTEST_F()
504 ret = OpenAuthSession(g_sessionName, addrInfoArr, TRANS_TEST_ADDR_INFO_NUM, data); in HWTEST_F()
515 ret = OpenAuthSession(NEW_SESSION_NAME, addrInfoArr, TRANS_TEST_ADDR_INFO_NUM, data); in HWTEST_F()
/foundation/communication/dsoftbus/core/frame/standard/init/src/
H A Dsoftbus_server.cpp108 int32_t SoftBusServer::OpenAuthSession(const char *sessionName, const ConnectionAddr *addrInfo) in OpenAuthSession() function in OHOS::SoftBusServer

Completed in 13 milliseconds

12