Home
last modified time | relevance | path

Searched refs:rxTimeMs (Results 1 – 12 of 12) 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.java10809 final long rxTimeMs = info.getControllerRxTimeMillis(); in updateWifiState() local
10812 final long totalTimeMs = txTimeMs + rxTimeMs + idleTimeMs; in updateWifiState()
10814 long leftOverRxTimeMs = rxTimeMs; in updateWifiState()
10820 Slog.d(TAG, " Rx Time: " + rxTimeMs + " ms"); in updateWifiState()
10844 if (DEBUG_ENERGY && totalScanTimeMs > rxTimeMs) { in updateWifiState()
10847 + rxTimeMs + " ms). Normalizing scan time."); in updateWifiState()
10875 if (totalScanTimeMs > rxTimeMs) { in updateWifiState()
10876 scanRxTimeSinceMarkMs = (rxTimeMs * scanRxTimeSinceMarkMs) / in updateWifiState()
11216 long rxTimeMs; field in BatteryStatsImpl.BluetoothActivityInfoCache
11225 rxTimeMs = info.getControllerRxTimeMillis(); in set()
[all …]
/frameworks/base/telephony/java/android/telephony/
DModemActivityInfo.java62 @NonNull int[] txTimeMs, int rxTimeMs) { in ModemActivityInfo() argument
67 mRxTimeMs = rxTimeMs; in ModemActivityInfo()
107 int rxTimeMs = in.readInt();
109 txTimeMs, rxTimeMs);
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiPowerMetrics.java70 m.rxTimeMs = stats.getRxTimeMs(); in buildProto()
116 pw.println("Amount of time wifi is in rx (ms): " + s.rxTimeMs); in dump()
/frameworks/base/services/core/java/com/android/server/am/
DBatteryExternalStatsWorker.java565 final long rxTimeMs = latest.mControllerRxTimeMs - lastRxMs; in extractDeltaLocked() local
569 if (txTimeMs < 0 || rxTimeMs < 0 || scanTimeMs < 0 || idleTimeMs < 0) { in extractDeltaLocked()
590 final long totalActiveTimeMs = txTimeMs + rxTimeMs; in extractDeltaLocked()
624 delta.mControllerRxTimeMs = rxTimeMs; in extractDeltaLocked()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DModemPowerMetrics.java60 m.rxTimeMs = stats.getRxTimeMs(); in buildProto()
DTelephonyMetrics.java587 pw.println("Amount of time modem is in rx (ms): " + s.rxTimeMs); in printAllMetrics()
/frameworks/base/tools/powermodel/test/com/android/powermodel/
DRawBatteryStatsTest.java88 Assert.assertEquals(2, line.rxTimeMs); in testVarargs()
/frameworks/base/tools/powermodel/src/com/android/powermodel/
DRawBatteryStats.java251 public long rxTimeMs; field in RawBatteryStats.GlobalModemController
/frameworks/base/core/java/android/os/
DBatteryStats.java3560 final long rxTimeMs = counter.getRxTimeCounter().getCountLocked(which); in printControllerActivity() local
3586 = totalControllerActivityTimeMs - (idleTimeMs + rxTimeMs + totalTxTimeMs); in printControllerActivity()
3629 formatTimeMs(sb, rxTimeMs); in printControllerActivity()
3631 sb.append(formatRatioLocked(rxTimeMs, totalControllerActivityTimeMs)); in printControllerActivity()
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt87852 Lcom/android/internal/os/BatteryStatsImpl$BluetoothActivityInfoCache;->rxTimeMs:J