Home | History | Annotate | Download | only in os

Lines Matching refs:wakelock

481      * Holds a SamplingTimer associated with each kernel wakelock name being tracked.
1828 // Flag in delta int: contains a wakelock or wakeReason tag.
2256 // If the last written history had a wakelock tag, we need to retain it.
2258 // both it and the current history item have a wakelock tag.
2265 // both it and the current history item have a wakelock tag.
4419 final OverflowArrayMap<Wakelock> mWakelockStats = new OverflowArrayMap<Wakelock>() {
4420 @Override public Wakelock instantiateObject() { return new Wakelock(); }
4477 public ArrayMap<String, ? extends BatteryStats.Uid.Wakelock> getWakelockStats() {
5138 final ArrayMap<String, Wakelock> wakeStats = mWakelockStats.getMap();
5140 Wakelock wl = wakeStats.valueAt(iw);
5295 final ArrayMap<String, Wakelock> wakeStats = mWakelockStats.getMap();
5300 Uid.Wakelock wakelock = wakeStats.valueAt(iw);
5301 wakelock.writeToParcelLocked(out, elapsedRealtimeUs);
5481 Uid.Wakelock wakelock = new Wakelock();
5482 wakelock.readFromParcelLocked(timeBase, screenOffTimeBase, in);
5483 mWakelockStats.add(wakelockName, wakelock);
5669 public final class Wakelock extends BatteryStats.Uid.Wakelock {
6646 Wakelock wl = new Wakelock();
6714 Wakelock wl = mWakelockStats.startObject(name);
6727 Wakelock wl = mWakelockStats.stopObject(name);
7994 // Holding a wakelock costs more than just using the cpu.
7996 // not holding a wakelock. The apps holding wakelocks get the rest of the blame.
7997 // If no app is holding a wakelock, then the distribution is normal.
8054 // time to the process. The rest will be distributed among wakelock
8090 // Distribute a portion of the total cpu time to wakelock holders.
8098 // The system does not share any blame, as it is usually holding the wakelock
8106 sb.append(" Distributing wakelock uid=").append(timer.mUid.mUid)
8117 final Uid.Proc proc = timer.mUid.getProcessStatsLocked("*wakelock*");
9654 final ArrayMap<String, Uid.Wakelock> wakeStats = u.mWakelockStats.getMap();
9659 Uid.Wakelock wl = wakeStats.valueAt(iw);