Lines Matching refs:AVSessionItem
535 void AVSessionService::UpdateTopSession(const sptr<AVSessionItem>& newTopSession)
593 std::shared_ptr<std::list<sptr<AVSessionItem>>> sessionListForFront = GetCurSessionListForFront();
610 void AVSessionService::RefreshFocusSessionSort(sptr<AVSessionItem> &session)
649 void AVSessionService::UpdateFrontSession(sptr<AVSessionItem>& sessionItem, bool isAdd)
652 std::shared_ptr<std::list<sptr<AVSessionItem>>> sessionListForFront = GetCurSessionListForFront();
687 std::shared_ptr<std::list<sptr<AVSessionItem>>> sessionListForFront = GetCurSessionListForFront();
720 sptr <AVSessionItem> AVSessionService::SelectSessionByUid(const AudioRendererChangeInfo& info)
819 inline std::shared_ptr<std::list<sptr<AVSessionItem>>> AVSessionService::GetCurSessionListForFront()
995 void AVSessionService::ServiceCallback(sptr<AVSessionItem>& sessionItem)
1001 sessionItem->SetServiceCallbackForRelease([this](AVSessionItem& session) {
1004 sessionItem->SetServiceCallbackForAVQueueInfo([this](AVSessionItem& session) {
1007 sessionItem->SetServiceCallbackForCallStart([this](AVSessionItem& session) {
1012 sptr<AVSessionItem> session = GetContainer().GetSessionById(sessionId);
1018 sptr<AVSessionItem> session = GetContainer().GetSessionById(sessionId);
1028 sptr<AVSessionItem> AVSessionService::CreateNewSession(const std::string& tag, int32_t type, bool thirdPartyApp,
1044 sptr<AVSessionItem> result = new(std::nothrow) AVSessionItem(descriptor, GetUsersManager().GetCurrentUserId());
1093 sptr<AVSessionItem>& sessionItem)
1105 sptr<AVSessionItem> result = CreateNewSession(tag, type, thirdPartyApp, elementName);
1127 std::shared_ptr<std::list<sptr<AVSessionItem>>> sessionListForFront = GetCurSessionListForFront();
1138 sptr<AVSessionItem> AVSessionService::CreateSessionInner(const std::string& tag, int32_t type, bool thirdPartyApp,
1141 sptr<AVSessionItem> sessionItem;
1147 void AVSessionService::ReportSessionInfo(const sptr <AVSessionItem>& session, int32_t res)
1178 sptr<AVSessionItem> session;
1273 std::shared_ptr<std::list<sptr<AVSessionItem>>> sessionListForFront = GetCurSessionListForFront();
1290 sptr<AVSessionItem> session = GetContainer().GetSessionById(sessionId);
1441 void AVSessionService::AddAvQueueInfoToFile(AVSessionItem& session)
1516 sptr<AVControllerItem> AVSessionService::CreateNewControllerForSession(pid_t pid, sptr<AVSessionItem>& session)
1720 sptr<AVSessionItem> session = GetContainer().GetSessionById(sessionIdInner);
1864 std::shared_ptr<std::list<sptr<AVSessionItem>>> sessionListForFront = GetCurSessionListForFront();
2059 sptr<AVSessionItem> sessionItem = GetUsersManager().GetContainerFromAll().GetSessionById(sessionId);
2211 sptr <AVSessionItem>& session)
2246 void AVSessionService::GetDeviceInfo(const sptr <AVSessionItem>& session,
2297 sptr<AVSessionItem> session = GetContainer().GetSessionById(token.sessionId);
2309 sptr <AVSessionItem>& session)
2335 const sptr <AVSessionItem>& session)
2386 const sptr <AVSessionItem>& session)
2409 int32_t AVSessionService::CastAudioForNewSession(const sptr<AVSessionItem>& session)
2491 sptr <AVSessionItem> session;
2541 int32_t AVSessionService::CancelCastAudioForClientExit(pid_t pid, const sptr<AVSessionItem>& session)