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.cc133 int num_active; member
293 hf_cb->num_active = 0; in clear_phone_state_multihf()
817 static void UpdateCallStates(btif_hf_cb_t* control_block, int num_active, int num_held, in UpdateCallStates() argument
819 control_block->num_active = num_active; in UpdateCallStates()
840 ((btif_hf_cb[i].num_held + btif_hf_cb[i].num_active) > 0)) { in IsCallIdle()
889 bt_status_t CindResponse(int svc, int num_active, int num_held,
898 bt_status_t PhoneStateChange(int num_active, int num_held, bthf_call_state_t call_setup_state,
1139 bt_status_t HeadsetInterface::CindResponse(int svc, int num_active, int num_held, in CindResponse() argument
1157 (num_active + num_held) ? 1 : 0, /* Call state */ in CindResponse()
1163 ((num_held == 0) ? 0 : ((num_active == 0) ? 2 : 1))); /* Call held */ in CindResponse()
[all …]
/packages/modules/Bluetooth/system/include/hardware/
Dbluetooth_headset_interface.h159 virtual bt_status_t CindResponse(int svc, int num_active, int num_held,
220 virtual bt_status_t PhoneStateChange(int num_active, int num_held,
/packages/modules/Bluetooth/system/gd/rust/linux/stack/src/
Dbluetooth_media.rs568 phone_state: PhoneState { num_active: 0, num_held: 0, state: CallState::Idle }, in new()
1533 if self.mps_qualification_enabled && self.phone_state.num_active > 0 { in dispatch_hfp_callbacks()
1624 self.phone_state.num_active = 0; in dispatch_hfp_callbacks()
2064 let call_active = self.phone_state.num_active > 0; in uhid_send_phone_mute_input_report()
2781 if self.phone_state.num_active > 0 { in incoming_call_impl()
2812 self.phone_state.num_active += 1; in answer_call_impl()
2839 CallState::Idle if self.phone_state.num_active > 0 => { in hangup_call_impl()
2840 self.phone_state.num_active -= 1; in hangup_call_impl()
2863 if self.phone_state.num_active > 0 || self.phone_state.state != CallState::Idle { in dialing_call_impl()
2931 self.phone_state.num_active = 0; in release_active_accept_held_impl()
[all …]
/packages/modules/Bluetooth/system/gd/rust/topshim/hfp/
Dhfp_shim.cc318 return intf_->CindResponse(device_status.network_available ? 1 : 0, phone_state.num_active, in indicator_query_response()
352 return intf_->PhoneStateChange(phone_state.num_active, phone_state.num_held, in phone_state_change()
/packages/modules/Bluetooth/android/app/jni/
Dcom_android_bluetooth_hfp.cpp765 static jboolean cindResponseNative(JNIEnv* env, jobject /* object */, jint service, jint num_active, in cindResponseNative() argument
780 service, num_active, num_held, (bluetooth::headset::bthf_call_state_t)call_state, signal, in cindResponseNative()
869 static jboolean phoneStateChangeNative(JNIEnv* env, jobject /* object */, jint num_active, in phoneStateChangeNative() argument
889 num_active, num_held, (bluetooth::headset::bthf_call_state_t)call_state, number, in phoneStateChangeNative()
/packages/modules/Bluetooth/system/gd/rust/topshim/src/profiles/
Dhfp.rs174 num_active: i32, field