Lines Matching refs:bt_hf_callbacks

123 static bthf_callbacks_t *bt_hf_callbacks = NULL;  variable
126 #define CHECK_BTHF_INIT() if (bt_hf_callbacks == NULL)\
136 #define CHECK_BTHF_SLC_CONNECTED() if (bt_hf_callbacks == NULL)\
347 if (bt_hf_callbacks == NULL) in btif_hf_check_if_slc_connected()
435 HAL_CBACK(bt_hf_callbacks, connection_state_cb, btif_hf_cb[idx].state, in btif_hf_upstreams_evt()
451 HAL_CBACK(bt_hf_callbacks, connection_state_cb, btif_hf_cb[idx].state, in btif_hf_upstreams_evt()
472 HAL_CBACK(bt_hf_callbacks, connection_state_cb, btif_hf_cb[idx].state, in btif_hf_upstreams_evt()
479 HAL_CBACK(bt_hf_callbacks, audio_state_cb, BTHF_AUDIO_STATE_CONNECTED, in btif_hf_upstreams_evt()
484 HAL_CBACK(bt_hf_callbacks, audio_state_cb, BTHF_AUDIO_STATE_DISCONNECTED, in btif_hf_upstreams_evt()
491 HAL_CBACK(bt_hf_callbacks, volume_cmd_cb, in btif_hf_upstreams_evt()
503 HAL_CBACK(bt_hf_callbacks, answer_call_cmd_cb, in btif_hf_upstreams_evt()
515 HAL_CBACK(bt_hf_callbacks, dial_call_cmd_cb, in btif_hf_upstreams_evt()
521 HAL_CBACK(bt_hf_callbacks, hangup_call_cmd_cb, in btif_hf_upstreams_evt()
526 HAL_CBACK(bt_hf_callbacks, cind_cmd_cb, in btif_hf_upstreams_evt()
531 HAL_CBACK(bt_hf_callbacks, dtmf_cmd_cb, p_data->val.str[0], in btif_hf_upstreams_evt()
536 HAL_CBACK(bt_hf_callbacks, vr_cmd_cb, in btif_hf_upstreams_evt()
542 HAL_CBACK(bt_hf_callbacks, nrec_cmd_cb, in btif_hf_upstreams_evt()
552 HAL_CBACK(bt_hf_callbacks, key_pressed_cmd_cb, in btif_hf_upstreams_evt()
561 { HAL_CBACK(bt_hf_callbacks, wbs_cb, BTHF_WBS_NO, &btif_hf_cb[idx].connected_bda);} in btif_hf_upstreams_evt()
563 {HAL_CBACK(bt_hf_callbacks, wbs_cb, BTHF_WBS_YES, &btif_hf_cb[idx].connected_bda);} in btif_hf_upstreams_evt()
565 {HAL_CBACK(bt_hf_callbacks, wbs_cb, BTHF_WBS_NONE, &btif_hf_cb[idx].connected_bda);} in btif_hf_upstreams_evt()
570 HAL_CBACK(bt_hf_callbacks, chld_cmd_cb, atoi(p_data->val.str), in btif_hf_upstreams_evt()
575 HAL_CBACK(bt_hf_callbacks, clcc_cmd_cb, in btif_hf_upstreams_evt()
580 HAL_CBACK(bt_hf_callbacks, cops_cmd_cb, in btif_hf_upstreams_evt()
585 HAL_CBACK(bt_hf_callbacks, unknown_at_cmd_cb, p_data->val.str, in btif_hf_upstreams_evt()
590 HAL_CBACK(bt_hf_callbacks, cnum_cmd_cb, in btif_hf_upstreams_evt()
620 HAL_CBACK(bt_hf_callbacks, wbs_cb,(p_data->val.num == BTA_AG_CODEC_MSBC) ? \ in btif_hf_upstreams_evt()
689 HAL_CBACK(bt_hf_callbacks, audio_state_cb, BTHF_AUDIO_STATE_CONNECTING, in btif_in_hf_generic_evt()
714 bt_hf_callbacks = callbacks; in init()
1472 if (bt_hf_callbacks == NULL) in btif_hf_is_call_idle()
1524 if (bt_hf_callbacks) in cleanup()
1527 bt_hf_callbacks = NULL; in cleanup()