Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit af8029ae authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "powerstats: Refine PowerStats HAL 2.0 documentation"

parents b26f98b5 5345624e
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -19,5 +19,5 @@ package android.hardware.powerstats;
@VintfStability
parcelable ChannelInfo {
  int channelId;
  String channelName;
  @utf8InCpp String channelName;
}
+1 −1
Original line number Diff line number Diff line
@@ -19,7 +19,7 @@ package android.hardware.powerstats;
@VintfStability
interface IPowerStats {
  android.hardware.powerstats.PowerEntityInfo[] getPowerEntityInfo();
  android.hardware.powerstats.StateResidencyResult[] getPowerEntityStateResidency(in int[] powerEntityIds);
  android.hardware.powerstats.StateResidencyResult[] getStateResidency(in int[] powerEntityIds);
  android.hardware.powerstats.EnergyConsumerId[] getEnergyConsumerInfo();
  android.hardware.powerstats.EnergyConsumerResult[] getEnergyConsumed(in android.hardware.powerstats.EnergyConsumerId[] energyConsumerIds);
  android.hardware.powerstats.ChannelInfo[] getEnergyMeterInfo();
+1 −1
Original line number Diff line number Diff line
@@ -19,6 +19,6 @@ package android.hardware.powerstats;
@VintfStability
parcelable PowerEntityInfo {
  int powerEntityId;
  String powerEntityName;
  @utf8InCpp String powerEntityName;
  android.hardware.powerstats.StateInfo[] states;
}
+1 −1
Original line number Diff line number Diff line
@@ -19,5 +19,5 @@ package android.hardware.powerstats;
@VintfStability
parcelable StateInfo {
  int stateId;
  String stateName;
  @utf8InCpp String stateName;
}
+3 −5
Original line number Diff line number Diff line
@@ -19,14 +19,12 @@ package android.hardware.powerstats;
@VintfStability
parcelable ChannelInfo {
    /**
     * Unique ID
     * Unique ID of this ChannelInfo
     */
    int channelId;
    /**
     * Unique name of the ChannelInfo:
     *
     * Vendor/device specific. Opaque to framework
     * Unique name of the ChannelInfo. Vendor/device specific. Opaque to framework
     */
    String channelName;
    @utf8InCpp String channelName;
}
Loading