Home
last modified time | relevance | path

Searched refs:p_dev_cb (Results 1 – 2 of 2) sorted by relevance

/system/bt/bta/hh/
Dbta_hh_le.c62 static void bta_hh_le_register_scpp_notif(tBTA_HH_DEV_CB *p_dev_cb, tBTA_GATT_STATUS status);
63 static void bta_hh_le_register_scpp_notif_cmpl(tBTA_HH_DEV_CB *p_dev_cb, tBTA_GATT_STATUS status);
460 tBTA_HH_DEV_CB *p_dev_cb = &bta_hh_cb.kdev[0]; in bta_hh_le_find_dev_cb_by_conn_id() local
462 for (i = 0; i < BTA_HH_MAX_DEVICE; i ++, p_dev_cb ++) in bta_hh_le_find_dev_cb_by_conn_id()
464 if (p_dev_cb->in_use && p_dev_cb->conn_id == conn_id) in bta_hh_le_find_dev_cb_by_conn_id()
465 return p_dev_cb; in bta_hh_le_find_dev_cb_by_conn_id()
480 tBTA_HH_DEV_CB *p_dev_cb = &bta_hh_cb.kdev[0]; in bta_hh_le_find_dev_cb_by_bda() local
482 for (i = 0; i < BTA_HH_MAX_DEVICE; i ++, p_dev_cb ++) in bta_hh_le_find_dev_cb_by_bda()
484 if (p_dev_cb->in_use && in bta_hh_le_find_dev_cb_by_bda()
485 memcmp(p_dev_cb->addr, bda, BD_ADDR_LEN) == 0) in bta_hh_le_find_dev_cb_by_bda()
[all …]
/system/bt/btif/src/
Dbtif_gatt_client.c235 static btif_gattc_dev_cb_t *p_dev_cb = &btif_gattc_dev_cb; variable
373 memset(p_dev_cb, 0, sizeof(btif_gattc_dev_cb_t)); in btif_gattc_init_dev_cb()
381 if (!p_dev_cb->remote_dev[i].in_use ) in btif_gattc_add_remote_bdaddr()
383 memcpy(p_dev_cb->remote_dev[i].bd_addr.address, p_bda, BD_ADDR_LEN); in btif_gattc_add_remote_bdaddr()
384 p_dev_cb->addr_type = addr_type; in btif_gattc_add_remote_bdaddr()
385 p_dev_cb->remote_dev[i].in_use = TRUE; in btif_gattc_add_remote_bdaddr()
393 i= p_dev_cb->next_storage_idx; in btif_gattc_add_remote_bdaddr()
394 memcpy(p_dev_cb->remote_dev[i].bd_addr.address, p_bda, BD_ADDR_LEN); in btif_gattc_add_remote_bdaddr()
395 p_dev_cb->addr_type = addr_type; in btif_gattc_add_remote_bdaddr()
396 p_dev_cb->remote_dev[i].in_use = TRUE; in btif_gattc_add_remote_bdaddr()
[all …]