sm6375-common: power-libperfmgr: rename namespace for Pixel power HAL

Bug: 152811907
Test: Build
Change-Id: I6848e929d8a26b540fcee9145376b896c3cd9799
This commit is contained in:
Wei Wang 2024-07-18 20:16:00 +05:30 committed by Anand S
commit adf7076162
No known key found for this signature in database
GPG key ID: 3B2983FA448B3D61
5 changed files with 19 additions and 21 deletions

View file

@ -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