Home
last modified time | relevance | path

Searched refs:rxTimeMs (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/core/java/com/android/internal/os/
DBluetoothPowerCalculator.java46 final long rxTimeMs = counter.getRxTimeCounter().getCountLocked(statsType); in calculateApp() local
48 final long totalTimeMs = idleTimeMs + txTimeMs + rxTimeMs; in calculateApp()
53 powerMah = ((idleTimeMs * mIdleMa) + (rxTimeMs * mRxMa) + (txTimeMs * mTxMa)) in calculateApp()
74 final long rxTimeMs = counter.getRxTimeCounter().getCountLocked(statsType); in calculateRemaining() local
75 final long totalTimeMs = idleTimeMs + txTimeMs + rxTimeMs; in calculateRemaining()
81 powerMah = ((idleTimeMs * mIdleMa) + (rxTimeMs * mRxMa) + (txTimeMs * mTxMa)) in calculateRemaining()
DWifiPowerCalculator.java81 final long rxTimeMs = counter.getRxTimeCounter().getCountLocked(statsType); in calculateRemaining() local
84 (idleTimeMs + rxTimeMs + txTimeMs) - mTotalAppRunningTime); in calculateRemaining()
91 + (rxTimeMs * mRxCurrentMa)) / (1000*60*60); in calculateRemaining()
DBatteryStatsImpl.java8446 final long rxTimeMs = info.getControllerRxTimeMillis(); in updateWifiStateLocked() local
8448 final long totalTimeMs = txTimeMs + rxTimeMs + idleTimeMs; in updateWifiStateLocked()
8450 long leftOverRxTimeMs = rxTimeMs; in updateWifiStateLocked()
8456 Slog.d(TAG, " Rx Time: " + rxTimeMs + " ms"); in updateWifiStateLocked()
8479 if (DEBUG_ENERGY && totalScanTimeMs > rxTimeMs) { in updateWifiStateLocked()
8481 + rxTimeMs + " ms). Normalizing scan time."); in updateWifiStateLocked()
8508 if (totalScanTimeMs > rxTimeMs) { in updateWifiStateLocked()
8509 scanRxTimeSinceMarkMs = (rxTimeMs * scanRxTimeSinceMarkMs) / in updateWifiStateLocked()
8741 final long rxTimeMs = info.getControllerRxTimeMillis(); in updateBluetoothStateLocked() local
8747 Slog.d(TAG, " Rx Time: " + rxTimeMs + " ms"); in updateBluetoothStateLocked()
[all …]
/frameworks/base/telephony/java/android/telephony/
DModemActivityInfo.java47 int[] txTimeMs, int rxTimeMs, int energyUsed) { in ModemActivityInfo() argument
54 mRxTimeMs = rxTimeMs; in ModemActivityInfo()
84 int rxTimeMs = in.readInt();
87 txTimeMs, rxTimeMs, energyUsed);
/frameworks/base/services/core/java/com/android/server/am/
DBatteryStatsService.java1330 final long rxTimeMs = latest.mControllerRxTimeMs - lastRxMs; in extractDelta() local
1333 if (txTimeMs < 0 || rxTimeMs < 0) { in extractDelta()
1342 final long totalActiveTimeMs = txTimeMs + rxTimeMs; in extractDelta()
1376 delta.mControllerRxTimeMs = rxTimeMs; in extractDelta()
/frameworks/base/core/java/android/os/
DBatteryStats.java2723 final long rxTimeMs = counter.getRxTimeCounter().getCountLocked(which); in printControllerActivity() local
2730 final long totalTimeMs = idleTimeMs + rxTimeMs + totalTxTimeMs; in printControllerActivity()
2748 formatTimeMs(sb, rxTimeMs); in printControllerActivity()
2750 sb.append(formatRatioLocked(rxTimeMs, totalTimeMs)); in printControllerActivity()