sm6375-common: power-libperfmgr: rename namespace for Pixel power HAL
Bug: 152811907 Test: Build Change-Id: I6848e929d8a26b540fcee9145376b896c3cd9799
This commit is contained in:
parent
3a0fabd235
commit
adf7076162
5 changed files with 19 additions and 21 deletions
|
|
@ -20,20 +20,19 @@
|
|||
#include <memory>
|
||||
#include <thread>
|
||||
|
||||
#include <aidl/android/hardware/pixel/extension/power/BnPowerExt.h>
|
||||
#include <aidl/google/hardware/power/extension/pixel/BnPowerExt.h>
|
||||
#include <perfmgr/HintManager.h>
|
||||
|
||||
namespace aidl {
|
||||
namespace android {
|
||||
namespace google {
|
||||
namespace hardware {
|
||||
namespace pixel {
|
||||
namespace extension {
|
||||
namespace power {
|
||||
namespace impl {
|
||||
namespace pixel {
|
||||
|
||||
using ::android::perfmgr::HintManager;
|
||||
|
||||
class PowerExt : public BnPowerExt {
|
||||
class PowerExt : public ::aidl::google::hardware::power::extension::pixel::BnPowerExt {
|
||||
public:
|
||||
PowerExt(std::shared_ptr<HintManager> hm) : mHintManager(hm) {}
|
||||
ndk::ScopedAStatus setMode(const std::string &mode, bool enabled) override;
|
||||
|
|
@ -45,10 +44,9 @@ class PowerExt : public BnPowerExt {
|
|||
std::shared_ptr<HintManager> mHintManager;
|
||||
};
|
||||
|
||||
} // namespace pixel
|
||||
} // namespace impl
|
||||
} // namespace power
|
||||
} // namespace extension
|
||||
} // namespace pixel
|
||||
} // namespace hardware
|
||||
} // namespace android
|
||||
} // namespace google
|
||||
} // namespace aidl
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue