OSDN Git Service

GATT: Use a list for services in a GATT database
authorMyles Watson <mylesgw@google.com>
Fri, 22 Mar 2019 23:51:39 +0000 (16:51 -0700)
committerMyles Watson <mylesgw@google.com>
Thu, 2 May 2019 17:23:55 +0000 (17:23 +0000)
commit1bff698b4ea099f8af4ce926e3972158419119f6
tree6a441dcd1e0c682cf5bdef738ed2d4e31b954fc5
parentbd399cd575df8b0387693504693c3e9e4a05fc38
GATT: Use a list for services in a GATT database

Iterators to list elements are not invalidated by the addition and
removal of other elements.

Bug: 128938477
Test: net_test_bta
Change-Id: I45d74a63fc6b55ece3a4af02e0cc3e1de757cc4d
bta/gatt/bta_gattc_api.cc
bta/gatt/bta_gattc_cache.cc
bta/gatt/bta_gattc_int.h
bta/gatt/database.cc
bta/gatt/database.h
bta/gatt/database_builder.h
bta/hearing_aid/hearing_aid.cc
bta/hh/bta_hh_le.cc
bta/include/bta_gatt_api.h
bta/test/gatt/database_builder_sample_device_test.cc
bta/test/gatt/database_builder_test.cc