Home
last modified time | relevance | path

Searched refs:idleTime (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/services/core/java/com/android/server/power/stats/
DWifiPowerCalculator.java186 final long idleTime = idleTimeCounter.getCountLocked(statsType); in calculateApp() local
188 powerDurationAndTraffic.durationMs = idleTime + rxTime + txTime; in calculateApp()
191 calcPowerFromControllerDataMah(rxTime, txTime, idleTime); in calculateApp()
197 Log.d(TAG, "UID " + u.getUid() + ": idle=" + idleTime + "ms rx=" + rxTime in calculateApp()
DBluetoothPowerStatsCollector.java217 long idleTime = activityInfo.getControllerIdleTimeMillis(); in collectBluetoothActivityInfo() local
218 long idleTimeDelta = Math.max(0, idleTime - mLastIdleTime); in collectBluetoothActivityInfo()
220 mLastIdleTime = idleTime; in collectBluetoothActivityInfo()
DBluetoothPowerStatsProcessor.java166 long idleTime = mStatsLayout.getDeviceIdleTime(mTmpDeviceStatsArray); in computeDevicePowerEstimates() local
170 intermediates.idlePower = mIdlePowerEstimator.calculatePower(idleTime); in computeDevicePowerEstimates()
/frameworks/base/core/java/android/os/connectivity/
DWifiActivityEnergyInfo.java175 long idleTime = in.readLong();
177 txTime, rxTime, scanTime, idleTime);
/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/
DBluetoothPowerCalculatorTest.java364 long txTime, long rxTime, long idleTime, long energyUsed, List<UidTraffic> traffic) { in createBtEnergyInfo() argument
371 when(info.getControllerIdleTimeMillis()).thenReturn(idleTime); in createBtEnergyInfo()
381 btActivityEnergyInfoParcel.writeLong(idleTime); in createBtEnergyInfo()
/frameworks/base/services/core/java/com/android/server/am/
DAppProfiler.java2243 final int idleTime = mProcessCpuTracker.getLastIdleTime(); in updateCpuStatsNow() local
2245 systemTime, iowaitTime, irqTime, softIrqTime, idleTime); in updateCpuStatsNow()
DOomAdjuster.java3776 final long idleTime = uidRec.getLastIdleTimeIfStillIdle(); in idleUidsLocked() local
3777 if (bgTime > 0 && (!uidRec.isIdle() || idleTime == 0)) { in idleUidsLocked()