Skip to content

Commit

Permalink
Mixin changes for Power and stats hal
Browse files Browse the repository at this point in the history
apex bundled with power and stats hal
is being added to product packages.

Adding mixin group for power-stats hal
This can be used with the non-apex version
if needed.

Test Done: Boot and check if power stats
and power hal are loaded

Tracked-On: OAM-126029
Signed-off-by: Shwetha B <[email protected]>
  • Loading branch information
shwethabolumbu committed Nov 5, 2024
1 parent e226f77 commit d535a99
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 1 deletion.
1 change: 1 addition & 0 deletions groups/power-stats/default
22 changes: 22 additions & 0 deletions groups/power-stats/doc.spec
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
=== Overview

power-stats is a group used to obtain the power related metrics.

--- deps

- none

==== Options

--- default

This option is linked to false option.

--- false

This option will disable stats sevices.


--- true

This option will enable the services of power-stats aidl.
Empty file.
1 change: 1 addition & 0 deletions groups/power-stats/true/BoardConfig.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
BOARD_SEPOLICY_DIRS += $(INTEL_PATH_SEPOLICY)/power_stats
2 changes: 2 additions & 0 deletions groups/power-stats/true/product.mk
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
PRODUCT_PACKAGES += android.hardware.power.stats-service.intel

2 changes: 1 addition & 1 deletion groups/power/true/product.mk
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# Power HAL
PRODUCT_PACKAGES += power.$(TARGET_BOARD_PLATFORM) \
android.hardware.power-service.example \
com.android.hardware.power.intel \
power_hal_helper

0 comments on commit d535a99

Please sign in to comment.