-
Notifications
You must be signed in to change notification settings - Fork 258
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Mixin changes for Power and stats hal
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
1 parent
e226f77
commit d535a99
Showing
6 changed files
with
27 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
BOARD_SEPOLICY_DIRS += $(INTEL_PATH_SEPOLICY)/power_stats |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
PRODUCT_PACKAGES += android.hardware.power.stats-service.intel | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
|