Home | History | Annotate | Download | only in src

Lines Matching full:num_held

157     int                     num_held;
298 btif_hf_cb[idx].num_active = btif_hf_cb[idx].num_held = 0;
492 if ((btif_hf_cb[0].num_held + btif_hf_cb[0].num_active) == 0)
504 if ((btif_hf_cb[0].num_held + btif_hf_cb[0].num_active) == 0)
1015 static bt_status_t cind_response(int svc, int num_active, int num_held,
1033 (num_active + num_held) ? 1 : 0, /* Call state */
1039 ((num_held == 0) ? 0 : ((num_active == 0) ? 2 : 1))); /* Call held */
1170 static bt_status_t phone_state_change(int num_active, int num_held, bthf_call_state_t call_setup_state,
1192 BTIF_TRACE_DEBUG("phone_state_change: num_active=%d [prev: %d] num_held=%d[prev: %d]"
1194 num_held, btif_hf_cb[idx].num_held, dump_hf_call_state(call_setup_state),
1198 if (num_active == 0 && num_held == 0 && call_setup_state == BTHF_CALL_STATE_IDLE)
1205 (btif_hf_cb[idx].num_active) ||(btif_hf_cb[idx].num_held))
1214 if (btif_hf_cb[idx].num_held)
1231 if ( (num_active == 1) && (btif_hf_cb[idx].num_active == 0) && (btif_hf_cb[idx].num_held == 0)
1264 else if (num_held > btif_hf_cb[idx].num_held)
1287 if (num_active || num_held)
1328 if ((num_held > 0) && (num_active > 0))
1340 if (!activeCallUpdated && ((num_active + num_held) !=
1341 (btif_hf_cb[idx].num_active + btif_hf_cb[idx].num_held)) )
1344 send_indicator_update(BTA_AG_IND_CALL, ((num_active + num_held) > 0) ? 1 : 0);
1348 if (num_held != btif_hf_cb[idx].num_held)
1351 __FUNCTION__, btif_hf_cb[idx].num_held, num_held);
1352 send_indicator_update(BTA_AG_IND_CALLHELD, ((num_held == 0) ? 0 : ((num_active == 0) ? 2 : 1)));
1357 (num_active && num_held) &&
1359 (num_held == btif_hf_cb[idx].num_held) )
1369 btif_hf_cb[i].num_held = num_held;