Home
last modified time | relevance | path

Searched refs:timers (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/core/java/com/android/internal/os/
DMemoryPowerCalculator.java33 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()
DBatteryStatsImpl.java9572 ArrayList<StopwatchTimer> timers = mBsi.mSensorTimers.get(sensor); in getSensorTimerLocked() local
9573 if (timers == null) { in getSensorTimerLocked()
9574 timers = new ArrayList<StopwatchTimer>(); in getSensorTimerLocked()
9575 mBsi.mSensorTimers.put(sensor, timers); in getSensorTimerLocked()
9577 t = new DualTimer(mBsi.mClocks, this, BatteryStats.SENSOR, timers, in getSensorTimerLocked()
/frameworks/opt/gamesdk/third_party/protobuf-3.0.0/objectivec/Tests/CocoaPods/iOSCocoaPodsTester/iOSCocoaPodsTester/
DAppDelegate.m47 …// Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates…
51 …// Use this method to release shared resources, save user data, invalidate timers, and store enoug…
/frameworks/base/core/java/android/os/
DBatteryStats.java4735 final ArrayList<TimerEntry> timers = new ArrayList<>(); in dumpLocked() local
4760 timers.add(new TimerEntry(wakelocks.keyAt(iw), u.getUid(), in dumpLocked()
5286 if (timers.size() > 0) { in dumpLocked()
5287 Collections.sort(timers, timerComparator); in dumpLocked()
5289 for (int i=0; i<timers.size(); i++) { in dumpLocked()
5290 TimerEntry timer = timers.get(i); in dumpLocked()
5300 timers.clear(); in dumpLocked()