Home
last modified time | relevance | path

Searched refs:elapsedMs (Results 1 – 4 of 4) sorted by relevance

/frameworks/opt/net/wifi/service/java/com/android/server/wifi/
DWifiScoreCard.java393 if (perSignal.elapsedMs != null && mTsConnectionAttemptStart > TS_NONE) { in updateEventStats()
396 perSignal.elapsedMs.update(millis); in updateEventStats()
646 @Nullable public final PerUnivariateStatistic elapsedMs; field in WifiScoreCard.PerSignal
659 this.elapsedMs = new PerUnivariateStatistic(); in PerSignal()
662 this.elapsedMs = null; in PerSignal()
672 this.elapsedMs = new PerUnivariateStatistic(signal.getElapsedMs()); in PerSignal()
674 this.elapsedMs = null; in PerSignal()
683 elapsedMs.merge(signal.getElapsedMs()); in merge()
692 if (elapsedMs != null) { in toSignal()
693 builder.setElapsedMs(elapsedMs.toUnivariateStatistic()); in toSignal()
/frameworks/base/services/core/java/com/android/server/
DPackageWatchdog.java628 long elapsedMs = mUptimeAtLastStateSync == 0 in pruneObserversLocked() local
630 if (elapsedMs <= 0) { in pruneObserversLocked()
631 Slog.i(TAG, "Not pruning observers, elapsed time: " + elapsedMs + "ms"); in pruneObserversLocked()
635 Slog.i(TAG, "Removing " + elapsedMs + "ms from all packages on all observers"); in pruneObserversLocked()
640 observer.prunePackagesLocked(elapsedMs); in pruneObserversLocked()
891 private Set<MonitoredPackage> prunePackagesLocked(long elapsedMs) { in prunePackagesLocked() argument
897 int newState = p.handleElapsedTimeLocked(elapsedMs); in prunePackagesLocked()
1098 public int handleElapsedTimeLocked(long elapsedMs) { in handleElapsedTimeLocked() argument
1099 if (elapsedMs <= 0) { in handleElapsedTimeLocked()
1104 mDurationMs -= elapsedMs; in handleElapsedTimeLocked()
[all …]
/frameworks/opt/net/wifi/tests/wifitests/src/com/android/server/wifi/
DWifiScoreCardTest.java229 .elapsedMs.count); in testDurationStatistics()
231 .elapsedMs.sum, TOL); in testDurationStatistics()
233 .elapsedMs.maxValue, TOL); in testDurationStatistics()
235 .elapsedMs.minValue, TOL); in testDurationStatistics()
237 .elapsedMs.sum, TOL); in testDurationStatistics()
238 assertNull(perBssid.lookupSignal(Event.SIGNAL_POLL, 5805).elapsedMs); in testDurationStatistics()
280 .elapsedMs.minValue, TOL); in checkSerializationExample()
/frameworks/av/media/libnblog/
DPerformanceAnalysis.cpp350 double elapsedMs = 0; in reportPerformance() local
360 elapsedMs += ms * countPair.second; in reportPerformance()
367 "Occurrences in", (elapsedMs / kMsPerSec), "seconds of audio:", in reportPerformance()