/system/bt/test/suite/cases/ |
D | pan.c | 23 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()
|
/system/bt/test/suite/support/ |
D | pan.c | 58 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()
|
D | callbacks.c | 35 …tion_state_t state, bt_status_t error, const bt_bdaddr_t *bd_addr, int local_role, int remote_role… 36 void pan_control_state_changed(btpan_control_state_t state, int local_role, bt_status_t error, cons…
|
/system/bt/btif/src/ |
D | btif_pan.c | 93 static bt_status_t btpan_connect(const bt_bdaddr_t *bd_addr, int local_role, int remote_role); 95 static bt_status_t btpan_enable(int local_role); 216 static bt_status_t btpan_enable(int local_role) in btpan_enable() argument 219 BTIF_TRACE_DEBUG("%s - local_role: %d", __func__, local_role); in btpan_enable() 220 int bta_pan_role = btpan_role_to_bta(local_role); in btpan_enable() 222 btpan_dev_local_role = local_role; in btpan_enable() 235 static bt_status_t btpan_connect(const bt_bdaddr_t *bd_addr, int local_role, int remote_role) in btpan_connect() argument 237 BTIF_TRACE_DEBUG("local_role:%d, remote_role:%d", local_role, remote_role); in btpan_connect() 238 int bta_local_role = btpan_role_to_bta(local_role); in btpan_connect() 257 btpan_conn_local_role = bta_role_to_btpan(conn->local_role); in btif_in_pan_generic_evt() [all …]
|
/system/bt/bta/pan/ |
D | bta_pan_api.c | 175 void BTA_PanOpen(BD_ADDR bd_addr, tBTA_PAN_ROLE local_role, tBTA_PAN_ROLE peer_role) in BTA_PanOpen() argument 183 p_buf->local_role = local_role; in BTA_PanOpen() 232 void BTA_PanOpen(BD_ADDR bd_addr, tBTA_PAN_ROLE local_role, tBTA_PAN_ROLE peer_role) in BTA_PanOpen() argument 235 UNUSED(local_role); in BTA_PanOpen()
|
D | bta_pan_act.c | 115 p_scb->local_role = src_role; in bta_pan_conn_state_cback() 519 …status = PAN_Connect (p_data->api_open.bd_addr, p_data->api_open.local_role, p_data->api_open.peer… in bta_pan_open() 527 p_scb->local_role = p_data->api_open.local_role; in bta_pan_open() 540 data.local_role = p_data->api_open.local_role; in bta_pan_open() 598 data.local_role = p_scb->local_role; in bta_pan_conn_open()
|
D | bta_pan_int.h | 103 tBTA_PAN_ROLE local_role; /* local role */ member 148 tBTA_PAN_ROLE local_role; /* local role */ member
|
/system/bt/bta/include/ |
D | bta_pan_api.h | 91 tBTA_PAN_ROLE local_role; /* Local device PAN role for the connection */ member 179 void BTA_PanOpen(BD_ADDR bd_addr, tBTA_PAN_ROLE local_role, tBTA_PAN_ROLE peer_role);
|
D | bta_pan_co.h | 81 extern void bta_pan_co_open(UINT16 handle, UINT8 app_id, tBTA_PAN_ROLE local_role, tBTA_PAN_ROLE pe…
|
/system/bt/btif/co/ |
D | bta_pan_co.c | 75 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()
|
/system/bt/btif/include/ |
D | btif_pan_internal.h | 71 int local_role; member 95 btpan_conn_t *btpan_new_conn(int handle, const BD_ADDR addr, int local_role, int peer_role);
|