Searched refs:p_bg_dev (Results 1 – 2 of 2) sorted by relevance
/external/bluetooth/bluedroid/stack/btm/ |
D | btm_ble_bgconn.c | 307 tBTM_LE_BG_CONN_DEV *p_bg_dev = &p_cb->bg_dev_list[0], *p_next, *p_cur; in btm_update_bg_conn_list() local 319 for (i = 0; i < BTM_BLE_MAX_BG_CONN_DEV_NUM; i ++, p_bg_dev ++) in btm_update_bg_conn_list() 321 if (p_bg_dev->in_use && memcmp(p_bg_dev->bd_addr, bd_addr, BD_ADDR_LEN) == 0) in btm_update_bg_conn_list() 325 memset(p_bg_dev, 0, sizeof(tBTM_LE_BG_CONN_DEV)); in btm_update_bg_conn_list() 327 p_cur = p_bg_dev; in btm_update_bg_conn_list() 328 p_next = p_bg_dev + 1; in btm_update_bg_conn_list() 339 else if (!p_bg_dev->in_use && to_add) in btm_update_bg_conn_list() 343 memcpy(p_bg_dev->bd_addr, bd_addr, BD_ADDR_LEN); in btm_update_bg_conn_list() 344 p_bg_dev->in_use = TRUE; in btm_update_bg_conn_list()
|
/external/bluetooth/bluedroid/stack/gatt/ |
D | gatt_main.c | 899 tGATT_BG_CONN_DEV *p_bg_dev=NULL; in gatt_send_conn_cback() local 902 p_bg_dev = gatt_find_bg_dev(p_tcb->peer_bda); in gatt_send_conn_cback() 909 if (p_bg_dev && gatt_is_bg_dev_for_app(p_bg_dev, p_reg->gatt_if)) in gatt_send_conn_cback()
|