sm7125-common: Use common libqti-perfd-client and power-libperfmgr

This commit is contained in:
shaenix
2025-08-07 15:35:09 +05:30
parent 7fdc4ef49a
commit 504852f955
3 changed files with 16 additions and 4 deletions

View File

@@ -1,4 +1,9 @@
soong_namespace {
[
imports:
"hardware/google/interfaces",
"hardware/google/pixel",
],
}
cc_library_shared {

View File

@@ -91,10 +91,13 @@ static int process_interaction_hint(void* data) {
using ::aidl::android::hardware::power::Boost;
namespace aidl {
namespace android {
namespace google {
namespace hardware {
namespace power {
namespace impl {
namespace pixel {
bool isDeviceSpecificBoostSupported(Boost type, bool *_aidl_return) {
switch (type) {
@@ -119,5 +122,6 @@ bool setDeviceSpecificBoost(Boost type, int32_t durationMs) {
} // namespace impl
} // namespace power
} // namespace hardware
} // namespace android
} // namespace google
} // namespace aidl
} // namespace pixel

View File

@@ -74,10 +74,12 @@ static int process_activity_launch_hint(void* data) {
using ::aidl::android::hardware::power::Mode;
namespace aidl {
namespace android {
namespace google {
namespace hardware {
namespace power {
namespace impl {
namespace pixel {
bool isDeviceSpecificModeSupported(Mode type, bool *_aidl_return) {
switch (type) {
@@ -102,5 +104,6 @@ bool setDeviceSpecificMode(Mode type, bool enabled) {
} // namespace impl
} // namespace power
} // namespace hardware
} // namespace android
} // namespace google
} // namespace aidl
} // namespace pixel