Home
last modified time | relevance | path

Searched refs:rxTimeMs (Results 1 – 9 of 9) 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.java11154 final long rxTimeMs = info.getControllerRxTimeMillis(); in updateWifiState() local
11157 final long totalTimeMs = txTimeMs + rxTimeMs + idleTimeMs; in updateWifiState()
11159 long leftOverRxTimeMs = rxTimeMs; in updateWifiState()
11165 Slog.d(TAG, " Rx Time: " + rxTimeMs + " ms"); in updateWifiState()
11189 if (DEBUG_ENERGY && totalScanTimeMs > rxTimeMs) { in updateWifiState()
11192 + rxTimeMs + " ms). Normalizing scan time."); in updateWifiState()
11220 if (totalScanTimeMs > rxTimeMs) { in updateWifiState()
11221 scanRxTimeSinceMarkMs = (rxTimeMs * scanRxTimeSinceMarkMs) / in updateWifiState()
11549 long rxTimeMs; field in BatteryStatsImpl.BluetoothActivityInfoCache
11558 rxTimeMs = info.getControllerRxTimeMillis(); in set()
[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/opt/net/wifi/service/java/com/android/server/wifi/
DWifiPowerMetrics.java61 m.rxTimeMs = stats.getRxTimeMs(); in buildProto()
78 pw.println("Amount of time wifi is in rx (ms): " + s.rxTimeMs); in dump()
/frameworks/base/services/core/java/com/android/server/am/
DBatteryExternalStatsWorker.java542 final long rxTimeMs = latest.mControllerRxTimeMs - lastRxMs; in extractDeltaLocked() local
546 if (txTimeMs < 0 || rxTimeMs < 0 || scanTimeMs < 0) { in extractDeltaLocked()
556 final long totalActiveTimeMs = txTimeMs + rxTimeMs; in extractDeltaLocked()
590 delta.mControllerRxTimeMs = rxTimeMs; in extractDeltaLocked()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DModemPowerMetrics.java60 m.rxTimeMs = stats.getRxTimeMs(); in buildProto()
DTelephonyMetrics.java431 pw.println("Amount of time modem is in rx (ms): " + s.rxTimeMs); in printAllMetrics()
/frameworks/base/core/java/android/os/
DBatteryStats.java3394 final long rxTimeMs = counter.getRxTimeCounter().getCountLocked(which); in printControllerActivity() local
3418 = totalControllerActivityTimeMs - (idleTimeMs + rxTimeMs + totalTxTimeMs); in printControllerActivity()
3461 formatTimeMs(sb, rxTimeMs); in printControllerActivity()
3463 sb.append(formatRatioLocked(rxTimeMs, totalControllerActivityTimeMs)); in printControllerActivity()