/system/bt/stack/acl/ |
D | ble_acl.cc | 38 uint16_t handle, tHCI_ROLE role, in acl_ble_common_connection() argument 43 if (role == HCI_ROLE_CENTRAL) { in acl_ble_common_connection() 53 role, address_with_type.type, is_in_security_db); in acl_ble_common_connection() 56 btm_ble_increment_link_topology_mask(role); in acl_ble_common_connection() 59 if (!l2cble_conn_comp(handle, role, address_with_type.bda, in acl_ble_common_connection() 70 btm_acl_created(address_with_type.bda, handle, role, BT_TRANSPORT_LE); in acl_ble_common_connection() 76 uint16_t handle, tHCI_ROLE role, bool match, in acl_ble_connection_complete() argument 79 if (!acl_ble_common_connection(address_with_type, handle, role, match, in acl_ble_connection_complete() 85 btm_ble_update_mode_operation(role, &address_with_type.bda, HCI_SUCCESS); in acl_ble_connection_complete() 87 if (role == HCI_ROLE_PERIPHERAL) in acl_ble_connection_complete() [all …]
|
/system/bt/types/ |
D | hci_role.h | 28 inline std::string hci_role_text(const tHCI_ROLE& role) { in hci_role_text() argument 29 switch (role) { in hci_role_text() 39 inline tHCI_ROLE to_hci_role(const uint8_t& role) { in to_hci_role() argument 40 if (role == 0) in to_hci_role() 42 else if (role == 1) in to_hci_role()
|
/system/bt/stack/pan/ |
D | pan_api.cc | 121 tPAN_RESULT PAN_SetRole(uint8_t role, const char* p_user_name, in PAN_SetRole() argument 124 if (role == PAN_ROLE_INACTIVE) { in PAN_SetRole() 126 pan_cb.role = role; in PAN_SetRole() 133 if ((!(role & (PAN_ROLE_CLIENT | PAN_ROLE_NAP_SERVER))) && in PAN_SetRole() 134 role != PAN_ROLE_INACTIVE) { in PAN_SetRole() 135 PAN_TRACE_ERROR("PAN role %d is invalid", role); in PAN_SetRole() 140 if (pan_cb.role == role) { in PAN_SetRole() 141 PAN_TRACE_EVENT("PAN role already was set to: %d", role); in PAN_SetRole() 146 PAN_TRACE_API("PAN_SetRole() called with role 0x%x", role); in PAN_SetRole() 148 if (role & PAN_ROLE_NAP_SERVER) { in PAN_SetRole() [all …]
|
/system/bt/bta/pan/ |
D | bta_pan_api.cc | 99 void BTA_PanSetRole(tBTA_PAN_ROLE role, tBTA_PAN_ROLE_INFO* p_user_info, in BTA_PanSetRole() argument 105 p_buf->role = role; in BTA_PanSetRole() 107 if (role & BTA_PAN_ROLE_PANU) { in BTA_PanSetRole() 114 if (role & BTA_PAN_ROLE_NAP) { in BTA_PanSetRole() 175 void BTA_PanSetRole(UNUSED_ATTR tBTA_PAN_ROLE role, in BTA_PanSetRole() argument
|
/system/bt/stack/include/ |
D | ble_acl_interface.h | 23 uint16_t handle, tHCI_ROLE role, bool match, 27 const tBLE_BD_ADDR& address_with_type, uint16_t handle, tHCI_ROLE role, 32 const tBLE_BD_ADDR& address_with_type, uint16_t handle, tHCI_ROLE role,
|
D | l2cap_hci_link_interface.h | 30 extern bool l2cble_conn_comp(uint16_t handle, uint8_t role, 36 uint16_t handle, uint8_t role, const tBLE_BD_ADDR& address_with_type,
|
D | avct_api.h | 117 uint8_t role; /* Initiator/acceptor role */ member 209 extern uint16_t AVCT_CreateBrowse(uint8_t handle, uint8_t role);
|
/system/bt/test/mock/ |
D | mock_stack_acl_ble.cc | 45 uint16_t handle, tHCI_ROLE role, bool match, in acl_ble_connection_complete() argument 56 const tBLE_BD_ADDR& address_with_type, uint16_t handle, tHCI_ROLE role, in acl_ble_enhanced_connection_complete() argument 63 const tBLE_BD_ADDR& address_with_type, uint16_t handle, tHCI_ROLE role, in acl_ble_enhanced_connection_complete_from_shim() argument
|
D | mock_bta_jv_api.cc | 86 tBTA_JV_STATUS BTA_JvRfcommConnect(tBTA_SEC sec_mask, tBTA_JV_ROLE role, in BTA_JvRfcommConnect() argument 94 tBTA_JV_STATUS BTA_JvRfcommStartServer(tBTA_SEC sec_mask, tBTA_JV_ROLE role, in BTA_JvRfcommStartServer() argument 130 void BTA_JvL2capConnect(int conn_type, tBTA_SEC sec_mask, tBTA_JV_ROLE role, in BTA_JvL2capConnect() argument 139 void BTA_JvL2capStartServer(int conn_type, tBTA_SEC sec_mask, tBTA_JV_ROLE role, in BTA_JvL2capStartServer() argument
|
D | mock_stack_l2cap_ble.h | 105 std::function<bool(uint16_t handle, uint8_t role, const RawAddress& bda, 108 body{[](uint16_t handle, uint8_t role, const RawAddress& bda, 111 bool operator()(uint16_t handle, uint8_t role, const RawAddress& bda, in operator() 114 return body(handle, role, bda, type, conn_interval, conn_latency, in operator() 125 uint16_t handle, uint8_t role, const tBLE_BD_ADDR& address_with_type, 127 body{[](uint16_t handle, uint8_t role, 130 bool operator()(uint16_t handle, uint8_t role, in operator() 133 return body(handle, role, address_with_type, conn_interval, conn_latency, in operator()
|
/system/bt/stack/smp/ |
D | smp_br_main.cc | 316 if (p_cb->role > HCI_ROLE_PERIPHERAL) { in smp_br_state_machine_event() 317 SMP_TRACE_ERROR("%s: invalid role %d", __func__, p_cb->role); in smp_br_state_machine_event() 322 tSMP_BR_ENTRY_TBL entry_table = smp_br_entry_table[p_cb->role]; in smp_br_state_machine_event() 326 (p_cb->role == HCI_ROLE_PERIPHERAL) ? "Peripheral" : "Central", in smp_br_state_machine_event() 340 state_table = smp_br_state_table[curr_state][p_cb->role]; in smp_br_state_machine_event()
|
D | smp_act.cc | 69 __func__, p_cb->role, recv, p_cb->local_i_key, p_cb->local_r_key); in smp_update_key_mask() 78 } else if (p_cb->role == HCI_ROLE_PERIPHERAL) { in smp_update_key_mask() 528 if (p_dev_rec && (p_cb->role == HCI_ROLE_PERIPHERAL)) in smp_proc_pair_cmd() 558 if (p_cb->role == HCI_ROLE_PERIPHERAL) { in smp_proc_pair_cmd() 807 p_cb->role == HCI_ROLE_PERIPHERAL) { in smp_br_process_pairing_command() 815 if (p_dev_rec && (p_cb->role == HCI_ROLE_PERIPHERAL)) in smp_br_process_pairing_command() 848 if (p_cb->role == HCI_ROLE_PERIPHERAL) { in smp_br_process_pairing_command() 895 if (p_cb->role == HCI_ROLE_CENTRAL) { in smp_br_check_authorization_request() 916 if (p_cb->role == HCI_ROLE_CENTRAL && p_cb->local_r_key == 0) in smp_br_check_authorization_request() 932 p_cb->role, p_cb->local_r_key, p_cb->local_i_key); in smp_br_select_next_key() [all …]
|
/system/bt/stack/avct/ |
D | avct_api.cc | 125 AVCT_TRACE_API("AVCT_CreateConn: %d, control:%d", p_cc->role, p_cc->control); in AVCT_CreateConn() 136 if (p_cc->role == AVCT_INT) { in AVCT_CreateConn() 220 uint16_t AVCT_CreateBrowse(uint8_t handle, uint8_t role) { in AVCT_CreateBrowse() argument 226 AVCT_TRACE_API("AVCT_CreateBrowse: %d", role); in AVCT_CreateBrowse() 240 if (role == AVCT_INT) { in AVCT_CreateBrowse()
|
/system/bt/bta/include/ |
D | bta_pan_api.h | 65 tBTA_PAN_ROLE role; /* PAN roles successfully registered */ member 146 void BTA_PanSetRole(tBTA_PAN_ROLE role, tBTA_PAN_ROLE_INFO* p_user_info,
|
D | bta_api.h | 132 inline tBTA_PREF_ROLES toBTA_PREF_ROLES(uint8_t role) { in toBTA_PREF_ROLES() argument 133 ASSERT_LOG(role <= BTA_PERIPHERAL_ROLE_ONLY, in toBTA_PREF_ROLES() 134 "Passing illegal preferred role:0x%02x [0x%02x<=>0x%02x]", role, in toBTA_PREF_ROLES() 136 return static_cast<tBTA_PREF_ROLES>(role); in toBTA_PREF_ROLES() 143 inline std::string preferred_role_text(const tBTA_PREF_ROLES& role) { in preferred_role_text() argument 144 switch (role) { in preferred_role_text() 150 return std::string("UNKNOWN:%hhu", role); in preferred_role_text()
|
/system/media/tests/ |
D | systemaudio_tests.cpp | 49 .id = 1, .role = AUDIO_PORT_ROLE_SOURCE, .type = AUDIO_PORT_TYPE_DEVICE }; in TEST() 53 .id = 2, .role = AUDIO_PORT_ROLE_SINK, .type = AUDIO_PORT_TYPE_DEVICE }; in TEST() 66 .id = 1, .role = AUDIO_PORT_ROLE_SOURCE, .type = AUDIO_PORT_TYPE_DEVICE }; in TEST() 74 .id = 1, .role = AUDIO_PORT_ROLE_SINK, .type = AUDIO_PORT_TYPE_DEVICE }; in TEST() 82 .id = 1, .role = AUDIO_PORT_ROLE_SINK, .type = AUDIO_PORT_TYPE_MIX }; in TEST() 90 .id = 1, .role = AUDIO_PORT_ROLE_SOURCE, .type = AUDIO_PORT_TYPE_MIX }; in TEST() 103 .id = 1, .role = AUDIO_PORT_ROLE_SOURCE, .type = AUDIO_PORT_TYPE_DEVICE }; in TEST() 105 .id = 2, .role = AUDIO_PORT_ROLE_SINK, .type = AUDIO_PORT_TYPE_DEVICE }; in TEST() 351 port->role = std::get<0>(GetParam()); in fillFakeAudioPortBaseInfo() 364 port->ext.device.type = port->role == AUDIO_PORT_ROLE_SINK ? mOutputDeviceType in fillFakeAudioPortBaseInfo() [all …]
|
/system/sepolicy/prebuilts/api/26.0/private/ |
D | roles_decl | 1 role r;
|
/system/sepolicy/prebuilts/api/29.0/private/ |
D | roles_decl | 1 role r;
|
/system/sepolicy/private/ |
D | roles_decl | 1 role r;
|
/system/sepolicy/prebuilts/api/30.0/private/ |
D | roles_decl | 1 role r;
|
/system/sepolicy/reqd_mask/ |
D | roles_decl | 1 role r;
|
/system/sepolicy/prebuilts/api/28.0/private/ |
D | roles_decl | 1 role r;
|
/system/sepolicy/prebuilts/api/31.0/private/ |
D | roles_decl | 1 role r;
|
/system/sepolicy/prebuilts/api/27.0/private/ |
D | roles_decl | 1 role r;
|
/system/sepolicy/prebuilts/api/29.0/public/ |
D | roles | 1 role r types domain;
|