Searched refs:timers (Results 1 – 4 of 4) 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 | 9585 ArrayList<StopwatchTimer> timers = mBsi.mSensorTimers.get(sensor); in getSensorTimerLocked() local 9586 if (timers == null) { in getSensorTimerLocked() 9587 timers = new ArrayList<StopwatchTimer>(); in getSensorTimerLocked() 9588 mBsi.mSensorTimers.put(sensor, timers); in getSensorTimerLocked() 9590 t = new DualTimer(mBsi.mClocks, this, BatteryStats.SENSOR, timers, in getSensorTimerLocked()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/ |
D | NetworkTypeController.java | 250 private void createTimerRules(String icons, String timers, String secondaryTimers) { in createTimerRules() argument 279 if (!TextUtils.isEmpty(timers)) { in createTimerRules() 281 for (String triple : timers.trim().split(";")) { in createTimerRules()
|
/frameworks/base/core/java/android/os/ |
D | BatteryStats.java | 4787 final ArrayList<TimerEntry> timers = new ArrayList<>(); in dumpLocked() local 4812 timers.add(new TimerEntry(wakelocks.keyAt(iw), u.getUid(), in dumpLocked() 5338 if (timers.size() > 0) { in dumpLocked() 5339 Collections.sort(timers, timerComparator); in dumpLocked() 5341 for (int i=0; i<timers.size(); i++) { in dumpLocked() 5342 TimerEntry timer = timers.get(i); in dumpLocked() 5352 timers.clear(); in dumpLocked()
|