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

/external/bluetooth/bluedroid/test/suite/support/
H A Dpan.c58 void pan_control_state_changed(btpan_control_state_t state, bt_status_t error, int local_role, const char *ifname) { argument
62 pan_local_role = local_role;
70 void pan_connection_state_changed(btpan_connection_state_t state, bt_status_t error, const bt_bdaddr_t *bd_addr, int local_role, int remote_role) { argument
73 pan_local_role = local_role;
H A Dcallbacks.c28 void pan_control_state_changed(btpan_control_state_t state, int local_role, bt_status_t error, const char *ifname);
29 void pan_connection_state_changed(btpan_connection_state_t state, bt_status_t error, const bt_bdaddr_t *bd_addr, int local_role, int remote_role);
/external/bluetooth/bluedroid/test/suite/cases/
H A 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);
38 TASSERT(pan_get_local_role() == local_role, "Unexpected local role: %d", pan_get_local_role());
51 CALL_AND_WAIT(error = pan_interface->connect(&bt_remote_bdaddr, local_role, remote_role), pan_connection_state_changed);
55 TASSERT(pan_get_local_role() == local_role, "Incorrect local role: %d", pan_get_local_role());
61 TASSERT(pan_get_local_role() == local_role, "Incorrect local role: %d", pan_get_local_role());
/external/bluetooth/bluedroid/bta/include/
H A Dbta_pan_api.h91 tBTA_PAN_ROLE local_role; /* Local device PAN role for the connection */ member in struct:__anon915
179 BTA_API void BTA_PanOpen(BD_ADDR bd_addr, tBTA_PAN_ROLE local_role, tBTA_PAN_ROLE peer_role);
H A Dbta_pan_co.h81 BTA_API extern void bta_pan_co_open(UINT16 handle, UINT8 app_id, tBTA_PAN_ROLE local_role, tBTA_PAN_ROLE peer_role, BD_ADDR peer_addr);
/external/bluetooth/bluedroid/btif/include/
H A Dbtif_pan_internal.h70 int local_role; member in struct:__anon1044
94 btpan_conn_t *btpan_new_conn(int handle, const BD_ADDR addr, int local_role, int peer_role);
/external/bluetooth/bluedroid/bta/pan/
H A Dbta_pan_api.c176 BTA_API void BTA_PanOpen(BD_ADDR bd_addr, tBTA_PAN_ROLE local_role, tBTA_PAN_ROLE peer_role) argument
184 p_buf->local_role = local_role;
233 void BTA_PanOpen(BD_ADDR bd_addr, tBTA_PAN_ROLE local_role, tBTA_PAN_ROLE peer_role) argument
236 UNUSED(local_role);
H A Dbta_pan_int.h103 tBTA_PAN_ROLE local_role; /* local role */ member in struct:__anon966
148 tBTA_PAN_ROLE local_role; /* local role */ member in struct:__anon970
H A Dbta_pan_act.c116 p_scb->local_role = src_role;
473 status = PAN_Connect (p_data->api_open.bd_addr, p_data->api_open.local_role, p_data->api_open.peer_role,
481 p_scb->local_role = p_data->api_open.local_role;
494 data.local_role = p_data->api_open.local_role;
552 data.local_role = p_scb->local_role;
558 bta_pan_co_open(p_scb->handle, p_scb->app_id, p_scb->local_role, p_scb->peer_role, p_scb->bd_addr);
/external/bluetooth/bluedroid/btif/src/
H A 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) argument
222 BTIF_TRACE_DEBUG("local_role:%d", local_role);
223 bta_pan_role = btpan_role_to_bta(local_role);
226 btpan_dev_local_role = local_role;
239 static bt_status_t btpan_connect(const bt_bdaddr_t *bd_addr, int local_role, int remote_role) argument
241 BTIF_TRACE_DEBUG("local_role:%d, remote_role:%d", local_role, remote_rol
513 btpan_new_conn(int handle, const BD_ADDR addr, int local_role, int remote_role ) argument
[all...]
/external/chromium_org/third_party/libjingle/source/talk/p2p/base/
H A Ddtlstransport.h107 virtual bool NegotiateTransportDescription_w(ContentAction local_role, argument
152 if (local_role == CA_OFFER) {
194 } else if (local_fp && (local_role == CA_ANSWER)) {
205 return Base::NegotiateTransportDescription_w(local_role, error_desc);
H A Ddtlstransportchannel_unittest.cc131 ConnectionRole local_role, ConnectionRole remote_role,
134 action, local_role, remote_role, flags);
141 ConnectionRole local_role,
171 cricket::ICEMODE_FULL, local_role,
130 Negotiate(DtlsTestClient* peer, cricket::ContentAction action, ConnectionRole local_role, ConnectionRole remote_role, int flags) argument
138 Negotiate(rtc::SSLIdentity* local_identity, rtc::SSLIdentity* remote_identity, cricket::ContentAction action, ConnectionRole local_role, ConnectionRole remote_role, int flags) argument
H A Dtransport.h389 virtual bool NegotiateTransportDescription_w(ContentAction local_role,
H A Dtransport.cc834 bool Transport::NegotiateTransportDescription_w(ContentAction local_role, argument
841 if (local_role == CA_OFFER) {
/external/bluetooth/bluedroid/btif/co/
H A Dbta_pan_co.c75 void bta_pan_co_open(UINT16 handle, UINT8 app_id, tBTA_PAN_ROLE local_role, argument
78 BTIF_TRACE_API("bta_pan_co_open:app_id:%d, local_role:%d, peer_role:%d, "
79 "handle:%d", app_id, local_role, peer_role, handle);
82 conn = btpan_new_conn(handle, peer_addr, local_role, peer_role);
86 "conn->handle:%d should = handle:%d, local_role:%d, remote_role:%d",
88 conn->local_role, conn->remote_role);

Completed in 159 milliseconds