• Home
  • Raw
  • Download

Lines Matching refs:num_held

121     int                     num_held;  member
227 btif_hf_cb.num_active = btif_hf_cb.num_held = 0; in clear_phone_state()
761 static bt_status_t cind_response(int svc, int num_active, int num_held, in cind_response() argument
776 (num_active + num_held) ? 1 : 0, /* Call state */ in cind_response()
782 ((num_held == 0) ? 0 : ((num_active == 0) ? 2 : 1))); /* Call held */ in cind_response()
907 static bt_status_t phone_state_change(int num_active, int num_held, bthf_call_state_t call_setup_st… in phone_state_change() argument
919 num_held, btif_hf_cb.num_held, in phone_state_change()
923 if (num_active == 0 && num_held == 0 && call_setup_state == BTHF_CALL_STATE_IDLE) in phone_state_change()
928 …f_cb.call_setup_state != BTHF_CALL_STATE_IDLE ) || (btif_hf_cb.num_active) ||(btif_hf_cb.num_held)) in phone_state_change()
936 if (btif_hf_cb.num_held) in phone_state_change()
953 if ( (num_active == 1) && (btif_hf_cb.num_active == 0) && (btif_hf_cb.num_held == 0) && in phone_state_change()
986 else if (num_held > btif_hf_cb.num_held) in phone_state_change()
1009 if (num_active || num_held) in phone_state_change()
1050 if ((num_held > 0) && (num_active > 0)) in phone_state_change()
1062 …if (!activeCallUpdated && ((num_active + num_held) != (btif_hf_cb.num_active + btif_hf_cb.num_held in phone_state_change()
1065 send_indicator_update(BTA_AG_IND_CALL, ((num_active + num_held) > 0) ? 1 : 0); in phone_state_change()
1069 if (num_held != btif_hf_cb.num_held) in phone_state_change()
1071 …BUG3("%s: Held call states changed. old: %d new: %d", __FUNCTION__, btif_hf_cb.num_held, num_held); in phone_state_change()
1072 … send_indicator_update(BTA_AG_IND_CALLHELD, ((num_held == 0) ? 0 : ((num_active == 0) ? 2 : 1))); in phone_state_change()
1077 (num_active && num_held) && in phone_state_change()
1079 (num_held == btif_hf_cb.num_held) ) in phone_state_change()
1087 btif_hf_cb.num_held = num_held; in phone_state_change()