Home
last modified time | relevance | path

Searched refs:METRICS_COLLECTION_DURATION_MS (Results 1 – 3 of 3) sorted by relevance

/packages/modules/Connectivity/service/src/com/android/server/connectivity/
DAutomaticOnOffKeepaliveTracker.java94 public static final long METRICS_COLLECTION_DURATION_MS = 24 * 60 * 60 * 1_000L; field in AutomaticOnOffKeepaliveTracker
336 mMetricsWriteTimeBase = time % METRICS_COLLECTION_DURATION_MS; in AutomaticOnOffKeepaliveTracker()
338 final long triggerAtMillis = mMetricsWriteTimeBase + METRICS_COLLECTION_DURATION_MS; in AutomaticOnOffKeepaliveTracker()
354 + (time - time % METRICS_COLLECTION_DURATION_MS) in writeMetricsAndRescheduleAlarm()
355 + METRICS_COLLECTION_DURATION_MS; in writeMetricsAndRescheduleAlarm()
DKeepaliveStatsTracker.java83 AutomaticOnOffKeepaliveTracker.METRICS_COLLECTION_DURATION_MS + 2 * 60 * 60 * 1_000L;
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/
DAutomaticOnOffKeepaliveTrackerTest.java23 …atic com.android.server.connectivity.AutomaticOnOffKeepaliveTracker.METRICS_COLLECTION_DURATION_MS;
519 eq(METRICS_COLLECTION_DURATION_MS), any() /* tag */, listenerCaptor.capture(), in testAlarm_writeMetrics()
524 doReturn(METRICS_COLLECTION_DURATION_MS).when(mDependencies).getElapsedRealtime(); in testAlarm_writeMetrics()
531 eq(METRICS_COLLECTION_DURATION_MS * 2), in testAlarm_writeMetrics()