Home
last modified time | relevance | path

Searched refs:txTimeMs (Results 1 – 15 of 15) sorted by relevance

/aosp12/frameworks/base/telephony/java/android/telephony/
H A DModemActivityInfo.java106 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
148 int[] txTimeMs = new int[TX_POWER_LEVELS];
149 in.readIntArray(txTimeMs);
152 txTimeMs, rxTimeMs);
211 public void setTransmitTimeMillis(int[] txTimeMs) { in setTransmitTimeMillis() argument
212 mTxTimeMs = Arrays.copyOf(txTimeMs, TX_POWER_LEVELS); in setTransmitTimeMillis()
261 txTimeMs[i] = other.mTxTimeMs[i] - mTxTimeMs[i]; in getDelta()
[all …]
/aosp12/frameworks/base/tools/powermodel/test/com/android/powermodel/
H A DRawBatteryStatsTest.java90 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()
/aosp12/frameworks/base/core/java/android/os/connectivity/
H A DCellularBatteryStats.java71 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()
/aosp12/packages/modules/Wifi/service/tests/wifitests/src/com/android/server/wifi/
H A DWifiPowerMetricsTest.java116 final long txTimeMs = 2300; in testBuildProto() local
130 when(wifiBatteryStats.getTxTimeMillis()).thenReturn(txTimeMs); in testBuildProto()
151 txTimeMs, wifiPowerStats.txTimeMs); in testBuildProto()
/aosp12/frameworks/base/core/java/com/android/internal/os/
H A DWifiPowerCalculator.java262 final long txTimeMs = counter.getTxTimeCounters()[0].getCountLocked(statsType); in calculateRemaining() local
265 totalDurationMs = idleTimeMs + rxTimeMs + txTimeMs; in calculateRemaining()
272 totalPowerMah = calcPowerFromControllerDataMah(rxTimeMs, txTimeMs, idleTimeMs); in calculateRemaining()
291 public double calcPowerFromControllerDataMah(long rxTimeMs, long txTimeMs, long idleTimeMs) { in calcPowerFromControllerDataMah() argument
293 + mTxPowerEstimator.calculatePower(txTimeMs) in calcPowerFromControllerDataMah()
H A DBluetoothPowerCalculator.java219 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()
H A DBatteryStatsImpl.java12039 long leftOverTxTimeMs = txTimeMs; in updateWifiState()
12102 if (totalScanTimeMs > txTimeMs) { in updateWifiState()
12518 long txTimeMs; field in BatteryStatsImpl.BluetoothActivityInfoCache
12527 txTimeMs = info.getControllerTxTimeMillis(); in set()
12540 txTimeMs = 0; in reset()
12582 final long txTimeMs = in updateBluetoothStateLocked() local
12589 Slog.d(TAG, " Tx Time: " + txTimeMs + " ms"); in updateBluetoothStateLocked()
12621 long leftOverTxTimeMs = txTimeMs; in updateBluetoothStateLocked()
14514 for (int i = 0; i < txTimeMs.length; i++) {
14516 totalTxTimeMs += txTimeMs[i];
[all …]
/aosp12/packages/modules/Wifi/service/java/com/android/server/wifi/
H A DWifiPowerMetrics.java59 m.txTimeMs = stats.getTxTimeMillis(); in buildProto()
105 pw.println("Amount of time wifi is in tx (ms): " + s.txTimeMs); in dump()
/aosp12/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
H A DModemPowerMetrics.java80 m.txTimeMs = txTimeMillis.stream().mapToLong(Long::longValue).toArray(); in buildProto()
H A DTelephonyMetrics.java625 pw.println("Amount of time modem is in tx (ms): " + Arrays.toString(s.txTimeMs)); in printAllMetrics()
/aosp12/frameworks/base/services/core/java/com/android/server/am/
H A DBatteryExternalStatsWorker.java781 final long txTimeMs = latest.getControllerTxDurationMillis() - lastTxMs; in extractDeltaLocked() local
787 if (txTimeMs < 0 || rxTimeMs < 0 || scanTimeMs < 0 || idleTimeMs < 0) { in extractDeltaLocked()
810 deltaControllerTxDurationMillis = txTimeMs; in extractDeltaLocked()
/aosp12/frameworks/opt/telephony/src/java/com/android/internal/telephony/dataconnection/
H A DLinkBandwidthEstimator.java549 long txTimeMs = 0; in getModemTxTimeMs() local
551 txTimeMs += modemActivity.getTransmitDurationMillisAtPowerLevel(lvl); in getModemTxTimeMs()
553 return txTimeMs; in getModemTxTimeMs()
/aosp12/frameworks/base/tools/powermodel/src/com/android/powermodel/
H A DRawBatteryStats.java257 public long[] txTimeMs; field in RawBatteryStats.GlobalModemController
/aosp12/packages/services/Telephony/src/com/android/phone/
H A DPhoneInterfaceManager.java1343 int[] txTimeMs = info.getTransmitTimeMillis(); in handleMessage() local
1347 mergedTxTimeMs[i] = txTimeMs[i] + lastModemTxTimeMs[i]; in handleMessage()
/aosp12/frameworks/base/boot/hiddenapi/
H A Dhiddenapi-max-target-o.txt76748 Lcom/android/internal/os/BatteryStatsImpl$BluetoothActivityInfoCache;->txTimeMs:J