Home
last modified time | relevance | path

Searched refs:link_role (Results 1 – 16 of 16) sorted by relevance

/packages/modules/Bluetooth/system/stack/test/
Dstack_acl_test.cc67 const tHCI_ROLE link_role = HCI_ROLE_CENTRAL; in TEST_F() local
69 btm_acl_created(kRawAddress, hci_handle, link_role, transport); in TEST_F()
/packages/modules/Bluetooth/system/stack/acl/
Dbtm_acl.cc218 if (link.link_role != HCI_ROLE_CENTRAL) { in hci_btm_set_link_supervision_timeout()
221 RoleText(link.link_role)); in hci_btm_set_link_supervision_timeout()
410 tHCI_ROLE link_role, tBT_TRANSPORT transport) { in btm_acl_created() argument
414 p_acl->link_role = link_role; in btm_acl_created()
422 hci_handle, RoleText(link_role), bt_transport_text(transport)); in btm_acl_created()
434 p_acl->link_role = link_role; in btm_acl_created()
444 bda, RoleText(p_acl->link_role), hci_handle, in btm_acl_created()
466 link_role == HCI_ROLE_CENTRAL) { in btm_acl_created()
537 *p_role = p_acl->link_role; in BTM_GetRole()
571 if (p_acl->link_role == HCI_ROLE_CENTRAL) { in BTM_SwitchRoleToCentral()
[all …]
Dacl.cc38 link_role = HCI_ROLE_CENTRAL; in Reset()
Dble_acl.cc40 void btm_ble_increment_link_topology_mask(uint8_t link_role);
Dacl.h234 tHCI_ROLE link_role; member
/packages/modules/Bluetooth/system/stack/btm/
Dbtm_ble_int.h51 void btm_ble_update_mode_operation(uint8_t link_role, const RawAddress* bda,
Dbtm_ble_sec.h58 tBTM_BLE_SEC_ACT sec_act, uint8_t link_role);
Dbtm_ble_gap.cc2772 static void btm_ble_update_link_topology_mask(uint8_t link_role, in btm_ble_update_link_topology_mask() argument
2777 btm_cb.ble_ctr_cb.link_count[link_role]++; in btm_ble_update_link_topology_mask()
2778 else if (btm_cb.ble_ctr_cb.link_count[link_role] > 0) in btm_ble_update_link_topology_mask()
2779 btm_cb.ble_ctr_cb.link_count[link_role]--; in btm_ble_update_link_topology_mask()
2787 if (link_role == HCI_ROLE_PERIPHERAL && increase) { in btm_ble_update_link_topology_mask()
2796 void btm_ble_increment_link_topology_mask(uint8_t link_role) { in btm_ble_increment_link_topology_mask() argument
2797 btm_ble_update_link_topology_mask(link_role, true); in btm_ble_increment_link_topology_mask()
2800 void btm_ble_decrement_link_topology_mask(uint8_t link_role) { in btm_ble_decrement_link_topology_mask() argument
2801 btm_ble_update_link_topology_mask(link_role, false); in btm_ble_decrement_link_topology_mask()
Dbtm_ble_sec.cc1124 uint8_t link_role) { in btm_ble_set_encryption() argument
1143 if (link_role == HCI_ROLE_CENTRAL) { in btm_ble_set_encryption()
1163 if (link_role == HCI_ROLE_CENTRAL) { in btm_ble_set_encryption()
/packages/modules/Bluetooth/system/test/mock/
Dmock_stack_btm_ble.h528 uint8_t link_role)>
532 uint8_t link_role) { in operator()
533 return body(bd_addr, sec_act, link_role); in operator()
Dmock_stack_btm_ble.cc302 uint8_t link_role) { in btm_ble_set_encryption() argument
305 link_role); in btm_ble_set_encryption()
Dmock_stack_acl.h783 tHCI_ROLE link_role, tBT_TRANSPORT transport)>
787 tHCI_ROLE link_role, tBT_TRANSPORT transport) { in operator()
788 body(bda, hci_handle, link_role, transport); in operator()
Dmock_stack_acl.cc473 tHCI_ROLE link_role, tBT_TRANSPORT transport) { in btm_acl_created() argument
475 test::mock::stack_acl::btm_acl_created(bda, hci_handle, link_role, transport); in btm_acl_created()
/packages/modules/Bluetooth/system/stack/include/
Dacl_api.h288 tHCI_ROLE link_role, tBT_TRANSPORT transport);
/packages/modules/Bluetooth/system/stack/l2cap/
Dl2c_link.cc57 uint8_t link_role, tBT_TRANSPORT transport);
59 void btm_ble_decrement_link_topology_mask(uint8_t link_role);
/packages/modules/Bluetooth/system/main/shim/
Dacl.cc1317 LOG_DUMPSYS(fd, " role:%s", RoleText(link.link_role).c_str()); in DumpsysAcl()