dump_modemlog: move android_property_manager

android_property_manager is moved to its own folder in the root of the
modem folder. This is so that libeomservice proxy has a specific build
target to include.

Test: build, flash, check modem logs in bugreport
Bug: 302435001
Change-Id: Ifc4a0c888717f5c28cf9b642d0b978b495be29d0
This commit is contained in:
kierancyphus 2023-11-10 15:02:57 +08:00 committed by Kieran Cyphus
parent 3ed60cec02
commit 047f0aca49
11 changed files with 296 additions and 116 deletions

View file

@ -0,0 +1,25 @@
#pragma once
#include <string>
#include "android_property_manager.h"
namespace pixel_modem {
/**
* @brief Implementation of AndroidPropertyManager that directly forwards to
* android base methods.
*/
class AndroidPropertyManagerImpl : public AndroidPropertyManager {
public:
bool GetBoolProperty(const std::string& key, bool default_value) override;
std::string GetProperty(const std::string& key,
const std::string& default_value) override;
int GetIntProperty(const std::string& key, int default_value) override;
bool SetProperty(const std::string& key, const std::string& value) override;
};
} // namespace pixel_modem