Lines Matching refs:BtifA2dpSource
169 class BtifA2dpSource { class
178 BtifA2dpSource() in BtifA2dpSource() function in BtifA2dpSource
198 BtifA2dpSource::RunState State() const { return state_; } in State()
212 void SetState(BtifA2dpSource::RunState state) { state_ = state; } in SetState()
223 BtifA2dpSource::RunState state_;
228 static BtifA2dpSource btif_a2dp_source_cb;
337 if (btif_a2dp_source_cb.State() != BtifA2dpSource::kStateOff) { in btif_a2dp_source_startup()
343 btif_a2dp_source_cb.SetState(BtifA2dpSource::kStateStartingUp); in btif_a2dp_source_startup()
367 btif_a2dp_source_cb.SetState(BtifA2dpSource::kStateRunning); in btif_a2dp_source_startup_delayed()
393 if (btif_a2dp_source_cb.State() != BtifA2dpSource::kStateRunning) { in btif_a2dp_source_start_session_delayed()
460 if ((btif_a2dp_source_cb.State() == BtifA2dpSource::kStateRunning) || in btif_a2dp_source_end_session_delayed()
461 (btif_a2dp_source_cb.State() == BtifA2dpSource::kStateShuttingDown)) { in btif_a2dp_source_end_session_delayed()
482 if ((btif_a2dp_source_cb.State() == BtifA2dpSource::kStateOff) || in btif_a2dp_source_shutdown()
483 (btif_a2dp_source_cb.State() == BtifA2dpSource::kStateShuttingDown)) { in btif_a2dp_source_shutdown()
488 btif_a2dp_source_cb.SetState(BtifA2dpSource::kStateShuttingDown); in btif_a2dp_source_shutdown()
512 btif_a2dp_source_cb.SetState(BtifA2dpSource::kStateOff); in btif_a2dp_source_shutdown_delayed()
536 return (btif_a2dp_source_cb.State() == BtifA2dpSource::kStateRunning); in btif_a2dp_source_media_task_is_running()
540 return (btif_a2dp_source_cb.State() == BtifA2dpSource::kStateShuttingDown); in btif_a2dp_source_media_task_is_shutting_down()
663 if (btif_a2dp_source_cb.State() == BtifA2dpSource::kStateOff) return; in btif_a2dp_source_on_idle()
673 if (btif_a2dp_source_cb.State() == BtifA2dpSource::kStateOff) return; in btif_a2dp_source_on_stopped()
710 if (btif_a2dp_source_cb.State() == BtifA2dpSource::kStateOff) return; in btif_a2dp_source_on_suspended()