Home
last modified time | relevance | path

Searched refs:HCI_ENABLE_MASTER_SLAVE_SWITCH (Results 1 – 10 of 10) sorted by relevance

/system/bt/bta/av/
Dbta_av_main.c919 … bta_sys_set_policy(BTA_ID_AV, HCI_ENABLE_MASTER_SLAVE_SWITCH, p_cb->p_scb[i]->peer_addr); in bta_av_restore_switch()
975 bta_sys_set_policy(BTA_ID_AV, HCI_ENABLE_MASTER_SLAVE_SWITCH, peer_addr); in bta_av_sys_rs_cback()
1094 … bta_sys_clear_policy(BTA_ID_AV, HCI_ENABLE_MASTER_SLAVE_SWITCH, p_scbi->peer_addr); in bta_av_switch_if_needed()
1134 bta_sys_clear_policy(BTA_ID_AV, HCI_ENABLE_MASTER_SLAVE_SWITCH, p_scb->peer_addr); in bta_av_link_role_ok()
Dbta_av_aact.c999 bta_sys_clear_default_policy(BTA_ID_AV, HCI_ENABLE_MASTER_SLAVE_SWITCH); in bta_av_do_disc_a2d()
2011 policy |= HCI_ENABLE_MASTER_SLAVE_SWITCH; in bta_av_do_start()
2059 policy |= HCI_ENABLE_MASTER_SLAVE_SWITCH; in bta_av_str_stopped()
2446 policy |= HCI_ENABLE_MASTER_SLAVE_SWITCH; in bta_av_start_ok()
2503 …bta_sys_set_policy(BTA_ID_AV, (HCI_ENABLE_SNIFF_MODE|HCI_ENABLE_MASTER_SLAVE_SWITCH), p_scb->peer_… in bta_av_start_failed()
2524 policy |= HCI_ENABLE_MASTER_SLAVE_SWITCH; in bta_av_str_closed()
2650 policy |= HCI_ENABLE_MASTER_SLAVE_SWITCH; in bta_av_suspend_cfm()
Dbta_av_act.c1340 bta_sys_set_default_policy(BTA_ID_AV, HCI_ENABLE_MASTER_SLAVE_SWITCH); in bta_av_conn_chg()
/system/bt/stack/btm/
Dbtm_devctl.c376 btm_cb.btm_def_link_policy |= HCI_ENABLE_MASTER_SLAVE_SWITCH; in btm_decode_ext_features_page()
378 btm_cb.btm_def_link_policy &= ~HCI_ENABLE_MASTER_SLAVE_SWITCH; in btm_decode_ext_features_page()
Dbtm_acl.c824 … if ( (*settings & HCI_ENABLE_MASTER_SLAVE_SWITCH) && (!HCI_SWITCH_SUPPORTED(localFeatures)) ) in BTM_SetLinkPolicy()
826 *settings &= (~HCI_ENABLE_MASTER_SLAVE_SWITCH); in BTM_SetLinkPolicy()
869 if((settings & HCI_ENABLE_MASTER_SLAVE_SWITCH) && (!HCI_SWITCH_SUPPORTED(localFeatures))) in BTM_SetDefaultLinkPolicy()
871 settings &= ~HCI_ENABLE_MASTER_SLAVE_SWITCH; in BTM_SetDefaultLinkPolicy()
/system/bt/bta/dm/
Dbta_dm_cfg.c34 #define BTA_DM_LINK_POLICY_SETTINGS (HCI_ENABLE_MASTER_SLAVE_SWITCH | HCI_ENABLE_HOLD_MODE | HCI…
Dbta_dm_pm.c1199 (HCI_ENABLE_MASTER_SLAVE_SWITCH | in bta_dm_pm_set_sniff_policy()
Dbta_dm_act.c1030 bta_dm_cb.cur_policy |= HCI_ENABLE_MASTER_SLAVE_SWITCH; in bta_dm_policy_cback()
1038 bta_dm_cb.cur_policy &= ~HCI_ENABLE_MASTER_SLAVE_SWITCH; in bta_dm_policy_cback()
3240 … bta_dm_policy_cback(BTA_SYS_PLCY_CLR, 0, HCI_ENABLE_MASTER_SLAVE_SWITCH, p_dev->peer_bdaddr); in bta_dm_check_av()
3308 … bta_dm_policy_cback(BTA_SYS_PLCY_CLR, 0, HCI_ENABLE_MASTER_SLAVE_SWITCH, p_dev->peer_bdaddr); in bta_dm_acl_change()
/system/bt/bta/include/
Dbta_api.h1172 #define BTA_DM_LP_SWITCH HCI_ENABLE_MASTER_SLAVE_SWITCH
/system/bt/stack/include/
Dhcidefs.h1116 #define HCI_ENABLE_MASTER_SLAVE_SWITCH 0x0001 macro