dump_modemlog: include log mask history files in dumpstate

This was missed in the porting over from gs201/.../dumpstate.cpp.

Test: Manually trigger bugreport and ensure that LoggingHistory.csv and
LoggingMaskHistory.csv are included
Bug:284275049

Change-Id: Ia630f3f1883b338fa879cfd6ea6bdd4c2a00437c
This commit is contained in:
kierancyphus 2023-06-30 04:50:50 +08:00
parent c319cdc9b7
commit 52d632cbe7
9 changed files with 560 additions and 43 deletions

View file

@ -0,0 +1,21 @@
#pragma once
#include <string>
namespace modem {
namespace logging {
/**
* @brief Interface for interacting with Android System Properties.
*/
class AndroidPropertyManager {
public:
virtual ~AndroidPropertyManager() = default;
virtual bool GetBoolProperty(const std::string& key, bool default_value);
virtual std::string GetProperty(const std::string& key,
const std::string& default_value);
virtual int GetIntProperty(const std::string& key, int default_value);
virtual void SetProperty(const std::string& key, const std::string& value);
};
} // namespace logging
} // namespace modem