Lines Matching refs:num_active

159     int                     num_active;  member
300 btif_hf_cb[idx].num_active = btif_hf_cb[idx].num_held = 0; in clear_phone_state_multihf()
498 if ((btif_hf_cb[0].num_held + btif_hf_cb[0].num_active) == 0) in btif_hf_upstreams_evt()
510 if ((btif_hf_cb[0].num_held + btif_hf_cb[0].num_active) == 0) in btif_hf_upstreams_evt()
1068 static bt_status_t cind_response(int svc, int num_active, int num_held, in cind_response() argument
1092 (num_active + num_held) ? 1 : 0, /* Call state */ in cind_response()
1098 ((num_held == 0) ? 0 : ((num_active == 0) ? 2 : 1))); /* Call held */ in cind_response()
1246 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
1269 " call_setup=%s [prev: %s]", num_active, btif_hf_cb[idx].num_active, in phone_state_change()
1274 if (num_active == 0 && num_held == 0 && call_setup_state == BTHF_CALL_STATE_IDLE) in phone_state_change()
1281 (btif_hf_cb[idx].num_active) ||(btif_hf_cb[idx].num_held)) in phone_state_change()
1307 …if ( ((num_active + num_held) > 0) && (btif_hf_cb[idx].num_active == 0) && (btif_hf_cb[idx].num_he… in phone_state_change()
1342 if (num_active > btif_hf_cb[idx].num_active) in phone_state_change()
1354 if (num_active > btif_hf_cb[idx].num_active) in phone_state_change()
1370 if (num_active || num_held) in phone_state_change()
1388 if (!(num_active + num_held)) in phone_state_change()
1395 !(num_active + num_held)) in phone_state_change()
1413 if ((num_held > 0) && (num_active > 0)) in phone_state_change()
1425 if (!activeCallUpdated && ((num_active + num_held) != in phone_state_change()
1426 (btif_hf_cb[idx].num_active + btif_hf_cb[idx].num_held)) ) in phone_state_change()
1428 …ctive call states changed. old: %d new: %d", __FUNCTION__, btif_hf_cb[idx].num_active, num_active); in phone_state_change()
1429 send_indicator_update(BTA_AG_IND_CALL, ((num_active + num_held) > 0) ? 1 : 0); in phone_state_change()
1434 ((num_active == 0) && ((num_held + btif_hf_cb[idx].num_held) > 1))) in phone_state_change()
1438 … send_indicator_update(BTA_AG_IND_CALLHELD, ((num_held == 0) ? 0 : ((num_active == 0) ? 2 : 1))); in phone_state_change()
1443 (num_active && num_held) && in phone_state_change()
1444 (num_active == btif_hf_cb[idx].num_active) && in phone_state_change()
1454 btif_hf_cb[i].num_active = num_active; in phone_state_change()
1478 || ((btif_hf_cb[i].num_held + btif_hf_cb[i].num_active) > 0)) in btif_hf_is_call_idle()