Searched refs:txTimeMs (Results 1 – 8 of 8) sorted by relevance
/frameworks/base/telephony/java/android/telephony/ |
D | ModemActivityInfo.java | 47 int[] txTimeMs, int rxTimeMs, int energyUsed) { in ModemActivityInfo() argument 51 if (txTimeMs != null) { in ModemActivityInfo() 52 System.arraycopy(txTimeMs, 0, mTxTimeMs, 0, Math.min(txTimeMs.length, TX_POWER_LEVELS)); in ModemActivityInfo() 80 int[] txTimeMs = new int[TX_POWER_LEVELS]; 82 txTimeMs[i] = in.readInt(); 87 txTimeMs, rxTimeMs, energyUsed); 125 public void setTxTimeMillis(int[] txTimeMs) { in setTxTimeMillis() argument 126 mTxTimeMs = txTimeMs; in setTxTimeMillis()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | BluetoothPowerCalculator.java | 47 final long txTimeMs = counter.getTxTimeCounters()[0].getCountLocked(statsType); in calculateApp() local 48 final long totalTimeMs = idleTimeMs + txTimeMs + rxTimeMs; in calculateApp() 53 powerMah = ((idleTimeMs * mIdleMa) + (rxTimeMs * mRxMa) + (txTimeMs * mTxMa)) in calculateApp() 73 final long txTimeMs = counter.getTxTimeCounters()[0].getCountLocked(statsType); in calculateRemaining() local 75 final long totalTimeMs = idleTimeMs + txTimeMs + rxTimeMs; in calculateRemaining() 81 powerMah = ((idleTimeMs * mIdleMa) + (rxTimeMs * mRxMa) + (txTimeMs * mTxMa)) in calculateRemaining()
|
D | WifiPowerCalculator.java | 80 final long txTimeMs = counter.getTxTimeCounters()[0].getCountLocked(statsType); in calculateRemaining() local 84 (idleTimeMs + rxTimeMs + txTimeMs) - mTotalAppRunningTime); in calculateRemaining() 90 powerDrainMah = ((idleTimeMs * mIdleCurrentMa) + (txTimeMs * mTxCurrentMa) in calculateRemaining()
|
D | BatteryStatsImpl.java | 11153 final long txTimeMs = info.getControllerTxTimeMillis(); in updateWifiState() local 11157 final long totalTimeMs = txTimeMs + rxTimeMs + idleTimeMs; in updateWifiState() 11160 long leftOverTxTimeMs = txTimeMs; in updateWifiState() 11164 Slog.d(TAG, " Tx Time: " + txTimeMs + " ms"); in updateWifiState() 11194 if (DEBUG_ENERGY && totalScanTimeMs > txTimeMs) { in updateWifiState() 11197 + txTimeMs + " ms). Normalizing scan time."); in updateWifiState() 11224 if (totalScanTimeMs > txTimeMs) { in updateWifiState() 11225 scanTxTimeSinceMarkMs = (txTimeMs * scanTxTimeSinceMarkMs) / in updateWifiState() 11326 int[] txTimeMs = new int[ModemActivityInfo.TX_POWER_LEVELS]; in getDeltaModemActivityInfo() local 11328 txTimeMs[i] = activityInfo.getTxTimeMillis()[i] in getDeltaModemActivityInfo() [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/ |
D | ModemPowerMetrics.java | 62 m.txTimeMs = new long[t.length]; in buildProto() 64 m.txTimeMs[i] = t[i]; in buildProto()
|
D | TelephonyMetrics.java | 432 pw.println("Amount of time modem is in tx (ms): " + Arrays.toString(s.txTimeMs)); in printAllMetrics()
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiPowerMetrics.java | 62 m.txTimeMs = stats.getTxTimeMs(); in buildProto() 79 pw.println("Amount of time wifi is in tx (ms): " + s.txTimeMs); in dump()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | BatteryExternalStatsWorker.java | 541 final long txTimeMs = latest.mControllerTxTimeMs - lastTxMs; in extractDeltaLocked() local 546 if (txTimeMs < 0 || rxTimeMs < 0 || scanTimeMs < 0) { in extractDeltaLocked() 556 final long totalActiveTimeMs = txTimeMs + rxTimeMs; in extractDeltaLocked() 589 delta.mControllerTxTimeMs = txTimeMs; in extractDeltaLocked()
|