Home
last modified time | relevance | path

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

/packages/modules/Bluetooth/system/bta/pan/
Dbta_pan_act.cc120 p_scb->app_id = bta_pan_cb.app_id[0]; in bta_pan_conn_state_cback()
122 p_scb->app_id = bta_pan_cb.app_id[2]; in bta_pan_conn_state_cback()
260 p_scb = &bta_pan_cb.scb[index]; in bta_pan_has_multiple_connections()
276 p_scb = &bta_pan_cb.scb[index]; in bta_pan_has_multiple_connections()
277 if (p_scb->in_use && p_scb->app_id != bta_pan_cb.app_id[0] && in bta_pan_has_multiple_connections()
299 bta_pan_cb.p_cback = p_data->api_enable.p_cback; in bta_pan_enable()
311 bta_pan_cb.flow_mask = bta_pan_co_init(&bta_pan_cb.q_level); in bta_pan_enable()
312 bta_pan_cb.p_cback(BTA_PAN_ENABLE_EVT, NULL); in bta_pan_enable()
325 bta_pan_cb.app_id[0] = p_data->api_set_role.user_app_id; in bta_pan_set_role()
326 bta_pan_cb.app_id[2] = p_data->api_set_role.nap_app_id; in bta_pan_set_role()
[all …]
Dbta_pan_main.cc120 tBTA_PAN_CB bta_pan_cb; variable
133 tBTA_PAN_SCB* p_scb = &bta_pan_cb.scb[0]; in bta_pan_scb_alloc()
201 memset(&bta_pan_cb, 0, sizeof(bta_pan_cb)); in bta_pan_api_enable()
204 bta_pan_cb.p_cback = p_data->api_enable.p_cback; in bta_pan_api_enable()
241 bta_pan_cb.p_cback(BTA_PAN_OPEN_EVT, &bta_pan); in bta_pan_api_open()
271 return ((uint8_t)(p_scb - bta_pan_cb.scb)) + 1; in bta_pan_scb_to_idx()
285 tBTA_PAN_SCB* p_scb = &bta_pan_cb.scb[0]; in bta_pan_scb_by_handle()
Dbta_pan_int.h161 extern tBTA_PAN_CB bta_pan_cb;
/packages/modules/Bluetooth/system/bta/test/
Dbta_pan_test.cc131 ASSERT_EQ(12, bta_pan_cb.app_id[0]); in TEST_F()
132 ASSERT_EQ(0, bta_pan_cb.app_id[1]); in TEST_F()
133 ASSERT_EQ(34, bta_pan_cb.app_id[2]); in TEST_F()