1 #pragma once 2 3 #include <string> 4 5 namespace modem { 6 namespace logging { 7 8 /** 9 * @brief Interface for interacting with Android System Properties. 10 */ 11 class AndroidPropertyManager { 12 public: 13 virtual ~AndroidPropertyManager() = default; 14 virtual bool GetBoolProperty(const std::string& key, bool default_value); 15 virtual std::string GetProperty(const std::string& key, 16 const std::string& default_value); 17 virtual int GetIntProperty(const std::string& key, int default_value); 18 virtual void SetProperty(const std::string& key, const std::string& value); 19 }; 20 } // namespace logging 21 } // namespace modem 22