Merge "Game Loading Time improvement by boosting CPU via ADPF"
This commit is contained in:
commit
c3df4b4252
5 changed files with 9 additions and 3 deletions
|
@ -458,7 +458,7 @@
|
|||
</hal>
|
||||
<hal format="aidl" optional="false">
|
||||
<name>android.hardware.power</name>
|
||||
<version>1-2</version>
|
||||
<version>1-3</version>
|
||||
<interface>
|
||||
<name>IPower</name>
|
||||
<instance>default</instance>
|
||||
|
|
|
@ -49,4 +49,5 @@ enum Mode {
|
|||
CAMERA_STREAMING_LOW = 12,
|
||||
CAMERA_STREAMING_MID = 13,
|
||||
CAMERA_STREAMING_HIGH = 14,
|
||||
GAME_LOADING = 15,
|
||||
}
|
||||
|
|
|
@ -162,4 +162,9 @@ enum Mode {
|
|||
* This hint indicates that camera high resolution stream is being started.
|
||||
*/
|
||||
CAMERA_STREAMING_HIGH,
|
||||
|
||||
/**
|
||||
* This mode indicates that the user is waiting for loading in a game.
|
||||
*/
|
||||
GAME_LOADING,
|
||||
}
|
||||
|
|
|
@ -30,7 +30,7 @@ cc_binary {
|
|||
shared_libs: [
|
||||
"libbase",
|
||||
"libbinder_ndk",
|
||||
"android.hardware.power-V2-ndk",
|
||||
"android.hardware.power-V3-ndk",
|
||||
],
|
||||
srcs: [
|
||||
"main.cpp",
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
<manifest version="1.0" type="device">
|
||||
<hal format="aidl">
|
||||
<name>android.hardware.power</name>
|
||||
<version>2</version>
|
||||
<version>3</version>
|
||||
<fqname>IPower/default</fqname>
|
||||
</hal>
|
||||
</manifest>
|
||||
|
|
Loading…
Reference in a new issue