Home
last modified time | relevance | path

Searched refs:totalTimeMs (Results 1 – 7 of 7) 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()
DKernelUidCpuFreqTimeReader.java109 final long totalTimeMs = Long.parseLong(timesStr[i], 10) * 10; in readTimesForUid() local
110 deltaUidTimeMs[i] = totalTimeMs - uidTimeMs[i]; in readTimesForUid()
111 uidTimeMs[i] = totalTimeMs; in readTimesForUid()
DBatteryStatsImpl.java9559 final long totalTimeMs = txTimeMs + rxTimeMs + idleTimeMs; in updateWifiState() local
9569 Slog.d(TAG, " Total Time: " + totalTimeMs + " ms"); in updateWifiState()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DPlaybackControlsPresenter.java140 void setTotalTime(long totalTimeMs) { in setTotalTime() argument
141 if (totalTimeMs <= 0) { in setTotalTime()
147 mTotalTimeInMs = totalTimeMs; in setTotalTime()
148 formatTime(totalTimeMs / 1000, mTotalTimeStringBuilder); in setTotalTime()
DPlaybackTransportRowPresenter.java456 protected void onSetDurationLabel(long totalTimeMs) { in onSetDurationLabel() argument
458 formatTime(totalTimeMs, mTempBuilder); in onSetDurationLabel()
463 void setTotalTime(long totalTimeMs) { in setTotalTime() argument
464 if (mTotalTimeInMs != totalTimeMs) { in setTotalTime()
465 mTotalTimeInMs = totalTimeMs; in setTotalTime()
466 onSetDurationLabel(totalTimeMs); in setTotalTime()
/frameworks/base/core/java/android/os/
DBatteryStats.java2772 final long totalTimeMs = (timer.getTotalTimeLocked( in printTimer() local
2775 if (totalTimeMs != 0) { in printTimer()
2781 formatTimeMs(sb, totalTimeMs); in printTimer()
2976 final long totalTimeMs = idleTimeMs + rxTimeMs + totalTxTimeMs; in printControllerActivity() local
2985 sb.append(formatRatioLocked(idleTimeMs, totalTimeMs)); in printControllerActivity()
2996 sb.append(formatRatioLocked(rxTimeMs, totalTimeMs)); in printControllerActivity()
3007 sb.append(formatRatioLocked(totalTxTimeMs, totalTimeMs)); in printControllerActivity()
4675 final long totalTimeMs = (bleTimer.getTotalTimeLocked(rawRealtime, which) + 500) in dumpLocked() local
4677 if (totalTimeMs != 0) { in dumpLocked()
4705 if (actualTimeMs != totalTimeMs) { in dumpLocked()
[all …]