Home
last modified time | relevance | path

Searched refs:PAN_ROLE_CLIENT (Results 1 – 6 of 6) sorted by relevance

/system/bt/stack/pan/
Dpan_api.cc133 if ((!(role & (PAN_ROLE_CLIENT | PAN_ROLE_NAP_SERVER))) && in PAN_SetRole()
175 if (role & PAN_ROLE_CLIENT) { in PAN_SetRole()
191 else if (pan_cb.role & PAN_ROLE_CLIENT) { in PAN_SetRole()
245 if ((src_role != PAN_ROLE_CLIENT && src_role != PAN_ROLE_NAP_SERVER) || in PAN_Connect()
246 (dst_role != PAN_ROLE_CLIENT && dst_role != PAN_ROLE_NAP_SERVER)) { in PAN_Connect()
257 if (src_role == PAN_ROLE_CLIENT) { in PAN_Connect()
271 if (dst_role == PAN_ROLE_CLIENT) { in PAN_Connect()
279 else if (dst_role == PAN_ROLE_CLIENT) { in PAN_Connect()
280 if (pan_cb.num_conns && pan_cb.active_role == PAN_ROLE_CLIENT && !pcb) { in PAN_Connect()
478 if (pan_cb.active_role == PAN_ROLE_CLIENT) { in PAN_WriteBuf()
Dpan_main.cc186 req_role = PAN_ROLE_CLIENT; in pan_conn_ind_cb()
233 pan_cb.active_role == PAN_ROLE_CLIENT)) { in pan_conn_ind_cb()
333 pan_cb.active_role = PAN_ROLE_CLIENT; in pan_connect_state_cb()
338 peer_role = PAN_ROLE_CLIENT; in pan_connect_state_cb()
/system/bt/bta/include/
Dbta_pan_api.h51 #define BTA_PAN_ROLE_PANU PAN_ROLE_CLIENT
/system/bt/stack/include/
Dpan_api.h47 #define PAN_ROLE_CLIENT 0x01 /* PANU role */ macro
/system/bt/bta/pan/
Dbta_pan_act.cc115 if (src_role == PAN_ROLE_CLIENT) in bta_pan_conn_state_cback()
345 if (p_data->api_set_role.role & PAN_ROLE_CLIENT) in bta_pan_set_role()
/system/bt/btif/src/
Dbtif_pan.cc169 if (bta_pan_role & PAN_ROLE_CLIENT) btpan_role |= BTPAN_ROLE_PANU; in bta_role_to_btpan()
177 if (btpan_role & BTPAN_ROLE_PANU) bta_pan_role |= PAN_ROLE_CLIENT; in btpan_role_to_bta()