Home
last modified time | relevance | path

Searched refs:newSession (Results 1 - 5 of 5) sorted by relevance

/foundation/communication/ipc/services/dbinder/test/unittest/
H A Ddbinder_service_unittest.cpp1374 std::shared_ptr<struct SessionInfo> newSession= std::make_shared<struct SessionInfo>(); in HWTEST_F() local
1375 EXPECT_NE(newSession.get(), nullptr); in HWTEST_F()
1381 newSession->stubIndex = 2; in HWTEST_F()
1382 newSession->toPort = 2; in HWTEST_F()
1383 newSession->fromPort = 3; in HWTEST_F()
1384 newSession->type = 4; in HWTEST_F()
1385 newSession->serviceName[0] = 't'; in HWTEST_F()
1388 EXPECT_EQ(dBinderService->IsSameSession(oldSession, newSession), false); in HWTEST_F()
1389 newSession->stubIndex = 1; in HWTEST_F()
1390 newSession in HWTEST_F()
[all...]
/foundation/communication/dsoftbus/tests/sdk/transmission/session/
H A Dclient_trans_session_manager_test.cpp1015 SessionInfo *newSession = GenerateSession(sessionParam); in HWTEST_F() local
1016 ASSERT_TRUE(newSession != NULL); in HWTEST_F()
1017 newSession->channelId = TRANS_TEST_CHANNEL_ID + 1; in HWTEST_F()
1018 newSession->channelType = CHANNEL_TYPE_UDP; in HWTEST_F()
1019 newSession->routeType = WIFI_P2P; in HWTEST_F()
1020 ret = ClientAddNewSession(g_sessionName, newSession); in HWTEST_F()
1059 SessionInfo *newSession = GenerateSession(sessionParam); in HWTEST_F() local
1060 ret = ClientAddNewSession(g_sessionName, newSession); in HWTEST_F()
1062 newSession->sessionId = 2; in HWTEST_F()
/foundation/communication/ipc/services/dbinder/dbinder_service/src/
H A Ddbinder_service.cpp934 std::shared_ptr<struct SessionInfo> newSession) in IsSameSession()
936 if ((oldSession->stubIndex != newSession->stubIndex) || (oldSession->toPort != newSession->toPort) in IsSameSession()
937 || (oldSession->fromPort != newSession->fromPort) || (oldSession->type != newSession->type) in IsSameSession()
938 || (oldSession->serviceName != newSession->serviceName)) { in IsSameSession()
941 if (strncmp(oldSession->deviceIdInfo.fromDeviceId, newSession->deviceIdInfo.fromDeviceId, DEVICEID_LENGTH) != 0 in IsSameSession()
942 || strncmp(oldSession->deviceIdInfo.toDeviceId, newSession->deviceIdInfo.toDeviceId, DEVICEID_LENGTH) != 0) { in IsSameSession()
933 IsSameSession(std::shared_ptr<struct SessionInfo> oldSession, std::shared_ptr<struct SessionInfo> newSession) IsSameSession() argument
/foundation/communication/ipc/interfaces/innerkits/libdbinder/include/
H A Ddbinder_service.h365 bool IsSameSession(std::shared_ptr<struct SessionInfo> oldSession, std::shared_ptr<struct SessionInfo> newSession);
/foundation/window/window_manager/window_scene/session_manager/src/
H A Dscene_session_manager.cpp2429 sptr<SceneSession> newSession = RequestSceneSession(info, property); in CreateAndConnectSpecificSession()
2430 if (newSession == nullptr) { in CreateAndConnectSpecificSession()
2435 auto errCode = newSession->ConnectInner( in CreateAndConnectSpecificSession()
2437 newSession->SetIsSystemSpecificSession(isSystemCalling); in CreateAndConnectSpecificSession()
2443 NotifyCreateSpecificSession(newSession, property, type); in CreateAndConnectSpecificSession()
2444 session = newSession; in CreateAndConnectSpecificSession()
2445 AddClientDeathRecipient(sessionStage, newSession); in CreateAndConnectSpecificSession()
2448 newSession->GetPersistentId(), newSession->GetParentPersistentId(), type); in CreateAndConnectSpecificSession()
2836 void SceneSessionManager::NotifyCreateSpecificSession(sptr<SceneSession> newSession, in NotifyCreateSpecificSession() argument
[all...]

Completed in 18 milliseconds