Lines Matching full:ag_res
264 tBTA_AG_RES_DATA ag_res;
265 memset (&ag_res, 0, sizeof (ag_res));
267 ag_res.ok_flag = ok_flag;
270 ag_res.errcode = errcode;
273 BTA_AgResult (btif_hf_cb[idx].handle, BTA_AG_UNAT_RES, &ag_res);
287 tBTA_AG_RES_DATA ag_res;
289 memset(&ag_res, 0, sizeof(tBTA_AG_RES_DATA));
290 ag_res.ind.id = indicator;
291 ag_res.ind.value = value;
293 BTA_AgResult(BTA_AG_HANDLE_ALL, BTA_AG_IND_RES, &ag_res);
906 tBTA_AG_RES_DATA ag_res;
907 memset(&ag_res, 0, sizeof(ag_res));
908 ag_res.state = 1;
909 BTA_AgResult (btif_hf_cb[idx].handle, BTA_AG_BVRA_RES, &ag_res);
947 tBTA_AG_RES_DATA ag_res;
948 memset(&ag_res, 0, sizeof(ag_res));
949 ag_res.state = 0;
950 BTA_AgResult (btif_hf_cb[idx].handle, BTA_AG_BVRA_RES, &ag_res);
985 tBTA_AG_RES_DATA ag_res;
986 memset(&ag_res, 0, sizeof(tBTA_AG_RES_DATA));
989 ag_res.num = volume;
992 &ag_res);
1053 tBTA_AG_RES_DATA ag_res;
1056 sprintf (ag_res.str, "0,0,\"%s\"", cops);
1057 ag_res.ok_flag = BTA_AG_OK_DONE;
1059 BTA_AgResult (btif_hf_cb[idx].handle, BTA_AG_COPS_RES, &ag_res);
1091 tBTA_AG_RES_DATA ag_res;
1093 memset (&ag_res, 0, sizeof (ag_res));
1097 sprintf (ag_res.str, "%d,%d,%d,%d,%d,%d,%d",
1106 BTA_AgResult (btif_hf_cb[idx].handle, BTA_AG_CIND_RES, &ag_res);
1126 tBTA_AG_RES_DATA ag_res;
1138 memset (&ag_res, 0, sizeof (ag_res));
1139 strncpy(ag_res.str, rsp, BTA_AG_AT_MAX_LEN);
1140 BTA_AgResult (btif_hf_cb[idx].handle, BTA_AG_UNAT_RES, &ag_res);
1209 tBTA_AG_RES_DATA ag_res;
1212 memset (&ag_res, 0, sizeof (ag_res));
1217 ag_res.ok_flag = BTA_AG_OK_DONE;
1223 xx = sprintf (ag_res.str, "%d,%d,%d,%d,%d",
1229 sprintf (&ag_res.str[xx], ",\"+%s\",%d", number, type);
1231 sprintf (&ag_res.str[xx], ",\"%s\",%d", number, type);
1234 BTA_AgResult (btif_hf_cb[idx].handle, BTA_AG_CLCC_RES, &ag_res);
1257 tBTA_AG_RES_DATA ag_res;
1320 memset(&ag_res, 0, sizeof(tBTA_AG_RES_DATA));
1321 ag_res.audio_handle = btif_hf_cb[idx].handle;
1330 BTA_AgResult(BTA_AG_HANDLE_ALL, res, &ag_res);
1340 memset(&ag_res, 0, sizeof(tBTA_AG_RES_DATA));
1352 ag_res.audio_handle = btif_hf_cb[idx].handle;
1363 ag_res.audio_handle = BTA_AG_HANDLE_SCO_NO_CHANGE;
1385 xx = sprintf (ag_res.str, "\"+%s\"", number);
1387 xx = sprintf (ag_res.str, "\"%s\"", number);
1388 ag_res.num = type;
1391 sprintf(&ag_res.str[xx], ",%d", type);
1396 ag_res.audio_handle = btif_hf_cb[idx].handle;
1403 ag_res.audio_handle = btif_hf_cb[idx].handle;
1411 BTIF_TRACE_DEBUG("%s: Call setup state changed. res=%d, audio_handle=%d", __FUNCTION__, res, ag_res.audio_handle);
1414 BTA_AgResult(BTA_AG_HANDLE_ALL, res, &ag_res);
1426 memset(&ag_res, 0, sizeof(tBTA_AG_RES_DATA));