Home | History | Annotate | Download | only in src

Lines Matching full:suspend

58 /* Should not need dedicated suspend state as actual actions are no
59 different than open state. Suspend flags are needed however to prevent
60 media task from trying to restart stream during remote suspend or while
61 we are in the process of a local suspend */
412 /* immediately flush any pending tx frames while suspend is pending */
465 BTIF_TRACE_EVENT1("%s: Resetting remote suspend flag on RC PLAY", __FUNCTION__);
584 /* we are again in started state, clear any remote suspend flags */
599 /* fixme -- use suspend = true always to work around issue with BTA AV */
604 stream while suspend is in progress */
607 /* if we were remotely suspended but suspend locally, local suspend
611 /* immediately stop transmission of frames while suspend is pending */
633 p_av->suspend.status, p_av->suspend.initiator);
636 btif_a2dp_on_suspended(&p_av->suspend);
639 if (p_av->suspend.status != BTA_AV_SUCCESS)
643 /* suspend failed, reset back tx flush state */
648 if (p_av->suspend.initiator != TRUE)
650 /* remote suspend, notify HAL and await audioflinger to
651 suspend/stop stream */
653 /* set remote suspend flag to block media task from restarting
654 stream only if we did not already initiate a local suspend */
669 /* suspend completed and state changed, clear pending status */
677 btif_a2dp_on_stopped(&p_av->suspend);
683 if (p_av->suspend.status == BTA_AV_SUCCESS)
974 * auto-suspend av streaming on AG events(SCO or Call). The suspend shall