Home
last modified time | relevance | path

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

/frameworks/base/core/java/com/android/internal/os/
DBluetoothPowerCalculator.java47 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()
DWifiPowerCalculator.java80 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()
DBatteryStatsImpl.java10808 final long txTimeMs = info.getControllerTxTimeMillis(); in updateWifiState() local
10812 final long totalTimeMs = txTimeMs + rxTimeMs + idleTimeMs; in updateWifiState()
10815 long leftOverTxTimeMs = txTimeMs; in updateWifiState()
10819 Slog.d(TAG, " Tx Time: " + txTimeMs + " ms"); in updateWifiState()
10849 if (DEBUG_ENERGY && totalScanTimeMs > txTimeMs) { in updateWifiState()
10852 + txTimeMs + " ms). Normalizing scan time."); in updateWifiState()
10879 if (totalScanTimeMs > txTimeMs) { in updateWifiState()
10880 scanTxTimeSinceMarkMs = (txTimeMs * scanTxTimeSinceMarkMs) / in updateWifiState()
10991 int[] txTimeMs = new int[ModemActivityInfo.TX_POWER_LEVELS]; in getDeltaModemActivityInfo() local
10993 txTimeMs[i] = activityInfo.getTransmitPowerInfo().get(i).getTimeInMillis() in getDeltaModemActivityInfo()
[all …]
/frameworks/base/telephony/java/android/telephony/
DModemActivityInfo.java62 @NonNull int[] txTimeMs, int rxTimeMs) { in ModemActivityInfo() argument
66 populateTransmitPowerRange(txTimeMs); in ModemActivityInfo()
103 int[] txTimeMs = new int[TX_POWER_LEVELS];
105 txTimeMs[i] = in.readInt();
109 txTimeMs, rxTimeMs);
152 public void setTransmitTimeMillis(int[] txTimeMs) { in setTransmitTimeMillis() argument
153 populateTransmitPowerRange(txTimeMs); in setTransmitTimeMillis()
/frameworks/base/tools/powermodel/test/com/android/powermodel/
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()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/metrics/
DModemPowerMetrics.java62 m.txTimeMs = new long[t.length]; in buildProto()
63 System.arraycopy(t, 0, m.txTimeMs, 0, t.length); in buildProto()
DTelephonyMetrics.java588 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/
DWifiPowerMetrics.java71 m.txTimeMs = stats.getTxTimeMs(); in buildProto()
117 pw.println("Amount of time wifi is in tx (ms): " + s.txTimeMs); in dump()
/frameworks/base/services/core/java/com/android/server/am/
DBatteryExternalStatsWorker.java564 final long txTimeMs = latest.mControllerTxTimeMs - lastTxMs; in extractDeltaLocked() local
569 if (txTimeMs < 0 || rxTimeMs < 0 || scanTimeMs < 0 || idleTimeMs < 0) { in extractDeltaLocked()
590 final long totalActiveTimeMs = txTimeMs + rxTimeMs; in extractDeltaLocked()
623 delta.mControllerTxTimeMs = txTimeMs; in extractDeltaLocked()
/frameworks/base/tools/powermodel/src/com/android/powermodel/
DRawBatteryStats.java257 public long[] txTimeMs; field in RawBatteryStats.GlobalModemController
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt87854 Lcom/android/internal/os/BatteryStatsImpl$BluetoothActivityInfoCache;->txTimeMs:J