/packages/modules/Bluetooth/system/gd/storage/ |
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 | config_cache_test.cc | 39 using bluetooth::storage::ConfigCache; 41 using SectionAndPropertyValue = bluetooth::storage::ConfigCache::SectionAndPropertyValue; 44 ConfigCache config(100, Device::kLinkKeyProperties); in TEST() 52 ConfigCache config(100, Device::kLinkKeyProperties); in TEST() 63 ConfigCache config(2, Device::kLinkKeyProperties); in TEST() 72 ConfigCache config_1(2, Device::kLinkKeyProperties); in TEST() 77 ConfigCache config_2(2, Device::kLinkKeyProperties); in TEST() 95 ConfigCache config_3(3, Device::kLinkKeyProperties); in TEST() 103 ConfigCache config_4(2, Device::kLinkKeyProperties); in TEST() 106 ConfigCache config_5(2, Device::kLinkKeyProperties); in TEST() [all …]
|
D | config_cache.h | 52 class ConfigCache { 54 …ConfigCache(size_t temp_device_capacity, std::unordered_set<std::string_view> persistent_property_… 56 ConfigCache(const ConfigCache&) = delete; 57 ConfigCache& operator=(const ConfigCache&) = delete; 59 virtual ~ConfigCache() = default; 64 ConfigCache(ConfigCache&& other) noexcept; 65 ConfigCache& operator=(ConfigCache&& other) noexcept; 68 bool operator==(const ConfigCache& rhs) const; 69 bool operator!=(const ConfigCache& rhs) const;
|
D | config_cache.cc | 59 const std::string ConfigCache::kDefaultSectionName = "Global"; 63 ConfigCache::ConfigCache(size_t temp_device_capacity, std::unordered_set<std::string_view> persiste… in ConfigCache() function in bluetooth::storage::ConfigCache 69 void ConfigCache::SetPersistentConfigChangedCallback(std::function<void()> persistent_config_change… in SetPersistentConfigChangedCallback() 74 ConfigCache::ConfigCache(ConfigCache&& other) noexcept in ConfigCache() function in bluetooth::storage::ConfigCache 85 ConfigCache& ConfigCache::operator=(ConfigCache&& other) noexcept { in operator =() 102 bool ConfigCache::operator==(const ConfigCache& rhs) const { in operator ==() 110 bool ConfigCache::operator!=(const ConfigCache& rhs) const { in operator !=() 114 void ConfigCache::Clear() { in Clear() 129 bool ConfigCache::HasSection(const std::string& section) const { in HasSection() 135 bool ConfigCache::HasProperty(const std::string& section, const std::string& property) const { in HasProperty() [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() 69 ConfigCache config1(10, Device::kLinkKeyProperties); in TEST() 70 ConfigCache config2(10, Device::kLinkKeyProperties); in TEST() 72 ConfigCache* smaller_config_ptr = &config1; in TEST() [all …]
|
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() 69 ConfigCache config1(10, Device::kLinkKeyProperties); in TEST() 70 ConfigCache config2(10, Device::kLinkKeyProperties); in TEST() 72 ConfigCache* smaller_config_ptr = &config1; 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 | mutation.h | 29 Mutation(ConfigCache* config, ConfigCache* memory_only_config); 32 friend ConfigCache; variable 35 ConfigCache* config_; 36 ConfigCache* memory_only_config_;
|
D | le_device.h | 31 LeDevice(ConfigCache* config, ConfigCache* memory_only_config, std::string section); 80 ConfigCache* config_; 81 ConfigCache* memory_only_config_; 108 std::size_t pointer_hash_1 = std::hash<bluetooth::storage::ConfigCache*>{}(val.config_); 109 std::size_t pointer_hash_2 = std::hash<bluetooth::storage::ConfigCache*>{}(val.config_);
|
D | classic_device.h | 33 ClassicDevice(ConfigCache* config, ConfigCache* memory_only_config, std::string section); 85 ConfigCache* config_; 86 ConfigCache* memory_only_config_; 106 std::size_t pointer_hash_1 = std::hash<bluetooth::storage::ConfigCache*>{}(val.config_); 107 std::size_t pointer_hash_2 = std::hash<bluetooth::storage::ConfigCache*>{}(val.config_);
|
D | device.h | 115 ConfigCache* config, 116 ConfigCache* memory_only_config, 119 Device(ConfigCache* config, ConfigCache* memory_only_config, std::string section); 181 ConfigCache* config_; 182 ConfigCache* memory_only_config_; 222 std::size_t pointer_hash_1 = std::hash<bluetooth::storage::ConfigCache*>{}(val.config_); 223 std::size_t pointer_hash_2 = std::hash<bluetooth::storage::ConfigCache*>{}(val.config_);
|
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 | device.cc | 40 …ConfigCache* config, const hci::Address& key_address, Device::ConfigKeyAddressType key_address_typ… in GetConfigSection() 76 ConfigCache* config, in Device() 77 ConfigCache* memory_only_config, in Device() 82 Device::Device(ConfigCache* config, ConfigCache* memory_only_config, std::string section) in Device()
|
D | legacy_config_file.cc | 37 std::optional<ConfigCache> LegacyConfigFile::Read(size_t temp_devices_capacity) { in Read() 45 ConfigCache cache(temp_devices_capacity, Device::kLinkKeyProperties); in Read() 47 std::string section(ConfigCache::kDefaultSectionName); in Read() 79 bool LegacyConfigFile::Write(const ConfigCache& cache) { in Write()
|
D | legacy_config_file_test.cc | 32 using bluetooth::storage::ConfigCache; 40 ConfigCache config(100, Device::kLinkKeyProperties); in TEST() 115 ConfigCache config(100, Device::kLinkKeyProperties); in TEST() 180 …EXPECT_THAT(config_read->GetProperty(ConfigCache::kDefaultSectionName, "first_key"), Optional(StrE… 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 | 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 | config_cache_helper.h | 40 static ConfigCacheHelper FromConfigCache(ConfigCache& config_cache) { in FromConfigCache() 43 explicit ConfigCacheHelper(ConfigCache& config_cache) : config_cache_(config_cache) {} in ConfigCacheHelper() 140 ConfigCache& config_cache_;
|
D | storage_module.cc | 94 explicit impl(Handler* handler, ConfigCache cache, size_t in_memory_cache_size_limit) in impl() 97 ConfigCache cache_; 98 ConfigCache memory_only_cache_;
|
D | storage_module_test.cc | 44 using bluetooth::storage::ConfigCache; 66 ConfigCache* GetMemoryOnlyConfigCachePublic() { in GetMemoryOnlyConfigCachePublic()
|
D | storage_module.h | 126 ConfigCache* GetMemoryOnlyConfigCache();
|
D | mutation_entry.h | 106 friend class ConfigCache;
|