Home
last modified time | relevance | path

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

/foundation/multimedia/av_session/services/session/server/
H A Davsession_users_manager.cpp56 for (auto& sessionItem : allSession) { in HandleUserRemoved()
57 CHECK_AND_RETURN_LOG(sessionItem != nullptr, "HandleUserRemoved session null"); in HandleUserRemoved()
58 std::string sessionId = sessionItem->GetSessionId(); in HandleUserRemoved()
195 for (auto& sessionItem : result) { in RemoveSessionForAllUser()
196 CHECK_AND_RETURN_RET_LOG(sessionItem != nullptr, result, "RemoveSessionForAllUser session null"); in RemoveSessionForAllUser()
197 std::string sessionId = sessionItem->GetSessionId(); in RemoveSessionForAllUser()
198 int32_t userId = sessionItem->GetUserId(); in RemoveSessionForAllUser()
H A Davsession_service.cpp649 void AVSessionService::UpdateFrontSession(sptr<AVSessionItem>& sessionItem, bool isAdd) in UpdateFrontSession() argument
651 SLOGI("UpdateFrontSession with bundle=%{public}s isAdd=%{public}d", sessionItem->GetBundleName().c_str(), isAdd); in UpdateFrontSession()
654 auto it = std::find(sessionListForFront->begin(), sessionListForFront->end(), sessionItem); in UpdateFrontSession()
657 SLOGI("sessionListForFront has same session bundle=%{public}s", sessionItem->GetBundleName().c_str()); in UpdateFrontSession()
660 sessionListForFront->push_front(sessionItem); in UpdateFrontSession()
661 if (AudioAdapter::GetInstance().GetRendererRunning(sessionItem->GetUid())) { in UpdateFrontSession()
662 SLOGI("Renderer Running, RepublishNotification for uid=%{public}d", sessionItem->GetUid()); in UpdateFrontSession()
663 UpdateTopSession(sessionItem); in UpdateFrontSession()
664 AVSessionDescriptor selectSession = sessionItem->GetDescriptor(); in UpdateFrontSession()
669 if (topSession_.GetRefPtr() == sessionItem in UpdateFrontSession()
995 ServiceCallback(sptr<AVSessionItem>& sessionItem) ServiceCallback() argument
1091 CreateSessionInner(const std::string& tag, int32_t type, bool thirdPartyApp, const AppExecFwk::ElementName& elementName, sptr<AVSessionItem>& sessionItem) CreateSessionInner() argument
1141 sptr<AVSessionItem> sessionItem; CreateSessionInner() local
2059 sptr<AVSessionItem> sessionItem = GetUsersManager().GetContainerFromAll().GetSessionById(sessionId); HandleSessionRelease() local
[all...]
H A Davsession_service.h301 const AppExecFwk::ElementName& elementName, sptr<AVSessionItem>& sessionItem);
305 void ServiceCallback(sptr<AVSessionItem>& sessionItem);
435 void UpdateFrontSession(sptr<AVSessionItem>& sessionItem, bool isAdd);
/foundation/communication/dsoftbus/core/bus_center/lnn/lane_hub/lane_manager/src/
H A Dlnn_lane_link_p2p.c225 AuthSessionServer *sessionItem = (AuthSessionServer *)SoftBusCalloc(sizeof(AuthSessionServer)); in AddAuthSessionFlag() local
226 if (sessionItem == NULL) { in AddAuthSessionFlag()
231 if (strcpy_s(sessionItem->peerIp, IP_LEN, peerIp) != EOK) { in AddAuthSessionFlag()
233 SoftBusFree(sessionItem); in AddAuthSessionFlag()
237 sessionItem->isServer = isServer; in AddAuthSessionFlag()
238 ListTailInsert(g_authSessionServerList, &sessionItem->node); in AddAuthSessionFlag()
3007 AuthSessionServer *sessionItem = NULL; in LnnDestroyWifiDirectInfo() local
3009 LIST_FOR_EACH_ENTRY_SAFE(sessionItem, sessionNext, g_authSessionServerList, AuthSessionServer, node) { in LnnDestroyWifiDirectInfo()
3010 ListDelete(&sessionItem->node); in LnnDestroyWifiDirectInfo()
3011 SoftBusFree(sessionItem); in LnnDestroyWifiDirectInfo()
[all...]
/foundation/multimedia/av_session/services/session/server/test/
H A Davsession_service_test.cpp1258 OHOS::sptr<AVSessionItem> sessionItem = nullptr; in HWTEST_F() local
1263 false, elementName, sessionItem); in HWTEST_F()
1271 OHOS::sptr<AVSessionItem> sessionItem = nullptr; in HWTEST_F() local
1276 false, elementName, sessionItem); in HWTEST_F()

Completed in 14 milliseconds