Searched refs:adapter_config (Results 1 – 4 of 4) sorted by relevance
36 AdapterConfig adapter_config(&config, &memory_only_config, "Adapter"); in TEST() local37 ASSERT_FALSE(adapter_config.GetAddress()); in TEST()44 AdapterConfig adapter_config(&config, &memory_only_config, "Adapter"); in TEST() local45 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()
13 "adapter_config.cc",
18 "adapter_config.cc",
83 storage::AdapterConfig adapter_config = storage_module_->GetAdapterConfig(); in Init() local84 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()