Lines Matching refs:BtifA2dpSource
172 class BtifA2dpSource { class
181 BtifA2dpSource() in BtifA2dpSource() function in BtifA2dpSource
201 BtifA2dpSource::RunState State() const { return state_; } in State()
215 void SetState(BtifA2dpSource::RunState state) { state_ = state; } in SetState()
226 BtifA2dpSource::RunState state_;
231 static BtifA2dpSource btif_a2dp_source_cb;
342 if (btif_a2dp_source_cb.State() != BtifA2dpSource::kStateOff) { in btif_a2dp_source_startup()
348 btif_a2dp_source_cb.SetState(BtifA2dpSource::kStateStartingUp); in btif_a2dp_source_startup()
372 btif_a2dp_source_cb.SetState(BtifA2dpSource::kStateRunning); in btif_a2dp_source_startup_delayed()
398 if (btif_a2dp_source_cb.State() != BtifA2dpSource::kStateRunning) { in btif_a2dp_source_start_session_delayed()
465 if ((btif_a2dp_source_cb.State() == BtifA2dpSource::kStateRunning) || in btif_a2dp_source_end_session_delayed()
466 (btif_a2dp_source_cb.State() == BtifA2dpSource::kStateShuttingDown)) { in btif_a2dp_source_end_session_delayed()
487 if ((btif_a2dp_source_cb.State() == BtifA2dpSource::kStateOff) || in btif_a2dp_source_shutdown()
488 (btif_a2dp_source_cb.State() == BtifA2dpSource::kStateShuttingDown)) { in btif_a2dp_source_shutdown()
493 btif_a2dp_source_cb.SetState(BtifA2dpSource::kStateShuttingDown); in btif_a2dp_source_shutdown()
517 btif_a2dp_source_cb.SetState(BtifA2dpSource::kStateOff); in btif_a2dp_source_shutdown_delayed()
539 return (btif_a2dp_source_cb.State() == BtifA2dpSource::kStateRunning); in btif_a2dp_source_media_task_is_running()
543 return (btif_a2dp_source_cb.State() == BtifA2dpSource::kStateShuttingDown); in btif_a2dp_source_media_task_is_shutting_down()
692 if (btif_a2dp_source_cb.State() == BtifA2dpSource::kStateOff) return; in btif_a2dp_source_on_idle()
701 if (btif_a2dp_source_cb.State() == BtifA2dpSource::kStateOff) return; in btif_a2dp_source_on_stopped()
735 if (btif_a2dp_source_cb.State() == BtifA2dpSource::kStateOff) return; in btif_a2dp_source_on_suspended()