/system/bt/gd/storage/ |
D | adapter_config_test.cc | 27 using bluetooth::storage::ConfigCache; 34 ConfigCache config(10, Device::kLinkKeyProperties); in TEST() 35 ConfigCache memory_only_config(10, {}); in TEST() 41 ConfigCache config(10, Device::kLinkKeyProperties); in TEST() 42 ConfigCache memory_only_config(10, {}); in TEST() 53 ConfigCache config(10, Device::kLinkKeyProperties); in TEST() 54 ConfigCache memory_only_config(10, {}); in TEST() 59 ConfigCache memory_only_config_2(10, {}); in TEST()
|
D | mutation.h | 29 Mutation(ConfigCache* config, ConfigCache* memory_only_config); 32 friend ConfigCache; variable 35 ConfigCache* config_; 36 ConfigCache* memory_only_config_;
|
D | config_cache.h | 52 class ConfigCache { 54 …ConfigCache(size_t temp_device_capacity, std::unordered_set<std::string_view> persistent_property_… 55 virtual ~ConfigCache() = default; 58 DISALLOW_COPY_AND_ASSIGN(ConfigCache); 61 ConfigCache(ConfigCache&& other) noexcept; 62 ConfigCache& operator=(ConfigCache&& other) noexcept; 65 bool operator==(const ConfigCache& rhs) const; 66 bool operator!=(const ConfigCache& rhs) const;
|
D | le_device_test.cc | 29 using bluetooth::storage::ConfigCache; 37 ConfigCache config(10, Device::kLinkKeyProperties); in TEST() 38 ConfigCache memory_only_config(10, {}); in TEST() 45 ConfigCache config(10, Device::kLinkKeyProperties); in TEST() 46 ConfigCache memory_only_config(10, {}); in TEST() 57 ConfigCache config(10, Device::kLinkKeyProperties); in TEST() 58 ConfigCache memory_only_config(10, {}); in TEST()
|
D | config_cache_test.cc | 38 using bluetooth::storage::ConfigCache; 40 using SectionAndPropertyValue = bluetooth::storage::ConfigCache::SectionAndPropertyValue; 43 ConfigCache config(100, Device::kLinkKeyProperties); in TEST() 51 ConfigCache config(100, Device::kLinkKeyProperties); in TEST() 62 ConfigCache config(2, Device::kLinkKeyProperties); in TEST() 71 ConfigCache config_1(2, Device::kLinkKeyProperties); in TEST() 76 ConfigCache config_2(2, Device::kLinkKeyProperties); in TEST() 94 ConfigCache config_3(3, Device::kLinkKeyProperties); in TEST() 102 ConfigCache config_4(2, Device::kLinkKeyProperties); in TEST() 105 ConfigCache config_5(2, Device::kLinkKeyProperties); in TEST() [all …]
|
D | classic_device_test.cc | 30 using bluetooth::storage::ConfigCache; 37 ConfigCache config(10, Device::kLinkKeyProperties); in TEST() 38 ConfigCache memory_only_config(10, {}); in TEST() 45 ConfigCache config(10, Device::kLinkKeyProperties); in TEST() 46 ConfigCache memory_only_config(10, {}); in TEST() 57 ConfigCache config(10, Device::kLinkKeyProperties); in TEST() 58 ConfigCache memory_only_config(10, {}); in TEST()
|
D | config_cache.cc | 49 const std::string ConfigCache::kDefaultSectionName = "Global"; 51 ConfigCache::ConfigCache(size_t temp_device_capacity, std::unordered_set<std::string_view> persiste… in ConfigCache() function in bluetooth::storage::ConfigCache 57 void ConfigCache::SetPersistentConfigChangedCallback(std::function<void()> persistent_config_change… in SetPersistentConfigChangedCallback() 62 ConfigCache::ConfigCache(ConfigCache&& other) noexcept in ConfigCache() function in bluetooth::storage::ConfigCache 72 ConfigCache& ConfigCache::operator=(ConfigCache&& other) noexcept { in operator =() 87 bool ConfigCache::operator==(const ConfigCache& rhs) const { in operator ==() 95 bool ConfigCache::operator!=(const ConfigCache& rhs) const { in operator !=() 99 void ConfigCache::Clear() { in Clear() 114 bool ConfigCache::HasSection(const std::string& section) const { in HasSection() 120 bool ConfigCache::HasProperty(const std::string& section, const std::string& property) const { in HasProperty() [all …]
|
D | device_test.cc | 29 using bluetooth::storage::ConfigCache; 38 ConfigCache config(10, Device::kLinkKeyProperties); in TEST() 39 ConfigCache memory_only_config(10, {}); in TEST() 63 ConfigCache config(10, Device::kLinkKeyProperties); in TEST() 64 ConfigCache memory_only_config(10, {}); in TEST() 88 ConfigCache config(10, Device::kLinkKeyProperties); in TEST() 89 ConfigCache memory_only_config(10, {}); in TEST() 110 ConfigCache config(10, Device::kLinkKeyProperties); in TEST() 111 ConfigCache memory_only_config(10, {}); in TEST() 124 ConfigCache config(10, Device::kLinkKeyProperties); in TEST() [all …]
|
D | mutation_test.cc | 27 using bluetooth::storage::ConfigCache; 33 ConfigCache config(100, Device::kLinkKeyProperties); in TEST() 34 ConfigCache memory_only_config(100, {}); in TEST() 51 ConfigCache config(100, Device::kLinkKeyProperties); in TEST() 52 ConfigCache memory_only_config(100, {}); in TEST() 99 ConfigCache config(100, Device::kLinkKeyProperties); in TEST() 100 ConfigCache memory_only_config(100, {}); in TEST() 110 ConfigCache config(100, Device::kLinkKeyProperties); in TEST() 111 ConfigCache memory_only_config(100, {}); in TEST()
|
D | le_device.h | 33 LeDevice(ConfigCache* config, ConfigCache* memory_only_config, std::string section); 76 ConfigCache* config_; 77 ConfigCache* memory_only_config_; 101 std::size_t pointer_hash_1 = std::hash<bluetooth::storage::ConfigCache*>{}(val.config_); 102 std::size_t pointer_hash_2 = std::hash<bluetooth::storage::ConfigCache*>{}(val.config_);
|
D | classic_device.h | 34 ClassicDevice(ConfigCache* config, ConfigCache* memory_only_config, std::string section); 80 ConfigCache* config_; 81 ConfigCache* memory_only_config_; 102 std::size_t pointer_hash_1 = std::hash<bluetooth::storage::ConfigCache*>{}(val.config_); 103 std::size_t pointer_hash_2 = std::hash<bluetooth::storage::ConfigCache*>{}(val.config_);
|
D | adapter_config.h | 30 AdapterConfig(ConfigCache* config, ConfigCache* memory_only_config, std::string section); 61 ConfigCache* config_; 62 ConfigCache* memory_only_config_;
|
D | device.h | 113 ConfigCache* config, 114 ConfigCache* memory_only_config, 117 Device(ConfigCache* config, ConfigCache* memory_only_config, std::string section); 173 ConfigCache* config_; 174 ConfigCache* memory_only_config_; 209 std::size_t pointer_hash_1 = std::hash<bluetooth::storage::ConfigCache*>{}(val.config_); 210 std::size_t pointer_hash_2 = std::hash<bluetooth::storage::ConfigCache*>{}(val.config_);
|
D | device.cc | 38 …ConfigCache* config, const hci::Address& key_address, Device::ConfigKeyAddressType key_address_typ… in GetConfigSection() 74 ConfigCache* config, in Device() 75 ConfigCache* memory_only_config, in Device() 80 Device::Device(ConfigCache* config, ConfigCache* memory_only_config, std::string section) in Device()
|
D | legacy_config_file.cc | 35 std::optional<ConfigCache> LegacyConfigFile::Read(size_t temp_devices_capacity) { in Read() 43 ConfigCache cache(temp_devices_capacity, Device::kLinkKeyProperties); in Read() 45 std::string section(ConfigCache::kDefaultSectionName); in Read() 73 bool LegacyConfigFile::Write(const ConfigCache& cache) { in Write()
|
D | adapter_config.cc | 22 AdapterConfig::AdapterConfig(ConfigCache* config, ConfigCache* memory_only_config, std::string sect… in AdapterConfig()
|
D | config_cache_helper_test.cc | 29 using bluetooth::storage::ConfigCache; 34 ConfigCache config(100, Device::kLinkKeyProperties); in TEST() 46 ConfigCache config(100, Device::kLinkKeyProperties); in TEST() 64 ConfigCache config(100, Device::kLinkKeyProperties); in TEST() 83 ConfigCache config(100, Device::kLinkKeyProperties); in TEST() 102 ConfigCache config(100, Device::kLinkKeyProperties); in TEST() 123 ConfigCache config(100, Device::kLinkKeyProperties); in TEST()
|
D | legacy_config_file.h | 33 std::optional<ConfigCache> Read(size_t temp_devices_capacity); 34 bool Write(const ConfigCache& cache);
|
D | le_device.cc | 36 LeDevice::LeDevice(ConfigCache* config, ConfigCache* memory_only_config, std::string section) in LeDevice()
|
D | legacy_config_file_test.cc | 31 using bluetooth::storage::ConfigCache; 39 ConfigCache config(100, Device::kLinkKeyProperties); in TEST() 114 ConfigCache config(100, Device::kLinkKeyProperties); in TEST() 178 …EXPECT_THAT(config_read->GetProperty(ConfigCache::kDefaultSectionName, "first_key"), Optional(StrE… in TEST()
|
D | mutation.cc | 24 Mutation::Mutation(ConfigCache* config, ConfigCache* memory_only_config) in Mutation()
|
D | classic_device.cc | 28 ClassicDevice::ClassicDevice(ConfigCache* config, ConfigCache* memory_only_config, std::string sect… in ClassicDevice()
|
D | storage_module.h | 116 ConfigCache* GetConfigCache(); 118 ConfigCache* GetMemoryOnlyConfigCache();
|
D | storage_module.cc | 90 explicit impl(Handler* handler, ConfigCache cache, size_t in_memory_cache_size_limit) in impl() 93 ConfigCache cache_; 94 ConfigCache memory_only_cache_; 103 ConfigCache* StorageModule::GetConfigCache() { in GetConfigCache() 108 ConfigCache* StorageModule::GetMemoryOnlyConfigCache() { in GetMemoryOnlyConfigCache()
|
/system/bt/gd/security/test/ |
D | fake_storage_module.h | 32 storage::ConfigCache* GetConfigCachePublic() { in GetConfigCachePublic()
|