LG8n: power: Adapt namespace for libperfmgr

Signed-off-by: Shirayuki39 <lorddemecrius83@proton.me>
This commit is contained in:
Shirayuki39 2024-08-14 21:14:33 +08:00
parent 132d54c4d1
commit 92085eed10
2 changed files with 5 additions and 4 deletions

View file

@ -59,6 +59,7 @@ BUILD_BROKEN_VENDOR_PROPERTY_NAMESPACE := true
# DT2W # DT2W
TARGET_TAP_TO_WAKE_NODE := /proc/gesture_function TARGET_TAP_TO_WAKE_NODE := /proc/gesture_function
TARGET_POWERHAL_MODE_EXT := $(DEVICE_PATH)/power/power-mode.cpp
# DTB # DTB
BOARD_PREBUILT_DTBOIMAGE := $(KERNEL_PATH)/dtbo.img BOARD_PREBUILT_DTBOIMAGE := $(KERNEL_PATH)/dtbo.img

View file

@ -10,11 +10,11 @@
#include <sys/ioctl.h> #include <sys/ioctl.h>
namespace aidl { namespace aidl {
namespace android { namespace google {
namespace hardware { namespace hardware {
namespace power { namespace power {
namespace impl { namespace impl {
namespace mediatek { namespace pixel {
using ::aidl::android::hardware::power::Mode; using ::aidl::android::hardware::power::Mode;
@ -39,9 +39,9 @@ bool setDeviceSpecificMode(Mode type, bool enabled) {
} }
} }
} // namespace mediatek } // namespace pixel
} // namespace impl } // namespace impl
} // namespace power } // namespace power
} // namespace hardware } // namespace hardware
} // namespace android } // namespace google
} // namespace aidl } // namespace aidl