Searched defs:role (Results 1 - 25 of 29) sorted by relevance

12

/system/bt/bta/pan/
H A Dbta_pan_api.c107 void BTA_PanSetRole(tBTA_PAN_ROLE role, tBTA_PAN_ROLE_INFO *p_user_info, tBTA_PAN_ROLE_INFO *p_gn_info, argument
116 p_buf->role = role;
118 if(p_user_info && (role & BTA_PAN_ROLE_PANU))
130 if(p_gn_info && (role & BTA_PAN_ROLE_GN))
143 if(p_nap_info && (role & BTA_PAN_ROLE_NAP))
223 void BTA_PanSetRole(tBTA_PAN_ROLE role, tBTA_PAN_ROLE_INFO *p_user_info, tBTA_PAN_ROLE_INFO *p_gn_info, argument
226 UNUSED(role);
H A Dbta_pan_int.h88 tBTA_PAN_ROLE role; member in struct:__anon545
103 tBTA_PAN_ROLE local_role; /* local role */
104 tBTA_PAN_ROLE peer_role; /* peer role */
148 tBTA_PAN_ROLE local_role; /* local role */
149 tBTA_PAN_ROLE peer_role; /* peer role */
/system/bt/stack/avct/
H A Davct_api.c123 ** the p_cc->role parameter. When this function is called to
139 AVCT_TRACE_API("AVCT_CreateConn: %d, control:%d", p_cc->role, p_cc->control);
152 if (p_cc->role == AVCT_INT)
227 ** the role parameter. When this function is called to
237 UINT16 AVCT_CreateBrowse (UINT8 handle, UINT8 role) argument
245 AVCT_TRACE_API("AVCT_CreateBrowse: %d", role);
262 if (role == AVCT_INT)
296 UNUSED(role);
/system/bt/bta/include/
H A Dbta_pan_api.h62 char *p_srv_name; /* service name for the PAN role */
64 tBTA_SEC sec_mask; /* security setting for the role */
72 tBTA_PAN_STATUS status; /* status of set role event */
73 tBTA_PAN_ROLE role; /* PAN roles successfully registered */ member in struct:__anon496
91 tBTA_PAN_ROLE local_role; /* Local device PAN role for the connection */
92 tBTA_PAN_ROLE peer_role; /* Peer device PAN role for the connection */
163 void BTA_PanSetRole(tBTA_PAN_ROLE role, tBTA_PAN_ROLE_INFO *p_user_info, tBTA_PAN_ROLE_INFO *p_gn_info,
/system/bt/stack/avdt/
H A Davdt_ad.c386 /* use err_param to indicate the role of connection.
537 void avdt_ad_open_req(UINT8 type, tAVDT_CCB *p_ccb, tAVDT_SCB *p_scb, UINT8 role) argument
550 AVDT_TRACE_DEBUG("avdt_ad_open_req: type: %d, role: %d, tcid:%d",
551 type, role, p_tbl->tcid);
573 if (role == AVDT_ACP)
H A Davdt_scb_act.c55 ** role when the stream is closed.
91 p_scb->role = AVDT_CLOSE_ACP;
124 p_scb->role = AVDT_CLOSE_ACP;
226 p_scb->role = AVDT_OPEN_INT;
1026 if ((p_scb->role == AVDT_CLOSE_INT) || (p_scb->role == AVDT_OPEN_INT))
1031 event = (p_scb->role == AVDT_CLOSE_INT) ? AVDT_CLOSE_CFM_EVT : AVDT_CLOSE_IND_EVT;
1032 p_scb->role = AVDT_CLOSE_ACP;
1153 UINT8 role; local
1159 event = (p_scb->role
[all...]
/system/bt/stack/include/
H A Davct_api.h66 /* Connection role. */
70 /* Control role. */
116 UINT8 role; /* Initiator/acceptor role */ member in struct:__anon890
117 UINT8 control; /* Control role (Control/Target) */
166 ** the p_cc->role parameter. When this function is called to
200 ** the p_cc->role parameter. When this function is called to
210 extern UINT16 AVCT_CreateBrowse(UINT8 handle, UINT8 role);
/system/bt/stack/pan/
H A Dpan_api.c46 ** should set the PAN role explicitly.
115 ** profile role. This should be called after PAN_Register.
116 ** This can be called any time to change the PAN role
118 ** Parameters: role - is bit map of roles to be active
119 ** PAN_ROLE_CLIENT is for PANU role
120 ** PAN_ROLE_GN_SERVER is for GN role
121 ** PAN_ROLE_NAP_SERVER is for NAP role
125 ** p_user_name - Service name for PANU role
126 ** p_gn_name - Service name for GN role
127 ** p_nap_name - Service name for NAP role
134 PAN_SetRole(UINT8 role, UINT8 *sec_mask, char *p_user_name, char *p_gn_name, char *p_nap_name) argument
[all...]
H A Dpan_int.h31 ** This role is used to shutdown the profile. Used internally
72 UINT8 role; member in struct:__anon1244
/system/bt/bta/jv/
H A Dbta_jv_api.c332 tBTA_JV_STATUS BTA_JvL2capConnectLE(tBTA_SEC sec_mask, tBTA_JV_ROLE role, argument
348 p_msg->role = role;
388 tBTA_JV_STATUS BTA_JvL2capConnect(tBTA_SEC sec_mask, tBTA_JV_ROLE role, argument
403 p_msg->role = role;
501 tBTA_JV_STATUS BTA_JvL2capStartServer(tBTA_SEC sec_mask, tBTA_JV_ROLE role, argument
515 p_msg->role = role;
553 tBTA_JV_STATUS BTA_JvL2capStartServerLE(tBTA_SEC sec_mask, tBTA_JV_ROLE role, argument
863 BTA_JvRfcommConnect(tBTA_SEC sec_mask, tBTA_JV_ROLE role, UINT8 remote_scn, BD_ADDR peer_bd_addr, tBTA_JV_RFCOMM_CBACK *p_cback, void* user_data) argument
937 BTA_JvRfcommStartServer(tBTA_SEC sec_mask, tBTA_JV_ROLE role, UINT8 local_scn, UINT8 max_session, tBTA_JV_RFCOMM_CBACK *p_cback, void* user_data) argument
[all...]
H A Dbta_jv_int.h168 tBTA_JV_ROLE role; member in struct:__anon514
188 tBTA_JV_ROLE role; member in struct:__anon516
252 tBTA_JV_ROLE role; member in struct:__anon522
264 tBTA_JV_ROLE role; member in struct:__anon523
/system/bt/stack/l2cap/
H A Dl2c_ble.c170 L2CAP_TRACE_WARNING ("%s - BD_ADDR %08x%04x not LE (link role %d)", __FUNCTION__,
191 ** Description This function returns the connection role.
193 ** Returns link role.
198 UINT8 role = HCI_ROLE_UNKNOWN; local
203 role = p_lcb->link_role;
205 return role;
454 void l2cble_conn_comp(UINT16 handle, UINT8 role, BD_ADDR bda, tBLE_ADDR_TYPE type, argument
457 btm_ble_update_link_topology_mask(role, TRUE);
459 if (role == HCI_ROLE_MASTER)
/system/bt/bta/av/
H A Dbta_av_main.c60 /* the delay time in milliseconds to retry role switch */
444 if (/*((p_scb && (p_scb->role & BTA_AV_ROLE_AD_ACP)) ||
458 APPL_TRACE_DEBUG("scb hndl x%x, role x%x", p_scb->hndl, p_scb->role);
723 /* if the AV and AVK are both supported, it cannot support the CT role */
871 ((0 == (p_scb->role & BTA_AV_ROLE_AD_ACP)) || /* Outgoing connection or */
930 ** Description Receives the role change event from dm
947 /* loop through all the SCBs to find matching peer addresses and report the role change event */
970 /* restore role switch policy, if role switc
1075 UINT8 role; local
1123 UINT8 role; local
[all...]
H A Dbta_av_aact.c317 /* if start failed, clear role */
318 p_scb->role &= ~BTA_AV_ROLE_START_INT;
346 (p_scb->use_rc == TRUE || (p_scb->role & BTA_AV_ROLE_AD_ACP)) )
770 ** Description Switch role was not started and a timer was started.
771 ** another attempt to switch role now - still opening.
825 ** Description Handle the role changed event
837 APPL_TRACE_DEBUG("bta_av_role_res q_tag:%d, wait:x%x, role:x%x", p_scb->q_tag, p_scb->wait, p_scb->role);
838 if (p_scb->role & BTA_AV_ROLE_START_INT)
848 p_scb->role
1057 UINT8 role = BTA_AV_ROLE_AD_INT; local
[all...]
H A Dbta_av_act.c302 UINT8 bta_av_rc_create(tBTA_AV_CB *p_cb, UINT8 role, UINT8 shdl, UINT8 lidx) argument
312 if(role == AVCT_INT)
329 ccb.conn = role;
357 APPL_TRACE_DEBUG("create %d, role: %d, shdl:%d, rc_handle:%d, lidx:%d, status:0x%x",
358 i, role, shdl, p_rcb->handle, lidx, p_rcb->status);
1339 * restore the switch role in default link policy */
1341 /* allow role switch, if this is the last connection */
1739 /* check peer version and whether support CT and TG role */
1743 /* if we support advance control and peer does not, check their support on TG role
H A Dbta_av_int.h219 BTA_AV_RS_OK, /* the role switch result - successful */
220 BTA_AV_RS_FAIL, /* the role switch result - failed */
221 BTA_AV_RS_DONE /* the role switch is done - continue */
392 /* initiator/acceptor role for adaption */
442 tBTA_AV_API_OPEN open; /* used only before open and role switch
452 #define BTA_AV_WAIT_ROLE_SW_RES_OPEN 0x04 /* waiting for role switch result after API_OPEN, before STR_OPENED */
453 #define BTA_AV_WAIT_ROLE_SW_RES_START 0x08 /* waiting for role switch result before streaming */
454 #define BTA_AV_WAIT_ROLE_SW_STARTED 0x10 /* started while waiting for role switch result */
456 #define BTA_AV_WAIT_CHECK_RC 0x40 /* set when the timer is used by role switch */
457 #define BTA_AV_WAIT_ROLE_SW_FAILED 0x80 /* role switc
502 UINT8 role; member in struct:__anon62
[all...]
/system/bt/bta/gatt/
H A Dbta_gattc_utils.c756 BOOLEAN bta_gattc_check_bg_conn (tBTA_GATTC_IF client_if, BD_ADDR remote_bda, UINT8 role) argument
769 role == HCI_ROLE_MASTER)
773 role == HCI_ROLE_SLAVE)
920 if (p_msg->int_conn.role == HCI_ROLE_SLAVE)
929 if (/*p_msg->int_conn.role == HCI_ROLE_SLAVE || */
932 p_msg->int_conn.role))
H A Dbta_gattc_int.h205 UINT8 role; member in struct:__anon162
240 /* if peripheral role is supported */
527 extern BOOLEAN bta_gattc_check_bg_conn (tBTA_GATTC_IF client_if, BD_ADDR remote_bda, UINT8 role);
/system/bt/bta/hf_client/
H A Dbta_hf_client_int.h35 /* profile role for connection */
152 UINT8 role; /* initiator/acceptor role */ member in struct:__anon205
/system/bt/btif/src/
H A Dbtif_sock_rfc.c87 int role; member in struct:__anon688
237 accept_rs->role = srv_rs->role;
330 tBTA_JV_STATUS ret = BTA_JvRfcommConnect(slot->security, slot->role, slot->scn, slot->addr.address, rfcomm_cback, (void *)(uintptr_t)slot->id);
636 BTA_JvRfcommStartServer(rs->security, rs->role, rs->scn, MAX_RFC_SESSION,
659 BTA_JvRfcommStartServer(slot->security, slot->role, slot->scn, MAX_RFC_SESSION, rfcomm_cback, (void *)(uintptr_t)slot->id);
675 if (BTA_JvRfcommConnect(slot->security, slot->role, p_data->disc_comp.scn, slot->addr.address, rfcomm_cback, (void *)(uintptr_t)slot->id) == BTA_JV_SUCCESS) {
/system/bt/bta/ag/
H A Dbta_ag_int.h70 /* profile role for connection */
290 UINT8 role; /* initiator/acceptor role */ member in struct:__anon27
/system/bt/stack/btu/
H A Dbtu_hcif.c1231 UINT8 role; local
1235 STREAM_TO_UINT8 (role, p);
1237 l2c_link_role_changed (bda, role, status);
1238 btm_acl_role_changed(status, bda, role);
/system/bt/stack/hcic/
H A Dhcicmds.c235 BOOLEAN btsnd_hcic_accept_conn (BD_ADDR dest, UINT8 role) argument
251 UINT8_TO_STREAM (pp, role);
846 BOOLEAN btsnd_hcic_switch_role (BD_ADDR bd_addr, UINT8 role) argument
863 UINT8_TO_STREAM (pp, role);
/system/bt/stack/btm/
H A Dbtm_ble.c1308 /* if salve role then fall through to call SMP_Pair below which will send a
1691 UINT8 role, bda_type; local
1699 STREAM_TO_UINT8 (role, p);
1731 btm_ble_connected(bda, handle, HCI_ENCRYPT_MODE_DISABLED, role, bda_type, match);
1733 l2cble_conn_comp (handle, role, bda, bda_type, conn_interval,
1750 void btm_ble_connected (UINT8 *bda, UINT16 handle, UINT8 enc_mode, UINT8 role, argument
1798 if (role == HCI_ROLE_MASTER)
1825 UINT8 role, status, bda_type; local
1834 STREAM_TO_UINT8 (role, p);
1851 slave role whil
[all...]
/system/bt/stack/smp/
H A Dsmp_int.h283 UINT8 role; member in struct:__anon1282

Completed in 335 milliseconds

12