Skip to content

Commit

Permalink
begonia: Build power-service.begonia-libperfmgr
Browse files Browse the repository at this point in the history
Signed-off-by: Sarthak Roy <[email protected]>
Change-Id: I37cff12b773ab4c5b4b9da80ba03725f5afb3fe7
Signed-off-by: Saikrishna1504 <[email protected]>
  • Loading branch information
sarthakroy2002 authored and Saikrishna1504 committed Apr 10, 2024
1 parent 9de931c commit 04c1871
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 4 deletions.
6 changes: 3 additions & 3 deletions configs/powerhint.json
Original file line number Diff line number Diff line change
Expand Up @@ -345,7 +345,7 @@
},
{
"Name": "PowerHALMainState",
"Path": "vendor.mediatek.powerhal.state",
"Path": "vendor.powerhal.state",
"Values": [
"SUSTAINED_PERFORMANCE",
""
Expand All @@ -354,7 +354,7 @@
},
{
"Name": "PowerHALAudioState",
"Path": "vendor.mediatek.powerhal.audio",
"Path": "vendor.powerhal.audio",
"Values": [
"AUDIO_STREAMING_LOW_LATENCY",
""
Expand All @@ -363,7 +363,7 @@
},
{
"Name": "PowerHALRenderingState",
"Path": "vendor.mediatek.powerhal.rendering",
"Path": "vendor.powerhal.rendering",
"Values": [
"EXPENSIVE_RENDERING",
""
Expand Down
2 changes: 1 addition & 1 deletion device.mk
Original file line number Diff line number Diff line change
Expand Up @@ -261,7 +261,7 @@ PRODUCT_COPY_FILES += \

# Power
PRODUCT_PACKAGES += \
android.hardware.power-service.mediatek-libperfmgr \
android.hardware.power-service.begonia-libperfmgr \
[email protected] \
[email protected] \
[email protected] \
Expand Down
3 changes: 3 additions & 0 deletions sepolicy/vendor/file_contexts
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,6 @@
# Mi Thermald
/vendor/bin/mi_thermald u:object_r:mi_thermald_exec:s0
/data/vendor/thermal(/.*)? u:object_r:thermal_data_file:s0

# Power
/(vendor|system/vendor)/bin/hw/android\.hardware\.power-service\.begonia-libperfmgr u:object_r:hal_power_default_exec:s0

0 comments on commit 04c1871

Please sign in to comment.