/frameworks/base/telephony/java/android/telephony/ |
D | ModemActivityInfo.java | 109 @NonNull int[] txTimeMs, int rxTimeMs) { in ModemActivityInfo() argument 110 Objects.requireNonNull(txTimeMs); in ModemActivityInfo() 111 if (txTimeMs.length != TX_POWER_LEVELS) { in ModemActivityInfo() 117 mTotalTxTimeMs = txTimeMs; in ModemActivityInfo() 126 txTimeMs, in ModemActivityInfo() 136 @NonNull int[] txTimeMs, long rxTimeMs) { in ModemActivityInfo() argument 137 this(timestamp, (int) sleepTimeMs, (int) idleTimeMs, txTimeMs, (int) rxTimeMs); in ModemActivityInfo() 300 public void setTransmitTimeMillis(int[] txTimeMs) { in setTransmitTimeMillis() argument 301 mTotalTxTimeMs = Arrays.copyOf(txTimeMs, TX_POWER_LEVELS); in setTransmitTimeMillis() 304 public void setTransmitTimeMillis(int rat, int[] txTimeMs) { in setTransmitTimeMillis() argument [all …]
|
D | ActivityStatsTechSpecificInfo.java | 46 int rat, @FrequencyRange int frequencyRange, @NonNull int[] txTimeMs, int rxTimeMs) { in ActivityStatsTechSpecificInfo() argument 47 Objects.requireNonNull(txTimeMs); in ActivityStatsTechSpecificInfo() 48 if (txTimeMs.length != TX_POWER_LEVELS) { in ActivityStatsTechSpecificInfo() 53 mTxTimeMs = txTimeMs; in ActivityStatsTechSpecificInfo() 131 public void setTransmitTimeMillis(int[] txTimeMs) { in setTransmitTimeMillis() argument 132 mTxTimeMs = Arrays.copyOf(txTimeMs, TX_POWER_LEVELS); in setTransmitTimeMillis() 227 int[] txTimeMs = new int[TX_POWER_LEVELS]; 228 in.readIntArray(txTimeMs); 231 rat, frequencyRange, txTimeMs, rxTimeMs);
|
/frameworks/base/core/java/android/os/ |
D | BluetoothBatteryStats.java | 39 public final long txTimeMs; field in BluetoothBatteryStats.UidStats 42 long rxTimeMs, long txTimeMs) { in UidStats() argument 48 this.txTimeMs = txTimeMs; in UidStats() 57 txTimeMs = in.readLong(); in UidStats() 66 out.writeLong(txTimeMs); in writeToParcel() 77 + ", txTimeMs=" + txTimeMs in toString()
|
/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/services/core/java/com/android/server/power/stats/ |
D | BluetoothPowerCalculator.java | 182 final long txTimeMs = txTimeCounter.getCountLocked(BatteryStats.STATS_SINCE_CHARGED); in calculatePowerAndDuration() local 184 powerAndDuration.durationMs = idleTimeMs + rxTimeMs + txTimeMs; in calculatePowerAndDuration() 218 powerAndDuration.powerMah = calculatePowerMah(rxTimeMs, txTimeMs, idleTimeMs); in calculatePowerAndDuration() 246 public double calculatePowerMah(long rxTimeMs, long txTimeMs, long idleTimeMs) { in calculatePowerMah() argument 247 return ((idleTimeMs * mIdleMa) + (rxTimeMs * mRxMa) + (txTimeMs * mTxMa)) in calculatePowerMah()
|
D | WifiPowerCalculator.java | 276 final long txTimeMs = counter.getTxTimeCounters()[0].getCountLocked(statsType); in calculateRemaining() local 279 totalDurationMs = idleTimeMs + rxTimeMs + txTimeMs; in calculateRemaining() 286 totalPowerMah = calcPowerFromControllerDataMah(rxTimeMs, txTimeMs, idleTimeMs); in calculateRemaining() 306 public double calcPowerFromControllerDataMah(long rxTimeMs, long txTimeMs, long idleTimeMs) { in calcPowerFromControllerDataMah() argument 308 + mTxPowerEstimator.calculatePower(txTimeMs) in calcPowerFromControllerDataMah()
|
D | BatteryExternalStatsWorker.java | 848 final long txTimeMs = latest.getControllerTxDurationMillis() - lastTxMs; 854 if (txTimeMs < 0 || rxTimeMs < 0 || scanTimeMs < 0 || idleTimeMs < 0) { 877 deltaControllerTxDurationMillis = txTimeMs;
|
D | BatteryStatsImpl.java | 1786 final long txTimeMs = counter != null ? counter.getTxTimeCounters()[0].getCountLocked( in getBluetoothBatteryStats() local 1790 || rxTimeMs != 0 || txTimeMs != 0) { in getBluetoothBatteryStats() 1796 txTimeMs)); in getBluetoothBatteryStats() 12438 final long txTimeMs = info.getControllerTxDurationMillis(); in updateWifiState() local 12442 final long totalTimeMs = txTimeMs + rxTimeMs + idleTimeMs; in updateWifiState() 12445 long leftOverTxTimeMs = txTimeMs; in updateWifiState() 12449 Slog.d(TAG, " Tx Time: " + txTimeMs + " ms"); in updateWifiState() 12479 if (DEBUG_ENERGY && totalScanTimeMs > txTimeMs) { in updateWifiState() 12482 + txTimeMs + " ms). Normalizing scan time."); in updateWifiState() 12508 if (totalScanTimeMs > txTimeMs) { in updateWifiState() [all …]
|
/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/ |
D | BluetoothPowerStatsCollectorTest.java | 269 long rxTimeMs, long txTimeMs, long idleTimeMs, UidTraffic... uidTraffic) { in mockBluetoothActivityEnergyInfo() argument 273 when(info.getControllerTxTimeMillis()).thenReturn(txTimeMs); in mockBluetoothActivityEnergyInfo() 282 btActivityEnergyInfoParcel.writeLong(txTimeMs); in mockBluetoothActivityEnergyInfo()
|
D | BluetoothPowerStatsProcessorTest.java | 494 long rxTimeMs, long txTimeMs, long idleTimeMs, UidTraffic... uidTraffic) { in mockBluetoothActivityEnergyInfo() argument 498 when(info.getControllerTxTimeMillis()).thenReturn(txTimeMs); in mockBluetoothActivityEnergyInfo() 507 btActivityEnergyInfoParcel.writeLong(txTimeMs); in mockBluetoothActivityEnergyInfo()
|
D | WifiPowerStatsCollectorTest.java | 371 private void mockWifiActivityInfo(long timestamp, long rxTimeMs, long txTimeMs, int scanTimeMs, in mockWifiActivityInfo() argument 374 WifiActivityEnergyInfo info = new WifiActivityEnergyInfo(timestamp, stackState, txTimeMs, in mockWifiActivityInfo()
|
D | MobileRadioPowerStatsCollectorTest.java | 427 int rxTimeMs, @NonNull int[] txTimeMs) { in mockModemActivityInfo() argument 428 ModemActivityInfo info = new ModemActivityInfo(timestamp, sleepTimeMs, idleTimeMs, txTimeMs, in mockModemActivityInfo()
|
D | BatteryStatsImplTest.java | 790 assertThat(uidStats.txTimeMs).isEqualTo(7666); // Some scan time is treated as TX in testGetBluetoothBatteryStats()
|
/frameworks/base/core/tests/coretests/src/android/os/ |
D | BluetoothBatteryStatsTest.java | 58 assertThat(uid1.txTimeMs).isEqualTo(500); in parcelability()
|
/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/opt/telephony/src/java/com/android/internal/telephony/data/ |
D | LinkBandwidthEstimator.java | 626 long txTimeMs = 0; in getModemTxTimeMs() local 628 txTimeMs += modemActivity.getTransmitDurationMillisAtPowerLevel(lvl); in getModemTxTimeMs() 630 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 | 72782 Lcom/android/internal/os/BatteryStatsImpl$BluetoothActivityInfoCache;->txTimeMs:J
|