Merge "Add a way to disable auto prefer fit for launch." into main

This commit is contained in:
Dmitry Skiba 2024-12-09 19:00:58 +00:00 committed by Android (Google) Code Review
commit 33b4eae970
2 changed files with 32 additions and 7 deletions

View file

@ -455,3 +455,8 @@ PRODUCT_COPY_FILES += \
PRODUCT_COPY_FILES += \
device/google/akita/bluetooth/audio_set_configurations.json:$(TARGET_COPY_OUT_VENDOR)/etc/aidl/le_audio/aidl_audio_set_configurations.json
# Enable APF by default
PRODUCT_VENDOR_PROPERTIES += \
vendor.powerhal.apf_disabled=false \
vendor.powerhal.apf_enabled=true

View file

@ -992,6 +992,13 @@
"Duration": 5000,
"Value": "615"
},
{
"PowerHint": "LAUNCH",
"Node": "TAUClampBoost",
"Duration": 5000,
"Value": "765",
"EnableProperty": "vendor.powerhal.apf_disabled"
},
{
"PowerHint": "LAUNCH",
"Node": "FGUClampBoost",
@ -1066,37 +1073,43 @@
"PowerHint": "LAUNCH",
"Node": "TAAutoPreferFit",
"Duration": 5000,
"Value": "1"
"Value": "1",
"EnableProperty": "vendor.powerhal.apf_enabled"
},
{
"PowerHint": "LAUNCH",
"Node": "TAUclampMinOnNiceEnable",
"Duration": 5000,
"Value": "1"
"Value": "1",
"EnableProperty": "vendor.powerhal.apf_enabled"
},
{
"PowerHint": "LAUNCH",
"Node": "TAUclampMinOnNiceHighValue",
"Duration": 5000,
"Value": "765"
"Value": "765",
"EnableProperty": "vendor.powerhal.apf_enabled"
},
{
"PowerHint": "LAUNCH",
"Node": "TAUclampMinOnNiceHighPrio",
"Duration": 5000,
"Value": "110"
"Value": "110",
"EnableProperty": "vendor.powerhal.apf_enabled"
},
{
"PowerHint": "LAUNCH",
"Node": "TAUclampMinOnNiceMidValue",
"Duration": 5000,
"Value": "570"
"Duration": 5000,
"Value": "570",
"EnableProperty": "vendor.powerhal.apf_enabled"
},
{
"PowerHint": "LAUNCH",
"Node": "TAUclampMinOnNiceMidPrio",
"Duration": 5000,
"Value": "139"
"Value": "139",
"EnableProperty": "vendor.powerhal.apf_enabled"
},
{
"PowerHint": "LAUNCH",
@ -1188,6 +1201,13 @@
"Duration": 5000,
"Value": "0x1ff"
},
{
"PowerHint": "LAUNCH",
"Node": "TAPreferredIdleMaskMid",
"Duration": 5000,
"Value": "0x1ff",
"EnableProperty": "vendor.powerhal.apf_disabled"
},
{
"PowerHint": "LAUNCH_EXTEND",
"Node": "FGPreferIdle",