Skip to content

Commit 5d93e4b

Browse files
jimblacklercorplifehackerhansol
authored andcommitted
power-libperfmgr: : Game Loading Time improvement by boosting CPU via ADPF
Bug: 201769701 Test: atest android.gamemanager.cts.GameManagerTest Change-Id: I268ca9cc8e2f212bdb9c8bb1c890e7a845170ec6
1 parent 2eee5b3 commit 5d93e4b

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

power-libperfmgr/Android.bp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ cc_binary {
2222
"-Wno-unused-parameter",
2323
],
2424
shared_libs: [
25-
"android.hardware.power-V2-ndk",
25+
"android.hardware.power-V3-ndk",
2626
"libbase",
2727
"libbinder_ndk",
2828
"libcutils",

power-libperfmgr/aidl/Power.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,8 @@ ndk::ScopedAStatus Power::setMode(Mode type, bool enabled) {
105105
[[fallthrough]];
106106
case Mode::AUDIO_STREAMING_LOW_LATENCY:
107107
[[fallthrough]];
108+
case Mode::GAME_LOADING:
109+
[[fallthrough]];
108110
default:
109111
if (enabled) {
110112
HintManager::GetInstance()->DoHint(toString(type));
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<manifest version="1.0" type="device">
22
<hal format="aidl">
33
<name>android.hardware.power</name>
4-
<version>2</version>
4+
<version>3</version>
55
<fqname>IPower/default</fqname>
66
</hal>
77
</manifest>

0 commit comments

Comments
 (0)