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

Commit 54ef8247 authored by Benjamin Schwartz's avatar Benjamin Schwartz Committed by Automerger Merge Worker
Browse files

power/stats: Rename PowerStats HAL am: 18a3fb5c

Original change: https://android-review.googlesource.com/c/platform/hardware/interfaces/+/1576527

MUST ONLY BE SUBMITTED BY AUTOMERGER

Change-Id: I61f1ad5baeb72cb71473f8a0c51be738e1994bd9
parents b2c06690 18a3fb5c
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -13,10 +13,10 @@
// limitations under the License.

aidl_interface {
    name: "android.hardware.powerstats",
    name: "android.hardware.power.stats",
    vendor_available: true,
    srcs: [
        "android/hardware/powerstats/*.aidl",
        "android/hardware/power/stats/*.aidl",
    ],
    stability: "vintf",
    backend: {
+1 −1
Original line number Diff line number Diff line
@@ -15,7 +15,7 @@
// with such a backward incompatible change, it has a high risk of breaking
// later when a module using the interface is updated, e.g., Mainline modules.

package android.hardware.powerstats;
package android.hardware.power.stats;
@VintfStability
parcelable ChannelInfo {
  int channelId;
+1 −1
Original line number Diff line number Diff line
@@ -15,7 +15,7 @@
// with such a backward incompatible change, it has a high risk of breaking
// later when a module using the interface is updated, e.g., Mainline modules.

package android.hardware.powerstats;
package android.hardware.power.stats;
@Backing(type="int") @VintfStability
enum EnergyConsumerId {
  DISPLAY = 0,
+2 −2
Original line number Diff line number Diff line
@@ -15,10 +15,10 @@
// with such a backward incompatible change, it has a high risk of breaking
// later when a module using the interface is updated, e.g., Mainline modules.

package android.hardware.powerstats;
package android.hardware.power.stats;
@VintfStability
parcelable EnergyConsumerResult {
  android.hardware.powerstats.EnergyConsumerId energyConsumerId;
  android.hardware.power.stats.EnergyConsumerId energyConsumerId;
  long timestampMs;
  long energyUWs;
}
+1 −1
Original line number Diff line number Diff line
@@ -15,7 +15,7 @@
// with such a backward incompatible change, it has a high risk of breaking
// later when a module using the interface is updated, e.g., Mainline modules.

package android.hardware.powerstats;
package android.hardware.power.stats;
@VintfStability
parcelable EnergyMeasurement {
  int channelId;
Loading