HomeSort by relevance Sort by last modified time
    Searched refs:Wakelock (Results 1 - 17 of 17) sorted by null

  /frameworks/base/core/java/com/android/internal/os/
WakelockPowerCalculator.java 36 final ArrayMap<String, ? extends BatteryStats.Uid.Wakelock> wakelockStats =
40 final BatteryStats.Uid.Wakelock wakelock = wakelockStats.valueAt(i); local
44 BatteryStats.Timer timer = wakelock.getWakeTime(BatteryStats.WAKE_TYPE_PARTIAL);
BatteryStatsImpl.java 182 * Holding a wakelock costs more than just using the cpu.
184 * not holding a wakelock. The apps holding wakelocks get the rest of the blame.
185 * If no app is holding a wakelock, then the distribution is normal.
806 * The WiFi Overall wakelock timer
809 * per uid wakelock timers
8246 Uid.Wakelock wakelock = wakeStats.valueAt(iw); local
8544 Uid.Wakelock wakelock = new Wakelock(mBsi, this); local
    [all...]
  /packages/apps/Settings/src/com/android/settings/fuelgauge/
FakeUid.java 44 public ArrayMap<String, ? extends Wakelock> getWakelockStats() {
  /frameworks/base/services/core/java/com/android/server/am/
HealthStatsBatteryStatsWriter.java 85 for (final Map.Entry<String,? extends BatteryStats.Uid.Wakelock> entry:
88 final BatteryStats.Uid.Wakelock wakelock = entry.getValue(); local
91 timer = wakelock.getWakeTime(BatteryStats.WAKE_TYPE_FULL);
95 timer = wakelock.getWakeTime(BatteryStats.WAKE_TYPE_PARTIAL);
99 timer = wakelock.getWakeTime(BatteryStats.WAKE_TYPE_WINDOW);
103 timer = wakelock.getWakeTime(BatteryStats.WAKE_TYPE_DRAW);
  /frameworks/base/core/proto/android/os/
batterystats.proto 262 // Kernel wakelock metrics are only recorded when the device is unplugged
268 // Kernel wakelock stats aren't apportioned across all kernel wakelocks (as
282 // The total elapsed time that a partial wakelock was held. This duration
796 // Aggregated wakelock data for an app overall, across all of its wakelocks.
797 // The Wakelock message holds data about each *individual* wakelock, but i
    [all...]
  /cts/hostsidetests/statsd/src/android/cts/statsd/validation/
ValidationTests.java 24 import android.os.UidProto.Wakelock;
120 assertTrue("Expected wakelock level: " + EXPECTED_LEVEL + ", but got level: " + type,
163 // Get the batterystats wakelock time and make sure it's reasonable.
169 assertTrue("Wakelock in batterystats with uid " + EXPECTED_UID + " and tag "
172 assertTrue("Wakelock in batterystats with uid " + EXPECTED_UID + " and tag "
176 // Get the statsd wakelock time and make sure it's reasonable.
183 assertTrue("Wakelock in statsd with uid " + EXPECTED_UID + " and tag " + EXPECTED_TAG +
186 assertTrue("Wakelock in statsd with uid " + EXPECTED_UID + " and tag " + EXPECTED_TAG +
225 // TODO: this fails because we only have the hashes of the wakelock tags in statsd.
239 // for (Wakelock wl : uidProto.getWakelocksList())
    [all...]
  /frameworks/base/core/java/android/os/
BatteryStats.java 215 * - Wakelock data (wl) gets current and max times.
219 * - Actual (not just apportioned) Wakelock time is also recorded.
220 * - Aggregated partial wakelock time (per uid, instead of per wakelock) is recorded.
225 * - Background partial wakelock time & count
238 * - WiFi Multicast Wakelock statistics (count & duration)
292 // cumulative partial wakelock duration, cumulative background partial wakelock duration
602 * Returns a mapping containing wakelock statistics.
604 * @return a Map from Strings to Uid.Wakelock objects
    [all...]
  /cts/hostsidetests/incident/src/com/android/server/cts/
BatteryStatsIncidentTest.java 462 for (UidProto.Wakelock w : u.getWakelocksList()) {
463 // Unfortunately, apps can legitimately pass an empty string as the wakelock name, so we
464 // can't guarantee that wakelock names will be non-empty.
  /frameworks/base/config/
preloaded-classes     [all...]
  /prebuilts/misc/common/frameworks/
platformprotos-prebuilt.jar 
  /external/robolectric/v3/runtime/
android-all-4.4_r1-robolectric-1.jar 
android-all-5.0.0_r2-robolectric-1.jar 
android-all-5.1.1_r9-robolectric-1.jar 
  /prebuilts/misc/common/robolectric/android-all/
android-all-4.4_r1-robolectric-1.jar 
android-all-5.0.0_r2-robolectric-1.jar 
android-all-5.1.1_r9-robolectric-1.jar 
android-all-6.0.0_r1-robolectric-0.jar 

Completed in 1543 milliseconds