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

Commit 491112e2 authored by Thierry Strudel's avatar Thierry Strudel Committed by Android (Google) Code Review
Browse files

Merge "rename power_stats service to powerstats" into sc-dev

parents 1bdbcffa 22fc7553
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -3876,7 +3876,7 @@ public abstract class Context {
     * @see #getSystemService(String)
     * @hide
     */
    public static final String POWER_STATS_SERVICE = "power_stats";
    public static final String POWER_STATS_SERVICE = "powerstats";

    /**
     * Use with {@link #getSystemService(String)} to retrieve a
+3 −3
Original line number Diff line number Diff line
@@ -513,17 +513,17 @@ message IncidentProto {

    optional com.android.server.powerstats.PowerStatsServiceMeterProto powerstats_meter = 3054 [
        (section).type = SECTION_DUMPSYS,
        (section).args = "power_stats --proto meter"
        (section).args = "powerstats --proto meter"
    ];

    optional com.android.server.powerstats.PowerStatsServiceModelProto powerstats_model = 3055 [
        (section).type = SECTION_DUMPSYS,
        (section).args = "power_stats --proto model"
        (section).args = "powerstats --proto model"
    ];

    optional com.android.server.powerstats.PowerStatsServiceResidencyProto powerstats_residency = 3056 [
        (section).type = SECTION_DUMPSYS,
        (section).args = "power_stats --proto residency"
        (section).args = "powerstats --proto residency"
    ];

    // Dumps in text format (on userdebug and eng builds only): 4000 ~ 4999