sm7125-common: Use common libqti-perfd-client and power-libperfmgr
This commit is contained in:
@@ -1,4 +1,9 @@
|
||||
soong_namespace {
|
||||
[
|
||||
imports:
|
||||
"hardware/google/interfaces",
|
||||
"hardware/google/pixel",
|
||||
],
|
||||
}
|
||||
|
||||
cc_library_shared {
|
||||
|
||||
@@ -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
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user