Home
last modified time | relevance | path

Searched refs:totalTimeMs (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/core/java/com/android/internal/os/
DBluetoothPowerCalculator.java48 final long totalTimeMs = idleTimeMs + txTimeMs + rxTimeMs; in calculateApp() local
58 app.bluetoothRunningTimeMs = totalTimeMs; in calculateApp()
63 mAppTotalTimeMs += totalTimeMs; in calculateApp()
75 final long totalTimeMs = idleTimeMs + txTimeMs + rxTimeMs; in calculateRemaining() local
89 Log.d(TAG, "Bluetooth active: time=" + (totalTimeMs) in calculateRemaining()
94 app.bluetoothRunningTimeMs = Math.max(0, totalTimeMs - mAppTotalTimeMs); in calculateRemaining()
DMemoryPowerCalculator.java32 long totalTimeMs = 0; in calculateRemaining() local
45 totalTimeMs += timeMs; in calculateRemaining()
48 app.usageTimeMs = totalTimeMs; in calculateRemaining()
51 totalMah, totalTimeMs)); in calculateRemaining()
DBatteryStatsImpl.java11157 final long totalTimeMs = txTimeMs + rxTimeMs + idleTimeMs; in updateWifiState() local
11167 Slog.d(TAG, " Total Time: " + totalTimeMs + " ms"); in updateWifiState()
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/
DPlaybackControlsPresenter.java141 void setTotalTime(long totalTimeMs) { in setTotalTime() argument
142 if (totalTimeMs <= 0) { in setTotalTime()
148 mTotalTimeInMs = totalTimeMs; in setTotalTime()
149 formatTime(totalTimeMs / 1000, mTotalTimeStringBuilder); in setTotalTime()
DPlaybackTransportRowPresenter.java457 protected void onSetDurationLabel(long totalTimeMs) { in onSetDurationLabel() argument
459 formatTime(totalTimeMs, mTempBuilder); in onSetDurationLabel()
464 void setTotalTime(long totalTimeMs) { in setTotalTime() argument
465 if (mTotalTimeInMs != totalTimeMs) { in setTotalTime()
466 mTotalTimeInMs = totalTimeMs; in setTotalTime()
467 onSetDurationLabel(totalTimeMs); in setTotalTime()
/frameworks/base/core/java/android/os/
DBatteryStats.java3127 final long totalTimeMs = (timer.getTotalTimeLocked( in printTimer() local
3130 if (totalTimeMs != 0) { in printTimer()
3136 formatTimeMs(sb, totalTimeMs); in printTimer()
5417 final long totalTimeMs = (bleTimer.getTotalTimeLocked(rawRealtime, which) + 500) in dumpLocked() local
5419 if (totalTimeMs != 0) { in dumpLocked()
5447 if (actualTimeMs != totalTimeMs) { in dumpLocked()
5450 formatTimeMs(sb, totalTimeMs); in dumpLocked()