Home
last modified time | relevance | path

Searched refs:adapter_config (Results 1 – 4 of 4) sorted by relevance

/system/bt/gd/storage/
Dadapter_config_test.cc36 AdapterConfig adapter_config(&config, &memory_only_config, "Adapter"); in TEST() local
37 ASSERT_FALSE(adapter_config.GetAddress()); in TEST()
44 AdapterConfig adapter_config(&config, &memory_only_config, "Adapter"); in TEST() local
45 ASSERT_FALSE(adapter_config.GetAddress()); in TEST()
47 mutation.Add(adapter_config.SetAddress(address)); in TEST()
49 ASSERT_THAT(adapter_config.GetAddress(), Optional(Eq(address))); in TEST()
DAndroid.bp13 "adapter_config.cc",
DBUILD.gn18 "adapter_config.cc",
/system/bt/gd/security/internal/
Dsecurity_manager_impl.cc83 storage::AdapterConfig adapter_config = storage_module_->GetAdapterConfig(); in Init() local
84 if (!adapter_config.GetLeIdentityResolvingKey()) { in Init()
86 mutation.Add(adapter_config.SetLeIdentityResolvingKey(bluetooth::os::GenerateRandom<16>())); in Init()
91 if (!adapter_config.GetAddress() || adapter_config.GetAddress().value() != controllerAddress) { in Init()
93 mutation.Add(adapter_config.SetAddress(controllerAddress)); in Init()
98 …hci::AddressWithType(adapter_config.GetAddress().value(), hci::AddressType::PUBLIC_DEVICE_ADDRESS); in Init()
99 local_identity_resolving_key_ = adapter_config.GetLeIdentityResolvingKey().value().bytes; in Init()