Home
last modified time | relevance | path

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

/external/bluetooth/bluedroid/test/suite/cases/
Dpan.c23 static const int local_role = BTPAN_ROLE_PANU; variable
35 CALL_AND_WAIT(error = pan_interface->enable(local_role), pan_control_state_changed); in pan_enable()
38 TASSERT(pan_get_local_role() == local_role, "Unexpected local role: %d", pan_get_local_role()); in pan_enable()
51 …CALL_AND_WAIT(error = pan_interface->connect(&bt_remote_bdaddr, local_role, remote_role), pan_conn… in pan_connect()
55 TASSERT(pan_get_local_role() == local_role, "Incorrect local role: %d", pan_get_local_role()); in pan_connect()
61 TASSERT(pan_get_local_role() == local_role, "Incorrect local role: %d", pan_get_local_role()); in pan_connect()
/external/bluetooth/bluedroid/test/suite/support/
Dpan.c58 void pan_control_state_changed(btpan_control_state_t state, bt_status_t error, int local_role, cons… in pan_control_state_changed() argument
62 pan_local_role = local_role; in pan_control_state_changed()
70 …tion_state_t state, bt_status_t error, const bt_bdaddr_t *bd_addr, int local_role, int remote_role… in pan_connection_state_changed() argument
73 pan_local_role = local_role; in pan_connection_state_changed()
Dcallbacks.c28 void pan_control_state_changed(btpan_control_state_t state, int local_role, bt_status_t error, cons…
29 …tion_state_t state, bt_status_t error, const bt_bdaddr_t *bd_addr, int local_role, int remote_role…
/external/bluetooth/bluedroid/btif/src/
Dbtif_pan.c88 static bt_status_t btpan_connect(const bt_bdaddr_t *bd_addr, int local_role, int remote_role);
90 static bt_status_t btpan_enable(int local_role);
219 static bt_status_t btpan_enable(int local_role) in btpan_enable() argument
222 BTIF_TRACE_DEBUG("local_role:%d", local_role); in btpan_enable()
223 bta_pan_role = btpan_role_to_bta(local_role); in btpan_enable()
226 btpan_dev_local_role = local_role; in btpan_enable()
239 static bt_status_t btpan_connect(const bt_bdaddr_t *bd_addr, int local_role, int remote_role) in btpan_connect() argument
241 BTIF_TRACE_DEBUG("local_role:%d, remote_role:%d", local_role, remote_role); in btpan_connect()
242 int bta_local_role = btpan_role_to_bta(local_role); in btpan_connect()
261 btpan_conn_local_role = bta_role_to_btpan(conn->local_role); in btif_in_pan_generic_evt()
[all …]
/external/bluetooth/bluedroid/bta/pan/
Dbta_pan_api.c176 BTA_API void BTA_PanOpen(BD_ADDR bd_addr, tBTA_PAN_ROLE local_role, tBTA_PAN_ROLE peer_role) in BTA_PanOpen() argument
184 p_buf->local_role = local_role; in BTA_PanOpen()
233 void BTA_PanOpen(BD_ADDR bd_addr, tBTA_PAN_ROLE local_role, tBTA_PAN_ROLE peer_role) in BTA_PanOpen() argument
236 UNUSED(local_role); in BTA_PanOpen()
Dbta_pan_act.c116 p_scb->local_role = src_role; in bta_pan_conn_state_cback()
473 …status = PAN_Connect (p_data->api_open.bd_addr, p_data->api_open.local_role, p_data->api_open.peer… in bta_pan_open()
481 p_scb->local_role = p_data->api_open.local_role; in bta_pan_open()
494 data.local_role = p_data->api_open.local_role; in bta_pan_open()
552 data.local_role = p_scb->local_role; in bta_pan_conn_open()
558 …bta_pan_co_open(p_scb->handle, p_scb->app_id, p_scb->local_role, p_scb->peer_role, p_scb->bd_addr); in bta_pan_conn_open()
Dbta_pan_int.h103 tBTA_PAN_ROLE local_role; /* local role */ member
148 tBTA_PAN_ROLE local_role; /* local role */ member
/external/chromium_org/third_party/libjingle/source/talk/p2p/base/
Ddtlstransport.h106 virtual bool NegotiateTransportDescription_w(ContentAction local_role, in NegotiateTransportDescription_w() argument
151 if (local_role == CA_OFFER) { in NegotiateTransportDescription_w()
193 } else if (local_fp && (local_role == CA_ANSWER)) { in NegotiateTransportDescription_w()
204 return Base::NegotiateTransportDescription_w(local_role, error_desc); in NegotiateTransportDescription_w()
Ddtlstransportchannel_unittest.cc131 ConnectionRole local_role, ConnectionRole remote_role, in Negotiate() argument
134 action, local_role, remote_role, flags); in Negotiate()
141 ConnectionRole local_role, in Negotiate() argument
171 cricket::ICEMODE_FULL, local_role, in Negotiate()
Dtransport.h384 virtual bool NegotiateTransportDescription_w(ContentAction local_role,
Dtransport.cc805 bool Transport::NegotiateTransportDescription_w(ContentAction local_role, in NegotiateTransportDescription_w() argument
812 if (local_role == CA_OFFER) { in NegotiateTransportDescription_w()
/external/bluetooth/bluedroid/btif/co/
Dbta_pan_co.c75 void bta_pan_co_open(UINT16 handle, UINT8 app_id, tBTA_PAN_ROLE local_role, in bta_pan_co_open() argument
79 "handle:%d", app_id, local_role, peer_role, handle); in bta_pan_co_open()
82 conn = btpan_new_conn(handle, peer_addr, local_role, peer_role); in bta_pan_co_open()
88 conn->local_role, conn->remote_role); in bta_pan_co_open()
/external/bluetooth/bluedroid/bta/include/
Dbta_pan_api.h91 tBTA_PAN_ROLE local_role; /* Local device PAN role for the connection */ member
179 BTA_API void BTA_PanOpen(BD_ADDR bd_addr, tBTA_PAN_ROLE local_role, tBTA_PAN_ROLE peer_role);
Dbta_pan_co.h81 BTA_API extern void bta_pan_co_open(UINT16 handle, UINT8 app_id, tBTA_PAN_ROLE local_role, tBTA_PAN…
/external/bluetooth/bluedroid/btif/include/
Dbtif_pan_internal.h70 int local_role; member
94 btpan_conn_t *btpan_new_conn(int handle, const BD_ADDR addr, int local_role, int peer_role);