Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/power/stats/
DMobileRadioPowerStatsLayout.java220 long rxTime, int[] txTime) { in addRxTxTimesForRat() argument
221 if (txTime.length != mStateTxTimesCount) { in addRxTxTimesForRat()
222 Slog.wtf(TAG, "Invalid TX time array size: " + txTime.length); in addRxTxTimesForRat()
230 for (int i = txTime.length - 1; i >= 0; i--) { in addRxTxTimesForRat()
231 if (txTime[i] != 0) { in addRxTxTimesForRat()
253 stats[mStateTxTimesPosition + i] += txTime[i]; in addRxTxTimesForRat()
DBluetoothPowerStatsProcessor.java69 public long txTime; field in BluetoothPowerStatsProcessor.Intermediates
164 intermediates.txTime = mStatsLayout.getDeviceTxTime(mTmpDeviceStatsArray); in computeDevicePowerEstimates()
169 intermediates.txPower = mTxPowerEstimator.calculatePower(intermediates.txTime); in computeDevicePowerEstimates()
234 cdseIntermediates.txTime += intermediates.txTime; in combineDeviceStateEstimates()
269 boolean normalizeTxByScanTime = intermediates.scanTime > intermediates.txTime; in computeUidPowerEstimates()
DWifiPowerCalculator.java185 final long txTime = txTimeCounter.getCountLocked(statsType); in calculateApp() local
188 powerDurationAndTraffic.durationMs = idleTime + rxTime + txTime; in calculateApp()
191 calcPowerFromControllerDataMah(rxTime, txTime, idleTime); in calculateApp()
198 + "ms tx=" + txTime + "ms power=" + BatteryStats.formatCharge( in calculateApp()
DBluetoothPowerStatsCollector.java212 long txTime = activityInfo.getControllerTxTimeMillis(); in collectBluetoothActivityInfo() local
213 long txTimeDelta = Math.max(0, txTime - mLastTxTime); in collectBluetoothActivityInfo()
215 mLastTxTime = txTime; in collectBluetoothActivityInfo()
DMobileRadioPowerStatsProcessor.java264 long txTime = mStatsLayout.getStateTxTime(mTmpStateStatsArray, txLevel); in computeDevicePowerEstimates()
266 estimators.mTxPowerEstimators[txLevel].calculatePower(txTime); in computeDevicePowerEstimates()
/frameworks/base/core/java/android/os/connectivity/
DWifiActivityEnergyInfo.java172 long txTime = 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
369 when(info.getControllerTxTimeMillis()).thenReturn(txTime); in createBtEnergyInfo()
379 btActivityEnergyInfoParcel.writeLong(txTime); in createBtEnergyInfo()