/ohos5.0/foundation/communication/dsoftbus/core/transmission/trans_channel/tcp_direct/src/ |
H A D | trans_tcp_direct_manager.c | 106 SoftBusList *sessionList = GetSessionConnList(); in TransTdcTimerProc() local 107 if (sessionList == NULL) { in TransTdcTimerProc() 117 LIST_FOR_EACH_ENTRY_SAFE(item, nextItem, &sessionList->list, SessionConn, node) { in TransTdcTimerProc() 122 sessionList->cnt--; in TransTdcTimerProc() 156 SoftBusList *sessionList = GetSessionConnList(); in TransTdcStopSessionProc() local 157 if (sessionList == NULL) { in TransTdcStopSessionProc() 167 LIST_FOR_EACH_ENTRY_SAFE(item, nextItem, &sessionList->list, SessionConn, node) { in TransTdcStopSessionProc() 172 sessionList->cnt--; in TransTdcStopSessionProc() 229 SoftBusList *sessionList = GetSessionConnList(); in TransTdcDeathCallback() local 230 if (sessionList == NULL) { in TransTdcDeathCallback() [all …]
|
H A D | trans_tcp_direct_p2p.c | 169 SoftBusList *sessionList = GetSessionConnList(); in ClearP2pSessionConn() local 170 if (sessionList == NULL || GetSessionConnLock() != SOFTBUS_OK) { in ClearP2pSessionConn() 176 LIST_FOR_EACH_ENTRY_SAFE(item, nextItem, &sessionList->list, SessionConn, node) { in ClearP2pSessionConn() 182 sessionList->cnt--; in ClearP2pSessionConn()
|
/ohos5.0/foundation/communication/dsoftbus/sdk/transmission/session/src/ |
H A D | client_trans_session_manager.c | 76 if (IsListEmpty(&serverNode->sessionList)) { in CheckPermissionState() 143 if (IsListEmpty(&serverNode->sessionList)) { in SessionIdIsAvailable() 169 if (IsListEmpty(&serverNode->sessionList)) { in ShowAllSessionInfo() 440 if (IsListEmpty(&serverNode->sessionList)) { in GetSessionById() 615 if (IsListEmpty(&serverNode->sessionList)) { in ClientDeleteSession() 861 if (IsListEmpty(&serverNode->sessionList)) { in GetEncryptByChannelId() 896 if (IsListEmpty(&serverNode->sessionList)) { in ClientGetSessionStateByChannelId() 931 if (IsListEmpty(&serverNode->sessionList)) { in ClientGetSessionIdByChannelId() 964 if (IsListEmpty(&serverNode->sessionList)) { in ClientGetSessionIsAsyncBySessionId() 999 if (IsListEmpty(&serverNode->sessionList)) { in ClientGetRouteTypeByChannelId() [all …]
|
H A D | client_trans_socket_manager.c | 168 if (!IsListEmpty(&(server->sessionList))) { in DestroyClientSessionServer() 171 …LIST_FOR_EACH_ENTRY_SAFE(sessionNode, sessionNodeNext, &(server->sessionList), SessionInfo, node) { in DestroyClientSessionServer() 216 ListInit(&server->sessionList); in GetNewSessionServer() 349 …LIST_FOR_EACH_ENTRY_SAFE(sessionNode, sessionNodeNext, &(server->sessionList), SessionInfo, node) { in DestroyClientSessionByNetworkId() 426 ListInit(&server->sessionList); in GetNewSocketServer()
|
/ohos5.0/foundation/communication/dsoftbus/core/common/dfx/statistics/instant/ |
H A D | instant_statistics.cpp | 422 SoftBusList *sessionList = GetSessionConnList(); in InstUpdateRemoteInfoBySessionConn() local 423 if (sessionList == NULL || GetSessionConnLock() != SOFTBUS_OK) { in InstUpdateRemoteInfoBySessionConn() 426 LIST_FOR_EACH_ENTRY(item, &sessionList->list, SessionConn, node) { in InstUpdateRemoteInfoBySessionConn() 529 SoftBusList *sessionList = GetUdpChannelMgrHead(); in InstUpdateRemoteInfoByUdpChannel() local 530 if (sessionList == NULL || GetUdpChannelLock() != SOFTBUS_OK) { in InstUpdateRemoteInfoByUdpChannel() 533 LIST_FOR_EACH_ENTRY(item, &sessionList->list, UdpChannelInfo, node) { in InstUpdateRemoteInfoByUdpChannel() 641 SoftBusList *sessionList = GetProxyChannelMgrHead(); in InstUpdateRemoteInfoByProxyChannel() local 642 if (sessionList == NULL || GetProxyChannelLock() != SOFTBUS_OK) { in InstUpdateRemoteInfoByProxyChannel() 715 SoftBusList *sessionList = GetAuthChannelListHead(); in InstUpdateByAuthChannelList() local 716 if (sessionList == NULL || GetAuthChannelLock() != SOFTBUS_OK) { in InstUpdateByAuthChannelList() [all …]
|
/ohos5.0/base/sensors/sensor/services/include/ |
H A D | sensor_power_policy.h | 42 void ReportActiveInfo(const ActiveInfo &activeInfo, const std::vector<SessionPtr> &sessionList);
|
/ohos5.0/base/sensors/sensor/services/src/ |
H A D | sensor_power_policy.cpp | 239 const std::vector<SessionPtr> &sessionList) in ReportActiveInfo() argument 257 for (const auto &sess : sessionList) { in ReportActiveInfo()
|
H A D | sensor_service.cpp | 598 std::vector<SessionPtr> sessionList; in ReportActiveInfo() local 603 sessionList.push_back(sess); in ReportActiveInfo() 609 POWER_POLICY.ReportActiveInfo(activeInfo, sessionList); in ReportActiveInfo()
|
/ohos5.0/foundation/multimedia/av_session/frameworks/native/session/test/unittest/ |
H A D | avsession_manager_test.cpp | 229 vector<std::shared_ptr<AVSession>> sessionList; variable 236 sessionList.push_back(firstSession); 241 for (auto it = sessionList.begin(); it != sessionList.end(); it++) {
|
/ohos5.0/foundation/window/window_manager/window_scene/test/unittest/ |
H A D | scene_session_dirty_manager_test.cpp | 427 auto sessionList = manager_->GetDialogSessionMap(sessionMap); variable 428 ASSERT_EQ(0, sessionList.size()); 482 auto sessionList = manager_->GetDialogSessionMap(sessionMap); variable 483 ASSERT_EQ(2, sessionList.size());
|
H A D | scene_input_manager_test.cpp | 107 std::vector<sptr<SceneSession>> sessionList; in MaxWindowInfoTest() local 120 sessionList.push_back(sceneSession); in MaxWindowInfoTest() 125 for (auto session : sessionList) { in MaxWindowInfoTest()
|
/ohos5.0/foundation/communication/dsoftbus/sdk/transmission/session/include/ |
H A D | client_trans_session_manager.h | 115 ListNode sessionList; member
|
/ohos5.0/foundation/ability/dmsfwk/services/dtbschedmgr/include/ |
H A D | distributed_sched_service.h | 240 static int32_t GetUidLocked(const std::list<ConnectAbilitySession>& sessionList);
|