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

Commit 71c6f8ba authored by Benjamin Schwartz's avatar Benjamin Schwartz
Browse files

power/stats: Rename PowerStats HAL

Bug: 169864180
Test: m
Change-Id: I6abacd82d9bcbc5957dcad891ae5c742bc307316
parent bcd90535
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -381,7 +381,7 @@
        </interface>
    </hal>
    <hal format="aidl" optional="true">
        <name>android.hardware.powerstats</name>
        <name>android.hardware.power.stats</name>
        <interface>
            <name>IPowerStats</name>
            <instance>default</instance>
+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;
}
Loading