Searched refs:timers (Results 1 – 3 of 3) sorted by relevance
/frameworks/base/core/java/com/android/internal/os/ |
D | MemoryPowerCalculator.java | 33 LongSparseArray<? extends BatteryStats.Timer> timers = stats.getKernelMemoryStats(); in calculateRemaining() local 34 for (int i = 0; i < timers.size() && i < powerAverages.length; i++) { in calculateRemaining() 35 double mAatRail = powerAverages[(int) timers.keyAt(i)]; in calculateRemaining() 36 long timeMs = timers.valueAt(i).getTotalTimeLocked(rawRealtimeUs, statsType); in calculateRemaining() 39 Log.d(TAG, "Calculating mAh for bucket " + timers.keyAt(i) + " while unplugged"); in calculateRemaining() 41 + powerAverages[(int) timers.keyAt(i)] + " into " + mAatRail); in calculateRemaining()
|
D | BatteryStatsImpl.java | 8426 ArrayList<StopwatchTimer> timers = mBsi.mSensorTimers.get(sensor); in getSensorTimerLocked() local 8427 if (timers == null) { in getSensorTimerLocked() 8428 timers = new ArrayList<StopwatchTimer>(); in getSensorTimerLocked() 8429 mBsi.mSensorTimers.put(sensor, timers); in getSensorTimerLocked() 8431 t = new DualTimer(mBsi.mClocks, this, BatteryStats.SENSOR, timers, in getSensorTimerLocked()
|
/frameworks/base/core/java/android/os/ |
D | BatteryStats.java | 3967 final ArrayList<TimerEntry> timers = new ArrayList<>(); in dumpLocked() local 3992 timers.add(new TimerEntry(wakelocks.keyAt(iw), u.getUid(), in dumpLocked() 4469 if (timers.size() > 0) { in dumpLocked() 4470 Collections.sort(timers, timerComparator); in dumpLocked() 4472 for (int i=0; i<timers.size(); i++) { in dumpLocked() 4473 TimerEntry timer = timers.get(i); in dumpLocked() 4483 timers.clear(); in dumpLocked()
|