• Home
  • Raw
  • Download

Lines Matching refs:num_held

164     int                     num_held;  member
304 btif_hf_cb[idx].num_active = btif_hf_cb[idx].num_held = 0; in clear_phone_state_multihf()
502 if ((btif_hf_cb[0].num_held + btif_hf_cb[0].num_active) == 0) in btif_hf_upstreams_evt()
514 if ((btif_hf_cb[0].num_held + btif_hf_cb[0].num_active) == 0) in btif_hf_upstreams_evt()
1087 static bt_status_t cind_response(int svc, int num_active, int num_held, in cind_response() argument
1111 (num_active + num_held) ? 1 : 0, /* Call state */ in cind_response()
1117 ((num_held == 0) ? 0 : ((num_active == 0) ? 2 : 1))); /* Call held */ in cind_response()
1292 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
1316 num_held, btif_hf_cb[idx].num_held, dump_hf_call_state(call_setup_state), in phone_state_change()
1320 if (num_active == 0 && num_held == 0 && call_setup_state == BTHF_CALL_STATE_IDLE) in phone_state_change()
1327 (btif_hf_cb[idx].num_active) ||(btif_hf_cb[idx].num_held)) in phone_state_change()
1336 if (btif_hf_cb[idx].num_held) in phone_state_change()
1353 …if ( ((num_active + num_held) > 0) && (btif_hf_cb[idx].num_active == 0) && (btif_hf_cb[idx].num_he… in phone_state_change()
1393 else if (num_held > btif_hf_cb[idx].num_held) in phone_state_change()
1416 if (num_active || num_held) in phone_state_change()
1434 if (!(num_active + num_held)) in phone_state_change()
1441 !(num_active + num_held)) in phone_state_change()
1459 if ((num_held > 0) && (num_active > 0)) in phone_state_change()
1471 if (!activeCallUpdated && ((num_active + num_held) != in phone_state_change()
1472 (btif_hf_cb[idx].num_active + btif_hf_cb[idx].num_held)) ) in phone_state_change()
1475 send_indicator_update(BTA_AG_IND_CALL, ((num_active + num_held) > 0) ? 1 : 0); in phone_state_change()
1479 if (num_held != btif_hf_cb[idx].num_held || in phone_state_change()
1480 ((num_active == 0) && ((num_held + btif_hf_cb[idx].num_held) > 1))) in phone_state_change()
1483 __FUNCTION__, btif_hf_cb[idx].num_held, num_held); in phone_state_change()
1484 … send_indicator_update(BTA_AG_IND_CALLHELD, ((num_held == 0) ? 0 : ((num_active == 0) ? 2 : 1))); in phone_state_change()
1489 (num_active && num_held) && in phone_state_change()
1491 (num_held == btif_hf_cb[idx].num_held) ) in phone_state_change()
1501 btif_hf_cb[i].num_held = num_held; in phone_state_change()
1524 || ((btif_hf_cb[i].num_held + btif_hf_cb[i].num_active) > 0)) in btif_hf_is_call_idle()