Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/btif/src/
Dbtif_hf.cc113 int num_active; member
268 hf_cb->num_active = 0; in clear_phone_state_multihf()
802 static void UpdateCallStates(btif_hf_cb_t* control_block, int num_active, in UpdateCallStates() argument
804 control_block->num_active = num_active; in UpdateCallStates()
823 ((btif_hf_cb[i].num_held + btif_hf_cb[i].num_active) > 0)) in IsCallIdle()
853 bt_status_t CindResponse(int svc, int num_active, int num_held,
866 bt_status_t PhoneStateChange(int num_active, int num_held,
1112 bt_status_t HeadsetInterface::CindResponse(int svc, int num_active, in CindResponse() argument
1132 (num_active + num_held) ? 1 : 0, /* Call state */ in CindResponse()
1138 ((num_held == 0) ? 0 : ((num_active == 0) ? 2 : 1))); /* Call held */ in CindResponse()
[all …]
/packages/modules/Bluetooth/system/include/hardware/
Dbluetooth_headset_interface.h162 virtual bt_status_t CindResponse(int svc, int num_active, int num_held,
225 virtual bt_status_t PhoneStateChange(int num_active, int num_held,
/packages/modules/Bluetooth/system/gd/rust/linux/stack/src/
Dbluetooth_media.rs541 phone_state: PhoneState { num_active: 0, num_held: 0, state: CallState::Idle }, in new()
1446 if self.mps_qualification_enabled && self.phone_state.num_active > 0 { in dispatch_hfp_callbacks()
1509 self.phone_state.num_active = 0; in dispatch_hfp_callbacks()
1976 let call_active = self.phone_state.num_active > 0; in uhid_send_phone_mute_input_report()
2732 if self.phone_state.num_active > 0 { in incoming_call_impl()
2763 self.phone_state.num_active += 1; in answer_call_impl()
2790 CallState::Idle if self.phone_state.num_active > 0 => { in hangup_call_impl()
2791 self.phone_state.num_active -= 1; in hangup_call_impl()
2814 if self.phone_state.num_active > 0 || self.phone_state.state != CallState::Idle { in dialing_call_impl()
2882 self.phone_state.num_active = 0; in release_active_accept_held_impl()
[all …]
/packages/modules/Bluetooth/system/gd/rust/topshim/hfp/
Dhfp_shim.cc361 phone_state.num_active, in indicator_query_response()
402 phone_state.num_active, in phone_state_change()
/packages/modules/Bluetooth/android/app/jni/
Dcom_android_bluetooth_hfp.cpp748 jint service, jint num_active, jint num_held, in cindResponseNative() argument
763 service, num_active, num_held, in cindResponseNative()
862 jint num_active, jint num_held, in phoneStateChangeNative() argument
883 num_active, num_held, (bluetooth::headset::bthf_call_state_t)call_state, in phoneStateChangeNative()
/packages/modules/Bluetooth/system/gd/rust/topshim/src/profiles/
Dhfp.rs173 num_active: i32, field