Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/power/stats/
DBluetoothPowerStatsProcessor.java57 public long rxTime; field in BluetoothPowerStatsProcessor.Intermediates
163 intermediates.rxTime = mStatsLayout.getDeviceRxTime(mTmpDeviceStatsArray); in computeDevicePowerEstimates()
168 intermediates.rxPower = mRxPowerEstimator.calculatePower(intermediates.rxTime); in computeDevicePowerEstimates()
231 cdseIntermediates.rxTime += intermediates.rxTime; in combineDeviceStateEstimates()
268 boolean normalizeRxByScanTime = intermediates.scanTime > intermediates.rxTime; in computeUidPowerEstimates()
DMobileRadioPowerStatsLayout.java220 long rxTime, int[] txTime) { in addRxTxTimesForRat() argument
227 if (rxTime != 0) { in addRxTxTimesForRat()
251 stats[mStateRxTimePosition] += rxTime; in addRxTxTimesForRat()
DWifiPowerCalculator.java184 final long rxTime = rxTimeCounter.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.java207 long rxTime = activityInfo.getControllerRxTimeMillis(); in collectBluetoothActivityInfo() local
208 long rxTimeDelta = Math.max(0, rxTime - mLastRxTime); in collectBluetoothActivityInfo()
210 mLastRxTime = rxTime; in collectBluetoothActivityInfo()
DMobileRadioPowerStatsProcessor.java261 long rxTime = mStatsLayout.getStateRxTime(mTmpStateStatsArray); in computeDevicePowerEstimates()
262 intermediates.rxPower += estimators.mRxPowerEstimator.calculatePower(rxTime); in computeDevicePowerEstimates()
/frameworks/base/core/java/android/os/connectivity/
DWifiActivityEnergyInfo.java173 long rxTime = 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
370 when(info.getControllerRxTimeMillis()).thenReturn(rxTime); in createBtEnergyInfo()
380 btActivityEnergyInfoParcel.writeLong(rxTime); in createBtEnergyInfo()