Lines Matching defs:indicators
74 const struct indicator *indicators; /* Available HFP indicators */
76 int er_ind; /* Event reporting for indicators */
354 static char *indicator_ranges(const struct indicator *indicators)
361 for (i = 0; indicators[i].desc != NULL; i++) {
364 indicators[i].desc,
365 indicators[i].range);
368 indicators[i].desc,
369 indicators[i].range);
377 static char *indicator_values(const struct indicator *indicators)
384 for (i = 0; indicators[i].desc != NULL; i++) {
386 g_string_append_printf(gstr, "%d", indicators[i].val);
388 g_string_append_printf(gstr, ",%d", indicators[i].val);
405 if (ag.indicators == NULL) {
406 error("HFP AG indicators not initialized");
411 str = indicator_ranges(ag.indicators);
413 str = indicator_values(ag.indicators);
2770 ag.indicators[index].val);
2863 const struct indicator *indicators, int rh,
2868 ag.indicators = indicators;