Lines Matching refs:ag_res
265 tBTA_AG_RES_DATA ag_res; in send_at_result() local
266 memset (&ag_res, 0, sizeof (ag_res)); in send_at_result()
268 ag_res.ok_flag = ok_flag; in send_at_result()
271 ag_res.errcode = errcode; in send_at_result()
274 BTA_AgResult (btif_hf_cb[idx].handle, BTA_AG_UNAT_RES, &ag_res); in send_at_result()
288 tBTA_AG_RES_DATA ag_res; in send_indicator_update() local
290 memset(&ag_res, 0, sizeof(tBTA_AG_RES_DATA)); in send_indicator_update()
291 ag_res.ind.id = indicator; in send_indicator_update()
292 ag_res.ind.value = value; in send_indicator_update()
294 BTA_AgResult(BTA_AG_HANDLE_ALL, BTA_AG_IND_RES, &ag_res); in send_indicator_update()
900 tBTA_AG_RES_DATA ag_res; in start_voice_recognition() local
901 memset(&ag_res, 0, sizeof(ag_res)); in start_voice_recognition()
902 ag_res.state = 1; in start_voice_recognition()
903 BTA_AgResult (btif_hf_cb[idx].handle, BTA_AG_BVRA_RES, &ag_res); in start_voice_recognition()
941 tBTA_AG_RES_DATA ag_res; in stop_voice_recognition() local
942 memset(&ag_res, 0, sizeof(ag_res)); in stop_voice_recognition()
943 ag_res.state = 0; in stop_voice_recognition()
944 BTA_AgResult (btif_hf_cb[idx].handle, BTA_AG_BVRA_RES, &ag_res); in stop_voice_recognition()
979 tBTA_AG_RES_DATA ag_res; in volume_control() local
980 memset(&ag_res, 0, sizeof(tBTA_AG_RES_DATA)); in volume_control()
983 ag_res.num = volume; in volume_control()
986 &ag_res); in volume_control()
1047 tBTA_AG_RES_DATA ag_res; in cops_response() local
1050 sprintf (ag_res.str, "0,0,\"%.16s\"", cops); in cops_response()
1051 ag_res.ok_flag = BTA_AG_OK_DONE; in cops_response()
1053 BTA_AgResult (btif_hf_cb[idx].handle, BTA_AG_COPS_RES, &ag_res); in cops_response()
1085 tBTA_AG_RES_DATA ag_res; in cind_response() local
1087 memset (&ag_res, 0, sizeof (ag_res)); in cind_response()
1091 sprintf (ag_res.str, "%d,%d,%d,%d,%d,%d,%d", in cind_response()
1100 BTA_AgResult (btif_hf_cb[idx].handle, BTA_AG_CIND_RES, &ag_res); in cind_response()
1120 tBTA_AG_RES_DATA ag_res; in formatted_at_response() local
1132 memset (&ag_res, 0, sizeof (ag_res)); in formatted_at_response()
1133 strncpy(ag_res.str, rsp, BTA_AG_AT_MAX_LEN); in formatted_at_response()
1134 BTA_AgResult (btif_hf_cb[idx].handle, BTA_AG_UNAT_RES, &ag_res); in formatted_at_response()
1202 tBTA_AG_RES_DATA ag_res; in clcc_response() local
1205 memset (&ag_res, 0, sizeof (ag_res)); in clcc_response()
1210 ag_res.ok_flag = BTA_AG_OK_DONE; in clcc_response()
1216 xx = sprintf (ag_res.str, "%d,%d,%d,%d,%d", in clcc_response()
1222 sprintf (&ag_res.str[xx], ",\"+%s\",%d", number, type); in clcc_response()
1224 sprintf (&ag_res.str[xx], ",\"%s\",%d", number, type); in clcc_response()
1227 BTA_AgResult (btif_hf_cb[idx].handle, BTA_AG_CLCC_RES, &ag_res); in clcc_response()
1250 tBTA_AG_RES_DATA ag_res; in phone_state_change() local
1313 memset(&ag_res, 0, sizeof(tBTA_AG_RES_DATA)); in phone_state_change()
1314 ag_res.audio_handle = btif_hf_cb[idx].handle; in phone_state_change()
1323 BTA_AgResult(BTA_AG_HANDLE_ALL, res, &ag_res); in phone_state_change()
1333 memset(&ag_res, 0, sizeof(tBTA_AG_RES_DATA)); in phone_state_change()
1345 ag_res.audio_handle = btif_hf_cb[idx].handle; in phone_state_change()
1356 ag_res.audio_handle = BTA_AG_HANDLE_SCO_NO_CHANGE; in phone_state_change()
1378 xx = sprintf (ag_res.str, "\"+%s\"", number); in phone_state_change()
1380 xx = sprintf (ag_res.str, "\"%s\"", number); in phone_state_change()
1381 ag_res.num = type; in phone_state_change()
1384 sprintf(&ag_res.str[xx], ",%d", type); in phone_state_change()
1389 ag_res.audio_handle = btif_hf_cb[idx].handle; in phone_state_change()
1396 ag_res.audio_handle = btif_hf_cb[idx].handle; in phone_state_change()
1404 …G("%s: Call setup state changed. res=%d, audio_handle=%d", __FUNCTION__, res, ag_res.audio_handle); in phone_state_change()
1407 BTA_AgResult(BTA_AG_HANDLE_ALL, res, &ag_res); in phone_state_change()
1419 memset(&ag_res, 0, sizeof(tBTA_AG_RES_DATA)); in phone_state_change()