Loading services/core/java/com/android/server/connectivity/MetricsLoggerService.java +6 −4 Original line number Diff line number Diff line Loading @@ -106,12 +106,14 @@ public class MetricsLoggerService extends SystemService { } private void resetThrottlingCounters(long currentTimeMillis) { synchronized (mThrottlingCounters) { for (int i = 0; i < mThrottlingCounters.length; i++) { mThrottlingCounters[i] = 0; } mThrottlingIntervalBoundaryMillis = currentTimeMillis + THROTTLING_TIME_INTERVAL_MILLIS; } } private void addEvent(ConnectivityMetricsEvent e) { if (VDBG) { Loading Loading
services/core/java/com/android/server/connectivity/MetricsLoggerService.java +6 −4 Original line number Diff line number Diff line Loading @@ -106,12 +106,14 @@ public class MetricsLoggerService extends SystemService { } private void resetThrottlingCounters(long currentTimeMillis) { synchronized (mThrottlingCounters) { for (int i = 0; i < mThrottlingCounters.length; i++) { mThrottlingCounters[i] = 0; } mThrottlingIntervalBoundaryMillis = currentTimeMillis + THROTTLING_TIME_INTERVAL_MILLIS; } } private void addEvent(ConnectivityMetricsEvent e) { if (VDBG) { Loading