Home | History | Annotate | Download | only in src

Lines Matching full:num_active

120     int                     num_active;
227 btif_hf_cb.num_active = btif_hf_cb.num_held = 0;
761 static bt_status_t cind_response(int svc, int num_active, int num_held,
776 (num_active + num_held) ? 1 : 0, /* Call state */
782 ((num_held == 0) ? 0 : ((num_active == 0) ? 2 : 1))); /* Call held */
907 static bt_status_t phone_state_change(int num_active, int num_held, bthf_call_state_t call_setup_state,
917 BTIF_TRACE_DEBUG6("phone_state_change: num_active=%d [prev: %d] num_held=%d[prev: %d]"\
918 " call_setup=%s [prev: %s]", num_active, btif_hf_cb.num_active,
923 if (num_active == 0 && num_held == 0 && call_setup_state == BTHF_CALL_STATE_IDLE)
928 if ((btif_hf_cb.call_setup_state != BTHF_CALL_STATE_IDLE ) || (btif_hf_cb.num_active) ||(btif_hf_cb.num_held))
953 if ( (num_active == 1) && (btif_hf_cb.num_active == 0) && (btif_hf_cb.num_held == 0) &&
981 if (num_active > btif_hf_cb.num_active)
993 if (num_active > btif_hf_cb.num_active)
1009 if (num_active || num_held)
1050 if ((num_held > 0) && (num_active > 0))
1062 if (!activeCallUpdated && ((num_active + num_held) != (btif_hf_cb.num_active + btif_hf_cb.num_held)) )
1064 BTIF_TRACE_DEBUG3("%s: Active call states changed. old: %d new: %d", __FUNCTION__, btif_hf_cb.num_active, num_active);
1065 send_indicator_update(BTA_AG_IND_CALL, ((num_active + num_held) > 0) ? 1 : 0);
1072 send_indicator_update(BTA_AG_IND_CALLHELD, ((num_held == 0) ? 0 : ((num_active == 0) ? 2 : 1)));
1077 (num_active && num_held) &&
1078 (num_active == btif_hf_cb.num_active) &&
1086 btif_hf_cb.num_active = num_active;