Searched refs:aafc_session_id_t (Results 1 – 5 of 5) sorted by relevance
55 aafc_session_id_t AcquireFocus(aafc_audio_focus_request_t&& request);57 void ReleaseFocus(aafc_session_id_t session_id);71 aafc_session_id_t session_id;77 static aafc_session_id_t GetNewUniqueSessionID();85 std::set<aafc_session_id_t> mActiveSessions;87 std::vector<aafc_session_id_t> mSessionsReleaseRequests;151 aafc_session_id_t AudioFocusControllerImpl::GetNewUniqueSessionID() { in GetNewUniqueSessionID()160 aafc_session_id_t session_id = AAFC_SESSION_ID_INVALID; in GetNewUniqueSessionID()170 aafc_session_id_t AudioFocusControllerImpl::AcquireFocus(aafc_audio_focus_request_t&& request) { in AcquireFocus()208 void AudioFocusControllerImpl::ReleaseFocus(aafc_session_id_t session_id) { in ReleaseFocus()[all …]
25 typedef uint64_t aafc_session_id_t; typedef34 #define AAFC_SESSION_ID_INVALID ((aafc_session_id_t)0)
51 aafc_session_id_t aafc_acquire_audio_focus(aafc_audio_focus_request_t);56 void aafc_release_audio_focus(aafc_session_id_t session_id);
81 void HandleHeartbeat(aafc_session_id_t session,87 void HandleReleasing(aafc_session_id_t release_session);105 using session_pool_t = std::map<aafc_session_id_t, AudioFocusSession>;229 void AudioControlServerImpl::HandleHeartbeat(aafc_session_id_t session, in HandleHeartbeat()275 void AudioControlServerImpl::HandleReleasing(aafc_session_id_t release_session) { in HandleReleasing()341 std::array<aafc_session_id_t, max_timeout_session_num> timeout_sessions; in CheckSessionHeartbeats()
51 aafc_session_id_t session() const { return mSession; } in session()60 explicit AudioSession(aafc_session_id_t id);62 aafc_session_id_t mSession;