Loading system/bta/csis/csis_client.cc +4 −2 Original line number Diff line number Diff line Loading @@ -50,6 +50,7 @@ #include "stack/gatt/gatt_int.h" #include "stack/include/bt_types.h" #include "stack/include/btm_ble_sec_api.h" #include "stack/include/btm_client_interface.h" using base::Closure; using bluetooth::Uuid; Loading Loading @@ -1446,8 +1447,9 @@ class CsisClientImpl : public CsisClient { void CheckForGroupInInqDb(const std::shared_ptr<CsisGroup>& csis_group) { // Check if last inquiry already found devices with RSI matching this group for (tBTM_INQ_INFO* inq_ent = BTM_InqDbFirst(); inq_ent != nullptr; inq_ent = BTM_InqDbNext(inq_ent)) { for (tBTM_INQ_INFO* inq_ent = get_btm_client_interface().db.BTM_InqDbFirst(); inq_ent != nullptr; inq_ent = BTM_InqDbNext(inq_ent)) { RawAddress rsi = inq_ent->results.ble_ad_rsi; if (!csis_group->IsRsiMatching(rsi)) continue; Loading Loading
system/bta/csis/csis_client.cc +4 −2 Original line number Diff line number Diff line Loading @@ -50,6 +50,7 @@ #include "stack/gatt/gatt_int.h" #include "stack/include/bt_types.h" #include "stack/include/btm_ble_sec_api.h" #include "stack/include/btm_client_interface.h" using base::Closure; using bluetooth::Uuid; Loading Loading @@ -1446,8 +1447,9 @@ class CsisClientImpl : public CsisClient { void CheckForGroupInInqDb(const std::shared_ptr<CsisGroup>& csis_group) { // Check if last inquiry already found devices with RSI matching this group for (tBTM_INQ_INFO* inq_ent = BTM_InqDbFirst(); inq_ent != nullptr; inq_ent = BTM_InqDbNext(inq_ent)) { for (tBTM_INQ_INFO* inq_ent = get_btm_client_interface().db.BTM_InqDbFirst(); inq_ent != nullptr; inq_ent = BTM_InqDbNext(inq_ent)) { RawAddress rsi = inq_ent->results.ble_ad_rsi; if (!csis_group->IsRsiMatching(rsi)) continue; Loading