/frameworks/base/telephony/java/android/telephony/ |
D | ModemActivityInfo.java | 105 @NonNull int[] txTimeMs, int rxTimeMs) { in ModemActivityInfo() argument 106 Objects.requireNonNull(txTimeMs); in ModemActivityInfo() 107 if (txTimeMs.length != TX_POWER_LEVELS) { in ModemActivityInfo() 113 mTxTimeMs = txTimeMs; in ModemActivityInfo() 123 @NonNull int[] txTimeMs, long rxTimeMs) { in ModemActivityInfo() argument 124 this(timestamp, (int) sleepTimeMs, (int) idleTimeMs, txTimeMs, (int) rxTimeMs); in ModemActivityInfo() 148 int[] txTimeMs = new int[TX_POWER_LEVELS]; 149 in.readIntArray(txTimeMs); 152 txTimeMs, rxTimeMs); 211 public void setTransmitTimeMillis(int[] txTimeMs) { in setTransmitTimeMillis() argument [all …]
|
/frameworks/base/tools/powermodel/test/com/android/powermodel/ |
D | RawBatteryStatsTest.java | 90 Assert.assertEquals(4, line.txTimeMs.length); in testVarargs() 91 Assert.assertEquals(4, line.txTimeMs[0]); in testVarargs() 92 Assert.assertEquals(5, line.txTimeMs[1]); in testVarargs() 93 Assert.assertEquals(6, line.txTimeMs[2]); in testVarargs() 94 Assert.assertEquals(7, line.txTimeMs[3]); in testVarargs()
|
/frameworks/base/core/java/android/os/connectivity/ |
D | CellularBatteryStats.java | 71 long[] txTimeMs = in.createLongArray(); 77 timeInRxSignalStrengthLevelMs, txTimeMs, 90 long[] timeInRxSignalStrengthLevelMs, long[] txTimeMs, in CellularBatteryStats() argument 111 txTimeMs, 0, in CellularBatteryStats() 112 Math.min(txTimeMs.length, ModemActivityInfo.getNumTxPowerLevels())); in CellularBatteryStats()
|
/frameworks/base/core/java/com/android/internal/os/ |
D | WifiPowerCalculator.java | 259 final long txTimeMs = counter.getTxTimeCounters()[0].getCountLocked(statsType); in calculateRemaining() local 262 totalDurationMs = idleTimeMs + rxTimeMs + txTimeMs; in calculateRemaining() 269 totalPowerMah = calcPowerFromControllerDataMah(rxTimeMs, txTimeMs, idleTimeMs); in calculateRemaining() 288 public double calcPowerFromControllerDataMah(long rxTimeMs, long txTimeMs, long idleTimeMs) { in calcPowerFromControllerDataMah() argument 290 + mTxPowerEstimator.calculatePower(txTimeMs) in calcPowerFromControllerDataMah()
|
D | BluetoothPowerCalculator.java | 219 final long txTimeMs = in calculatePowerMah() local 221 return calculatePowerMah(rxTimeMs, txTimeMs, idleTimeMs); in calculatePowerMah() 225 public double calculatePowerMah(long rxTimeMs, long txTimeMs, long idleTimeMs) { in calculatePowerMah() argument 226 return ((idleTimeMs * mIdleMa) + (rxTimeMs * mRxMa) + (txTimeMs * mTxMa)) in calculatePowerMah()
|
D | BatteryStatsImpl.java | 11649 final long txTimeMs = info.getControllerTxDurationMillis(); in updateWifiState() local 11653 final long totalTimeMs = txTimeMs + rxTimeMs + idleTimeMs; in updateWifiState() 11656 long leftOverTxTimeMs = txTimeMs; in updateWifiState() 11660 Slog.d(TAG, " Tx Time: " + txTimeMs + " ms"); in updateWifiState() 11690 if (DEBUG_ENERGY && totalScanTimeMs > txTimeMs) { in updateWifiState() 11693 + txTimeMs + " ms). Normalizing scan time."); in updateWifiState() 11719 if (totalScanTimeMs > txTimeMs) { in updateWifiState() 11720 scanTxTimeSinceMarkMs = (txTimeMs * scanTxTimeSinceMarkMs) / in updateWifiState() 11844 rxTimeMs, txTimeMs, idleTimeMs)); in updateWifiState() 12135 long txTimeMs; field in BatteryStatsImpl.BluetoothActivityInfoCache [all …]
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/ |
D | ModemPowerMetrics.java | 80 m.txTimeMs = txTimeMillis.stream().mapToLong(Long::longValue).toArray(); in buildProto()
|
D | TelephonyMetrics.java | 623 pw.println("Amount of time modem is in tx (ms): " + Arrays.toString(s.txTimeMs)); in printAllMetrics()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | BatteryExternalStatsWorker.java | 772 final long txTimeMs = latest.getControllerTxDurationMillis() - lastTxMs; in extractDeltaLocked() local 778 if (txTimeMs < 0 || rxTimeMs < 0 || scanTimeMs < 0 || idleTimeMs < 0) { in extractDeltaLocked() 801 deltaControllerTxDurationMillis = txTimeMs; in extractDeltaLocked()
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/ |
D | LinkBandwidthEstimator.java | 548 long txTimeMs = 0; in getModemTxTimeMs() local 550 txTimeMs += modemActivity.getTransmitDurationMillisAtPowerLevel(lvl); in getModemTxTimeMs() 552 return txTimeMs; in getModemTxTimeMs()
|
/frameworks/base/tools/powermodel/src/com/android/powermodel/ |
D | RawBatteryStats.java | 257 public long[] txTimeMs; field in RawBatteryStats.GlobalModemController
|
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 76748 Lcom/android/internal/os/BatteryStatsImpl$BluetoothActivityInfoCache;->txTimeMs:J
|