diff options
author | Benjamin Schwartz <bsschwar@google.com> | 2019-02-22 09:47:09 -0800 |
---|---|---|
committer | Benjamin Schwartz <bsschwar@google.com> | 2019-02-22 09:47:09 -0800 |
commit | bd21041817291f6a74ee73730fd116695320aeff (patch) | |
tree | 9a0bef80034ebc68e3e7d4789bca9de06929ed11 /power | |
parent | 603244cb70d64a1862dbb1a1f411500c9fa62fa4 (diff) | |
download | android_hardware_interfaces-bd21041817291f6a74ee73730fd116695320aeff.tar.gz android_hardware_interfaces-bd21041817291f6a74ee73730fd116695320aeff.tar.bz2 android_hardware_interfaces-bd21041817291f6a74ee73730fd116695320aeff.zip |
power.stats: Specifying opaqueness of some members
subsysName, railName, powerEntityName, and powerEntityStateName are all
opaque to the Android framework. Emphasizing the opaque nature of these
members in the HAL definition will help developers more quickly
understand the intent of the interface.
Bug: 125380339
Test: make
Change-Id: I42ed1f3cc928726ae146b6be849947b631ae48e6
Diffstat (limited to 'power')
-rw-r--r-- | power/stats/1.0/types.hal | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/power/stats/1.0/types.hal b/power/stats/1.0/types.hal index 644224bb3..6051e3fe5 100644 --- a/power/stats/1.0/types.hal +++ b/power/stats/1.0/types.hal @@ -26,9 +26,9 @@ enum Status : uint32_t { struct RailInfo { /** Index corresponding to the rail */ uint32_t index; - /** Name of the rail */ + /** Name of the rail (opaque to the framework) */ string railName; - /** Name of the subsystem to which this rail belongs */ + /** Name of the subsystem to which this rail belongs (opaque to the framework) */ string subsysName; /** Hardware sampling rate */ uint32_t samplingRate; @@ -71,7 +71,7 @@ enum PowerEntityType : uint32_t { struct PowerEntityInfo { /** Unique ID corresponding to the PowerEntity */ uint32_t powerEntityId; - /** Name of the PowerEntity */ + /** Name of the PowerEntity (opaque to the framework) */ string powerEntityName; /** Type of the PowerEntity */ PowerEntityType type; @@ -82,7 +82,7 @@ struct PowerEntityStateInfo { * ID corresponding to the state. Unique for a given PowerEntityStateSpace */ uint32_t powerEntityStateId; - /** Name of the state */ + /** Name of the state (opaque to the framework) */ string powerEntityStateName; }; |