Home
last modified time | relevance | path

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

/system/bt/btif/src/
Dbtif_pan.cc182 static inline int bta_role_to_btpan(int bta_pan_role) { in bta_role_to_btpan() argument
184 BTIF_TRACE_DEBUG("bta_pan_role:0x%x", bta_pan_role); in bta_role_to_btpan()
185 if (bta_pan_role & PAN_ROLE_NAP_SERVER) btpan_role |= BTPAN_ROLE_PANNAP; in bta_role_to_btpan()
186 if (bta_pan_role & PAN_ROLE_CLIENT) btpan_role |= BTPAN_ROLE_PANU; in bta_role_to_btpan()
191 int bta_pan_role = PAN_ROLE_INACTIVE; in btpan_role_to_bta() local
193 if (btpan_role & BTPAN_ROLE_PANNAP) bta_pan_role |= PAN_ROLE_NAP_SERVER; in btpan_role_to_bta()
194 if (btpan_role & BTPAN_ROLE_PANU) bta_pan_role |= PAN_ROLE_CLIENT; in btpan_role_to_bta()
195 return bta_pan_role; in btpan_role_to_bta()
208 int bta_pan_role = btpan_role_to_bta(local_role); in btpan_enable() local
209 BTA_PanSetRole(bta_pan_role, &bta_panu_info, NULL, &bta_pan_nap_info); in btpan_enable()