Home
last modified time | relevance | path

Searched refs:num_active (Results 1 – 2 of 2) sorted by relevance

/external/bluetooth/bluedroid/btif/src/
Dbtif_hf.c120 int num_active; 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
918 " call_setup=%s [prev: %s]", num_active, btif_hf_cb.num_active, in phone_state_change()
923 if (num_active == 0 && num_held == 0 && call_setup_state == BTHF_CALL_STATE_IDLE) in phone_state_change()
928 …if ((btif_hf_cb.call_setup_state != BTHF_CALL_STATE_IDLE ) || (btif_hf_cb.num_active) ||(btif_hf_c… 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()
[all …]
/external/chromium/third_party/libevent/test/
Dbench.c63 static int num_pipes, num_active, num_writes; variable
98 space = num_pipes / num_active; in run_once()
100 for (i = 0; i < num_active; i++, fired++) in run_once()
132 num_active = 1;
140 num_active = atoi(optarg);