Lines Matching refs:sptr
155 sptr<IRemoteObject> CreateSessionInner(const std::string& tag, int32_t type,
159 sptr<IRemoteObject>& object) override;
172 int32_t CreateControllerInner(const std::string& sessionId, sptr<IRemoteObject>& object) override;
177 int32_t GetAVCastControllerInner(const std::string& sessionId, sptr<IRemoteObject>& object) override;
180 int32_t RegisterSessionListener(const sptr<ISessionListener>& listener) override;
182 int32_t RegisterSessionListenerForAllUsers(const sptr<ISessionListener>& listener) override;
188 int32_t RegisterClientDeathObserver(const sptr<IClientDeath>& observer) override;
197 __attribute__((no_sanitize("cfi"))) int32_t MirrorToStreamCast(sptr<AVSessionItem>& session);
273 sptr<AVControllerItem> GetPresentController(pid_t pid, const std::string& sessionId);
282 void AddClientDeathObserver(pid_t pid, const sptr<IClientDeath>& observer,
283 const sptr<ClientDeathRecipient> recipient);
286 void AddSessionListener(pid_t pid, const sptr<ISessionListener>& listener);
287 void AddSessionListenerForAllUsers(pid_t pid, const sptr<ISessionListener>& listener);
293 sptr<AVSessionItem> SelectSessionByUid(const AudioStandard::AudioRendererChangeInfo& info);
297 sptr<AVSessionItem> CreateSessionInner(const std::string& tag, int32_t type, bool thirdPartyApp,
301 const AppExecFwk::ElementName& elementName, sptr<AVSessionItem>& sessionItem);
305 void ServiceCallback(sptr<AVSessionItem>& sessionItem);
307 sptr<AVSessionItem> CreateNewSession(const std::string& tag, int32_t type, bool thirdPartyApp,
310 sptr<AVControllerItem> CreateNewControllerForSession(pid_t pid, sptr<AVSessionItem>& session);
312 int32_t CancelCastAudioForClientExit(pid_t pid, const sptr<AVSessionItem>& session);
336 void RefreshFocusSessionSort(sptr<AVSessionItem> &session);
338 void UpdateTopSession(const sptr<AVSessionItem>& newTopSession);
349 sptr<AVSessionItem>& session);
353 const sptr<AVSessionItem>& session);
357 const sptr<AVSessionItem>& session);
366 int32_t CastAudioForNewSession(const sptr<AVSessionItem>& session);
379 sptr<AVSessionItem>& session);
384 bool GetAudioDescriptorByDeviceId(const std::vector<sptr<AudioStandard::AudioDeviceDescriptor>>& descriptors,
388 void GetDeviceInfo(const sptr<AVSessionItem>& session,
435 void UpdateFrontSession(sptr<AVSessionItem>& sessionItem, bool isAdd);
448 void ReportSessionInfo(const sptr <AVSessionItem>& session, int res);
457 std::shared_ptr<std::list<sptr<AVSessionItem>>> GetCurSessionListForFront();
461 sptr<AVSessionItem> topSession_;
462 std::map<pid_t, std::list<sptr<AVControllerItem>>> controllers_;
463 std::map<pid_t, sptr<IClientDeath>> clientDeathObservers_;
464 std::map<pid_t, sptr<ClientDeathRecipient>> clientDeathRecipients_;