Lines Matching refs:string
34 std::vector<std::string> GetPersistentSectionNames();
36 bool HasSection(const std::string& section_name);
37 bool HasUnpairedSection(const std::string& section_name);
38 bool HasPersistentSection(const std::string& section_name);
39 bool HasKey(const std::string& section_name, const std::string& key);
40 bool RemoveKey(const std::string& section_name, const std::string& key);
41 void RemovePersistentSectionsWithKey(const std::string& key);
44 void SetString(std::string section_name, std::string key, std::string value);
45 std::optional<std::string> GetString(const std::string& section_name,
46 const std::string& key);
47 void SetInt(std::string section_name, std::string key, int value);
48 std::optional<int> GetInt(const std::string& section_name,
49 const std::string& key);
50 void SetUint64(std::string section_name, std::string key, uint64_t value);
51 std::optional<uint64_t> GetUint64(const std::string& section_name,
52 const std::string& key);
53 void SetBool(std::string section_name, std::string key, bool value);
54 std::optional<bool> GetBool(const std::string& section_name,
55 const std::string& key);
58 bluetooth::common::LruCache<std::string, section_t> unpaired_devices_cache_;