Loading core/java/android/os/BatteryConsumer.java +1 −1 Original line number Original line Diff line number Diff line Loading @@ -239,7 +239,7 @@ public abstract class BatteryConsumer { new Dimensions(POWER_COMPONENT_ANY, PROCESS_STATE_ANY); new Dimensions(POWER_COMPONENT_ANY, PROCESS_STATE_ANY); /** /** * Identifies power attribution dimensions that are captured by an data element of * Identifies power attribution dimensions that are captured by a data element of * a BatteryConsumer. These Keys are used to access those values and to set them using * a BatteryConsumer. These Keys are used to access those values and to set them using * Builders. See for example {@link #getConsumedPower(Key)}. * Builders. See for example {@link #getConsumedPower(Key)}. * * Loading core/java/android/os/BatteryStats.java +3 −3 Original line number Original line Diff line number Diff line Loading @@ -1576,7 +1576,7 @@ public abstract class BatteryStats { outNumOfInterest[0] = numOfInterest; outNumOfInterest[0] = numOfInterest; } } // The estimated time is the average time we spend in each level, multipled // The estimated time is the average time we spend in each level, multiplied // by 100 -- the total number of battery levels // by 100 -- the total number of battery levels return (total / numOfInterest) * 100; return (total / numOfInterest) * 100; } } Loading Loading @@ -2023,7 +2023,7 @@ public abstract class BatteryStats { public static final int EVENT_TOP = 0x0003; public static final int EVENT_TOP = 0x0003; // Event is about active sync operations. // Event is about active sync operations. public static final int EVENT_SYNC = 0x0004; public static final int EVENT_SYNC = 0x0004; // Events for all additional wake locks aquired/release within a wake block. // Events for all additional wake locks acquired/release within a wake block. // These are not generated by default. // These are not generated by default. public static final int EVENT_WAKE_LOCK = 0x0005; public static final int EVENT_WAKE_LOCK = 0x0005; // Event is about an application executing a scheduled job. // Event is about an application executing a scheduled job. Loading Loading @@ -3389,7 +3389,7 @@ public abstract class BatteryStats { * incoming service calls from apps. The result is returned as an array of longs, * incoming service calls from apps. The result is returned as an array of longs, * organized as a sequence like this: * organized as a sequence like this: * <pre> * <pre> * cluster1-speeed1, cluster1-speed2, ..., cluster2-speed1, cluster2-speed2, ... * cluster1-speed1, cluster1-speed2, ..., cluster2-speed1, cluster2-speed2, ... * </pre> * </pre> * * * @see com.android.internal.os.PowerProfile#getNumCpuClusters() * @see com.android.internal.os.PowerProfile#getNumCpuClusters() Loading core/java/android/os/health/HealthStatsWriter.java +1 −1 Original line number Original line Diff line number Diff line Loading @@ -58,7 +58,7 @@ public class HealthStatsWriter { * Construct a HealthStatsWriter object with the given constants. * Construct a HealthStatsWriter object with the given constants. * * * The "getDataType()" of the resulting HealthStats object will be the * The "getDataType()" of the resulting HealthStats object will be the * short name of the java class that the Constants object was initalized * short name of the java class that the Constants object was initialized * with. * with. */ */ public HealthStatsWriter(HealthKeys.Constants constants) { public HealthStatsWriter(HealthKeys.Constants constants) { Loading core/java/android/os/image/DynamicSystemClient.java +1 −1 Original line number Original line Diff line number Diff line Loading @@ -52,7 +52,7 @@ import java.util.concurrent.Executor; * * * After the installation is completed, the device will be running in the new system on next the * After the installation is completed, the device will be running in the new system on next the * reboot. Then, when the user reboots the device again, it will leave {@code DynamicSystem} and go * reboot. Then, when the user reboots the device again, it will leave {@code DynamicSystem} and go * back to the original system. While running in {@code DynamicSystem}, persitent storage for * back to the original system. While running in {@code DynamicSystem}, persistent storage for * factory reset protection (FRP) remains unchanged. Since the user is running the new system with * factory reset protection (FRP) remains unchanged. Since the user is running the new system with * a temporarily created data partition, their original user data are kept unchanged.</p> * a temporarily created data partition, their original user data are kept unchanged.</p> * * Loading core/java/android/os/image/DynamicSystemManager.java +1 −1 Original line number Original line Diff line number Diff line Loading @@ -172,7 +172,7 @@ public class DynamicSystemManager { } } } } /** /** * Finish a previously started installation. Installations without a cooresponding * Finish a previously started installation. Installations without a corresponding * finishInstallation() will be cleaned up during device boot. * finishInstallation() will be cleaned up during device boot. */ */ @RequiresPermission(android.Manifest.permission.MANAGE_DYNAMIC_SYSTEM) @RequiresPermission(android.Manifest.permission.MANAGE_DYNAMIC_SYSTEM) Loading Loading
core/java/android/os/BatteryConsumer.java +1 −1 Original line number Original line Diff line number Diff line Loading @@ -239,7 +239,7 @@ public abstract class BatteryConsumer { new Dimensions(POWER_COMPONENT_ANY, PROCESS_STATE_ANY); new Dimensions(POWER_COMPONENT_ANY, PROCESS_STATE_ANY); /** /** * Identifies power attribution dimensions that are captured by an data element of * Identifies power attribution dimensions that are captured by a data element of * a BatteryConsumer. These Keys are used to access those values and to set them using * a BatteryConsumer. These Keys are used to access those values and to set them using * Builders. See for example {@link #getConsumedPower(Key)}. * Builders. See for example {@link #getConsumedPower(Key)}. * * Loading
core/java/android/os/BatteryStats.java +3 −3 Original line number Original line Diff line number Diff line Loading @@ -1576,7 +1576,7 @@ public abstract class BatteryStats { outNumOfInterest[0] = numOfInterest; outNumOfInterest[0] = numOfInterest; } } // The estimated time is the average time we spend in each level, multipled // The estimated time is the average time we spend in each level, multiplied // by 100 -- the total number of battery levels // by 100 -- the total number of battery levels return (total / numOfInterest) * 100; return (total / numOfInterest) * 100; } } Loading Loading @@ -2023,7 +2023,7 @@ public abstract class BatteryStats { public static final int EVENT_TOP = 0x0003; public static final int EVENT_TOP = 0x0003; // Event is about active sync operations. // Event is about active sync operations. public static final int EVENT_SYNC = 0x0004; public static final int EVENT_SYNC = 0x0004; // Events for all additional wake locks aquired/release within a wake block. // Events for all additional wake locks acquired/release within a wake block. // These are not generated by default. // These are not generated by default. public static final int EVENT_WAKE_LOCK = 0x0005; public static final int EVENT_WAKE_LOCK = 0x0005; // Event is about an application executing a scheduled job. // Event is about an application executing a scheduled job. Loading Loading @@ -3389,7 +3389,7 @@ public abstract class BatteryStats { * incoming service calls from apps. The result is returned as an array of longs, * incoming service calls from apps. The result is returned as an array of longs, * organized as a sequence like this: * organized as a sequence like this: * <pre> * <pre> * cluster1-speeed1, cluster1-speed2, ..., cluster2-speed1, cluster2-speed2, ... * cluster1-speed1, cluster1-speed2, ..., cluster2-speed1, cluster2-speed2, ... * </pre> * </pre> * * * @see com.android.internal.os.PowerProfile#getNumCpuClusters() * @see com.android.internal.os.PowerProfile#getNumCpuClusters() Loading
core/java/android/os/health/HealthStatsWriter.java +1 −1 Original line number Original line Diff line number Diff line Loading @@ -58,7 +58,7 @@ public class HealthStatsWriter { * Construct a HealthStatsWriter object with the given constants. * Construct a HealthStatsWriter object with the given constants. * * * The "getDataType()" of the resulting HealthStats object will be the * The "getDataType()" of the resulting HealthStats object will be the * short name of the java class that the Constants object was initalized * short name of the java class that the Constants object was initialized * with. * with. */ */ public HealthStatsWriter(HealthKeys.Constants constants) { public HealthStatsWriter(HealthKeys.Constants constants) { Loading
core/java/android/os/image/DynamicSystemClient.java +1 −1 Original line number Original line Diff line number Diff line Loading @@ -52,7 +52,7 @@ import java.util.concurrent.Executor; * * * After the installation is completed, the device will be running in the new system on next the * After the installation is completed, the device will be running in the new system on next the * reboot. Then, when the user reboots the device again, it will leave {@code DynamicSystem} and go * reboot. Then, when the user reboots the device again, it will leave {@code DynamicSystem} and go * back to the original system. While running in {@code DynamicSystem}, persitent storage for * back to the original system. While running in {@code DynamicSystem}, persistent storage for * factory reset protection (FRP) remains unchanged. Since the user is running the new system with * factory reset protection (FRP) remains unchanged. Since the user is running the new system with * a temporarily created data partition, their original user data are kept unchanged.</p> * a temporarily created data partition, their original user data are kept unchanged.</p> * * Loading
core/java/android/os/image/DynamicSystemManager.java +1 −1 Original line number Original line Diff line number Diff line Loading @@ -172,7 +172,7 @@ public class DynamicSystemManager { } } } } /** /** * Finish a previously started installation. Installations without a cooresponding * Finish a previously started installation. Installations without a corresponding * finishInstallation() will be cleaned up during device boot. * finishInstallation() will be cleaned up during device boot. */ */ @RequiresPermission(android.Manifest.permission.MANAGE_DYNAMIC_SYSTEM) @RequiresPermission(android.Manifest.permission.MANAGE_DYNAMIC_SYSTEM) Loading