Home
last modified time | relevance | path

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

/system/bt/stack/btm/
Dbtm_inq.cc943 tINQ_DB_ENT* p_ent = btm_inq_db_find(p_bda); in BTM_InqDbRead() local
944 if (!p_ent) return NULL; in BTM_InqDbRead()
946 return &p_ent->inq_info; in BTM_InqDbRead()
964 tINQ_DB_ENT* p_ent = btm_cb.btm_inq_vars.inq_db; in BTM_InqDbFirst() local
966 for (xx = 0; xx < BTM_INQ_DB_SIZE; xx++, p_ent++) { in BTM_InqDbFirst()
967 if (p_ent->in_use) return (&p_ent->inq_info); in BTM_InqDbFirst()
986 tINQ_DB_ENT* p_ent; in BTM_InqDbNext() local
990 p_ent = (tINQ_DB_ENT*)((uint8_t*)p_cur - offsetof(tINQ_DB_ENT, inq_info)); in BTM_InqDbNext()
991 inx = (uint16_t)((p_ent - btm_cb.btm_inq_vars.inq_db) + 1); in BTM_InqDbNext()
993 for (p_ent = &btm_cb.btm_inq_vars.inq_db[inx]; inx < BTM_INQ_DB_SIZE; in BTM_InqDbNext()
[all …]
Dbtm_ble_gap.cc1728 tINQ_DB_ENT* p_ent = btm_cb.btm_inq_vars.inq_db; in btm_clear_all_pending_le_entry() local
1730 for (xx = 0; xx < BTM_INQ_DB_SIZE; xx++, p_ent++) { in btm_clear_all_pending_le_entry()
1733 if ((p_ent->in_use) && in btm_clear_all_pending_le_entry()
1734 (p_ent->inq_info.results.device_type == BT_DEVICE_TYPE_BLE) && in btm_clear_all_pending_le_entry()
1735 !p_ent->scan_rsp) in btm_clear_all_pending_le_entry()
1736 p_ent->in_use = false; in btm_clear_all_pending_le_entry()