/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 | 10795 final long txTimeMs = info.getControllerTxTimeMillis(); in updateWifiState() local 10799 final long totalTimeMs = txTimeMs + rxTimeMs + idleTimeMs; in updateWifiState() 10802 long leftOverTxTimeMs = txTimeMs; in updateWifiState() 10806 Slog.d(TAG, " Tx Time: " + txTimeMs + " ms"); in updateWifiState() 10836 if (DEBUG_ENERGY && totalScanTimeMs > txTimeMs) { in updateWifiState() 10839 + txTimeMs + " ms). Normalizing scan time."); in updateWifiState() 10866 if (totalScanTimeMs > txTimeMs) { in updateWifiState() 10867 scanTxTimeSinceMarkMs = (txTimeMs * scanTxTimeSinceMarkMs) / in updateWifiState() 10978 int[] txTimeMs = new int[ModemActivityInfo.TX_POWER_LEVELS]; in getDeltaModemActivityInfo() local 10980 txTimeMs[i] = activityInfo.getTxTimeMillis()[i] in getDeltaModemActivityInfo() [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/opt/telephony/src/java/com/android/internal/telephony/metrics/ |
D | ModemPowerMetrics.java | 62 m.txTimeMs = new long[t.length]; in buildProto() 63 System.arraycopy(t, 0, m.txTimeMs, 0, t.length); in buildProto()
|
D | TelephonyMetrics.java | 565 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 | 71 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/ |
D | BatteryExternalStatsWorker.java | 564 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/ |
D | RawBatteryStats.java | 257 public long[] txTimeMs; field in RawBatteryStats.GlobalModemController
|
/frameworks/base/config/ |
D | hiddenapi-greylist-max-o.txt | 94189 Lcom/android/internal/os/BatteryStatsImpl$BluetoothActivityInfoCache;->txTimeMs:J
|