Searched refs:METRICS_COLLECTION_DURATION_MS (Results 1 – 3 of 3) sorted by relevance
94 public static final long METRICS_COLLECTION_DURATION_MS = 24 * 60 * 60 * 1_000L; field in AutomaticOnOffKeepaliveTracker336 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()
83 AutomaticOnOffKeepaliveTracker.METRICS_COLLECTION_DURATION_MS + 2 * 60 * 60 * 1_000L;
23 …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()