Lines Matching refs:suspend

55 /* Should not need dedicated suspend state as actual actions are no
57 media task from trying to restart stream during remote suspend or while
58 we are in the process of a local suspend */
658 /* immediately flush any pending tx frames while suspend is pending */
718 BTIF_TRACE_EVENT("%s: Resetting remote suspend flag on RC PLAY", __FUNCTION__);
749 * then suspend. In case a2dp is sink and call is active
756 BTIF_TRACE_EVENT("%s: trigger suspend as remote initiated!!", __FUNCTION__);
882 /* we are again in started state, clear any remote suspend flags */
910 /* fixme -- use suspend = true always to work around issue with BTA AV */
915 stream while suspend is in progress */
918 /* if we were remotely suspended but suspend locally, local suspend
924 /* immediately stop transmission of frames while suspend is pending */
954 p_av->suspend.status, p_av->suspend.initiator);
957 btif_a2dp_on_suspended(&p_av->suspend);
960 if (p_av->suspend.status != BTA_AV_SUCCESS)
966 /* suspend failed, reset back tx flush state */
972 if (p_av->suspend.initiator != TRUE)
974 /* remote suspend, notify HAL and await audioflinger to
975 suspend/stop stream */
977 /* set remote suspend flag to block media task from restarting
978 stream only if we did not already initiate a local suspend */
991 /* suspend completed and state changed, clear pending status */
998 btif_a2dp_on_stopped(&p_av->suspend);
1003 if (p_av->suspend.status == BTA_AV_SUCCESS)
1543 * auto-suspend av streaming on AG events(SCO or Call). The suspend shall
1583 * auto-suspend av streaming on AG events(SCO or Call). The suspend shall