Lines Matching refs:sptr
106 void OnResponse(int32_t notificationId, sptr<Notification::NotificationButtonOption> buttonOption) {}
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()
850 sptr<AVControllerItem> AVSessionService::GetPresentController(pid_t pid, const std::string& sessionId)
868 std::map<pid_t, sptr<ISessionListener>> listenerMap = GetUsersManager().GetSessionListener();
875 std::map<pid_t, sptr<ISessionListener>> listenerMapForAll = GetUsersManager().GetSessionListenerForAllUsers();
896 std::map<pid_t, sptr<ISessionListener>> listenerMap = GetUsersManager().GetSessionListener();
902 std::map<pid_t, sptr<ISessionListener>> listenerMapForAll = GetUsersManager().GetSessionListenerForAllUsers();
922 std::map<pid_t, sptr<ISessionListener>> listenerMap = GetUsersManager().GetSessionListener();
929 std::map<pid_t, sptr<ISessionListener>> listenerMapForAll = GetUsersManager().GetSessionListenerForAllUsers();
951 std::map<pid_t, sptr<ISessionListener>> listenerMap = GetUsersManager().GetSessionListener();
958 std::map<pid_t, sptr<ISessionListener>> listenerMapForAll = GetUsersManager().GetSessionListenerForAllUsers();
995 void AVSessionService::ServiceCallback(sptr<AVSessionItem>& sessionItem)
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)
1176 sptr<IRemoteObject>& object)
1178 sptr<AVSessionItem> session;
1213 sptr <IRemoteObject> AVSessionService::CreateSessionInner(const std::string& tag, int32_t type,
1216 sptr<IRemoteObject> object;
1273 std::shared_ptr<std::list<sptr<AVSessionItem>>> sessionListForFront = GetCurSessionListForFront();
1290 sptr<AVSessionItem> session = GetContainer().GetSessionById(sessionId);
1516 sptr<AVControllerItem> AVSessionService::CreateNewControllerForSession(pid_t pid, sptr<AVSessionItem>& session)
1520 sptr<AVControllerItem> result = new(std::nothrow) AVControllerItem(pid, session, session->GetUserId());
1691 int32_t AVSessionService::CreateControllerInner(const std::string& sessionId, sptr<IRemoteObject>& object)
1720 sptr<AVSessionItem> session = GetContainer().GetSessionById(sessionIdInner);
1725 sptr<AVControllerItem> newController = CreateNewControllerForSession(pid, session);
1738 void AVSessionService::AddSessionListener(pid_t pid, const sptr<ISessionListener>& listener)
1744 void AVSessionService::AddSessionListenerForAllUsers(pid_t pid, const sptr<ISessionListener>& listener)
1756 int32_t AVSessionService::RegisterSessionListener(const sptr<ISessionListener>& listener)
1763 int32_t AVSessionService::RegisterSessionListenerForAllUsers(const sptr<ISessionListener>& listener)
1864 std::shared_ptr<std::list<sptr<AVSessionItem>>> sessionListForFront = GetCurSessionListForFront();
1880 sptr<IRemoteObject> object;
1906 void AVSessionService::AddClientDeathObserver(pid_t pid, const sptr<IClientDeath>& observer,
1907 const sptr<ClientDeathRecipient> recipient)
1930 int32_t AVSessionService::RegisterClientDeathObserver(const sptr<IClientDeath>& observer)
1934 sptr<ClientDeathRecipient> recipient =
2059 sptr<AVSessionItem> sessionItem = GetUsersManager().GetContainerFromAll().GetSessionById(sessionId);
2211 sptr <AVSessionItem>& session)
2232 bool AVSessionService::GetAudioDescriptorByDeviceId(const std::vector<sptr<AudioStandard::AudioDeviceDescriptor>>&
2246 void AVSessionService::GetDeviceInfo(const sptr <AVSessionItem>& session,
2270 sptr <AudioStandard::AudioRendererFilter> audioFilter = new(std::nothrow) AudioRendererFilter();
2276 std::vector<sptr<AudioDeviceDescriptor>> audioDescriptor;
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)