Lines Matching refs:num_held
121 int num_held;
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]"\
919 num_held, btif_hf_cb.num_held,
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))
936 if (btif_hf_cb.num_held)
953 if ( (num_active == 1) && (btif_hf_cb.num_active == 0) && (btif_hf_cb.num_held == 0) &&
986 else if (num_held > btif_hf_cb.num_held)
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)) )
1065 send_indicator_update(BTA_AG_IND_CALL, ((num_active + num_held) > 0) ? 1 : 0);
1069 if (num_held != btif_hf_cb.num_held)
1071 BTIF_TRACE_DEBUG3("%s: Held call states changed. old: %d new: %d", __FUNCTION__, btif_hf_cb.num_held, num_held);
1072 send_indicator_update(BTA_AG_IND_CALLHELD, ((num_held == 0) ? 0 : ((num_active == 0) ? 2 : 1)));
1077 (num_active && num_held) &&
1079 (num_held == btif_hf_cb.num_held) )
1087 btif_hf_cb.num_held = num_held;