/packages/modules/Bluetooth/system/btif/src/ |
D | btif_pan.cc | 85 static bt_status_t btpan_connect(const RawAddress* bd_addr, int local_role, 88 static bt_status_t btpan_enable(int local_role); 195 static bt_status_t btpan_enable(int local_role) { in btpan_enable() argument 196 const tBTA_PAN_ROLE bta_pan_role = btpan_role_to_bta(local_role); in btpan_enable() 198 btpan_dev_local_role = local_role; in btpan_enable() 206 static bt_status_t btpan_connect(const RawAddress* bd_addr, int local_role, in btpan_connect() argument 208 tBTA_PAN_ROLE bta_local_role = btpan_role_to_bta(local_role); in btpan_connect() 226 btpan_conn_local_role = bta_role_to_btpan(conn->local_role); in btif_in_pan_generic_evt() 444 p_data->open.local_role, p_data->open.peer_role, p_data->open.handle, in btpan_open_conn() 449 p_data->open.local_role, p_data->open.peer_role); in btpan_open_conn() [all …]
|
/packages/modules/Bluetooth/system/include/hardware/ |
D | bt_pan.h | 44 int local_role, 47 int local_role, bt_status_t error, 68 bt_status_t (*enable)(int local_role); 77 bt_status_t (*connect)(const RawAddress* bd_addr, int local_role,
|
/packages/modules/Bluetooth/android/app/jni/ |
D | com_android_bluetooth_pan.cpp | 46 static void control_state_callback(btpan_control_state_t state, int local_role, in control_state_callback() argument 48 log::debug("state:{}, local_role:{}, ifname:{}", state, local_role, ifname); in control_state_callback() 58 (jint)local_role, (jint)state, (jint)error, in control_state_callback() 64 const RawAddress* bd_addr, int local_role, in connection_state_callback() argument 66 log::debug("state:{}, local_role:{}, remote_role:{}", state, local_role, in connection_state_callback() 81 (jint)local_role, (jint)remote_role); in connection_state_callback()
|
/packages/modules/Bluetooth/system/bta/pan/ |
D | bta_pan_act.cc | 113 p_scb->local_role = src_role; in bta_pan_conn_state_cback() 412 status = PAN_Connect(p_data->api_open.bd_addr, p_data->api_open.local_role, in bta_pan_open() 418 p_scb->local_role = p_data->api_open.local_role; in bta_pan_open() 428 bta_pan.open.local_role = p_data->api_open.local_role; in bta_pan_open() 476 bta_pan.open.local_role = p_scb->local_role; in bta_pan_conn_open()
|
D | bta_pan_api.cc | 153 void BTA_PanOpen(const RawAddress& bd_addr, tBTA_PAN_ROLE local_role, in BTA_PanOpen() argument 159 p_buf->local_role = local_role; in BTA_PanOpen()
|
D | bta_pan_int.h | 89 tBTA_PAN_ROLE local_role; /* local role */ member 140 tBTA_PAN_ROLE local_role; /* local role */ member
|
/packages/modules/Bluetooth/system/bta/include/ |
D | bta_pan_api.h | 79 tBTA_PAN_ROLE local_role; /* Local device PAN role for the connection */ member 160 void BTA_PanOpen(const RawAddress& bd_addr, tBTA_PAN_ROLE local_role,
|
/packages/modules/Bluetooth/system/btif/include/ |
D | btif_pan_internal.h | 63 tBTA_PAN_ROLE local_role; member 86 tBTA_PAN_ROLE local_role, tBTA_PAN_ROLE peer_role);
|
/packages/modules/Bluetooth/system/bta/av/ |
D | bta_av_main.cc | 457 uint8_t local_role = 0; in bta_av_api_register() local 474 local_role = (p_data->api_reg.service_uuid == UUID_SERVCLASS_AUDIO_SINK) in bta_av_api_register() 526 !(bta_av_cb.reg_role & (1 << local_role))) || in bta_av_api_register() 570 static_cast<tBTA_SYS_ID>(BTA_ID_AV + local_role), in bta_av_api_register() 680 !(bta_av_cb.reg_role & (1 << local_role))) || in bta_av_api_register() 748 bta_av_cb.reg_role |= (1 << local_role); in bta_av_api_register()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/pan/ |
D | PanService.java | 284 cs.local_role, 572 this.local_role = localRole; in ConnectState() 579 public int local_role; field in PanService.ConnectState
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/pan/ |
D | PanServiceTest.java | 221 assertThat(connectState.local_role).isEqualTo(localRole); in connectState_constructor()
|