Searched refs:softbusSession (Results 1 - 5 of 5) sorted by relevance
/foundation/distributedhardware/device_manager/test/softbusunittest/ |
H A D | UTTest_softbus_session.cpp | 41 std::shared_ptr<SoftbusSession> softbusSession = std::make_shared<SoftbusSession>(); member 58 if (softbusSession == nullptr) { in HWTEST_F() 59 softbusSession = std::make_shared<SoftbusSession>(); in HWTEST_F() 61 int ret = softbusSession->OpenAuthSession(deviceId); in HWTEST_F() 74 if (softbusSession == nullptr) { in HWTEST_F() 75 softbusSession = std::make_shared<SoftbusSession>(); in HWTEST_F() 77 int ret = softbusSession->OpenAuthSession(deviceId); in HWTEST_F() 91 if (softbusSession == nullptr) { in HWTEST_F() 92 softbusSession = std::make_shared<SoftbusSession>(); in HWTEST_F() 94 int ret = softbusSession in HWTEST_F() [all...] |
/foundation/distributedhardware/device_manager/test/softbusfuzztest/softbussession_fuzzer/ |
H A D | softbus_session_fuzzer.cpp | 66 std::shared_ptr<SoftbusSession> softbusSession = std::make_shared<SoftbusSession>(); in SoftBusSessionFuzzTest() local 68 softbusSession->RegisterSessionCallback(std::make_shared<SoftbusSessionCallbackTest>()); in SoftBusSessionFuzzTest() 69 softbusSession->OnSessionOpened(result, result); in SoftBusSessionFuzzTest() 70 softbusSession->OpenAuthSession(str); in SoftBusSessionFuzzTest() 71 softbusSession->CloseAuthSession(sessionId); in SoftBusSessionFuzzTest() 72 softbusSession->OnBytesReceived(result, str.c_str(), str.size()); in SoftBusSessionFuzzTest() 73 softbusSession->GetPeerDeviceId(sessionId, str); in SoftBusSessionFuzzTest() 74 softbusSession->SendData(sessionId, str); in SoftBusSessionFuzzTest() 75 softbusSession->SendHeartbeatData(sessionId, str); in SoftBusSessionFuzzTest() 76 softbusSession in SoftBusSessionFuzzTest() [all...] |
/foundation/distributedhardware/device_manager/test/softbusfuzztest/onsessionopened_fuzzer/ |
H A D | on_session_opened_fuzzer.cpp | 69 std::shared_ptr<SoftbusSession> softbusSession = std::make_shared<SoftbusSession>(); in OnSessionOpenedFuzzTest() local 70 softbusSession->RegisterSessionCallback(std::make_shared<SoftbusSessionCallbackTest>()); in OnSessionOpenedFuzzTest() 71 softbusSession->OnSessionOpened(sessionId, result); in OnSessionOpenedFuzzTest() 72 softbusSession->OnSessionClosed(sessionId); in OnSessionOpenedFuzzTest()
|
/foundation/distributedhardware/device_manager/test/softbusfuzztest/softbussessionobject_fuzzer/ |
H A D | softbus_session_object_fuzzer.cpp | 71 std::shared_ptr<SoftbusSession> softbusSession = std::make_shared<SoftbusSession>(); in SoftBusSessionFuzzTest() local 72 softbusSession->RegisterSessionCallback(std::make_shared<SoftbusSessionCallbackTest>()); in SoftBusSessionFuzzTest() 73 softbusSession->iSocketListener_.OnBytes(socket, data, size); in SoftBusSessionFuzzTest() 74 softbusSession->iSocketListener_.OnShutdown(socket, reason); in SoftBusSessionFuzzTest() 75 softbusSession->iSocketListener_.OnQos(socket, eventId, qos, qosCount); in SoftBusSessionFuzzTest()
|
/foundation/distributedhardware/device_manager/test/softbusfuzztest/onbytesreceived_fuzzer/ |
H A D | on_bytes_received_fuzzer.cpp | 62 std::shared_ptr<SoftbusSession> softbusSession = std::make_shared<SoftbusSession>(); in OnBytesReceivedFuzzTest() local 63 softbusSession->RegisterSessionCallback(std::make_shared<SoftbusSessionCallbackTest>()); in OnBytesReceivedFuzzTest() 64 softbusSession->OnBytesReceived(sessionId, data, size); in OnBytesReceivedFuzzTest()
|
Completed in 2 milliseconds