Searched refs:mElapsedTime (Results 1 – 8 of 8) sorted by relevance
46 Duration mElapsedTime = Duration.ZERO; field in MultiRateLimiterTest.InjectorForTest50 return mElapsedTime.toMillis(); in getElapsedRealtime()66 mInjector.mElapsedTime = Duration.ZERO; in testSingleRateLimit_belowLimit_isWithinQuota()70 mInjector.mElapsedTime = Duration.ofMillis(50); in testSingleRateLimit_belowLimit_isWithinQuota()74 mInjector.mElapsedTime = Duration.ofMillis(100); in testSingleRateLimit_belowLimit_isWithinQuota()84 mInjector.mElapsedTime = Duration.ZERO; in testSingleRateLimit_aboveLimit_isNotWithinQuota()87 mInjector.mElapsedTime = Duration.ofMillis(50); in testSingleRateLimit_aboveLimit_isNotWithinQuota()90 mInjector.mElapsedTime = Duration.ofMillis(100); in testSingleRateLimit_aboveLimit_isNotWithinQuota()93 mInjector.mElapsedTime = Duration.ofMillis(150); in testSingleRateLimit_aboveLimit_isNotWithinQuota()104 mInjector.mElapsedTime = Duration.ZERO; in testSingleRateLimit_afterGoingAboveQuotaAndWaitingWindow_isBackWithinQuota()[all …]
118 private long mElapsedTime = SystemClock.elapsedRealtime(); field in CountQuotaTrackerTest.InjectorForTest122 return mElapsedTime; in getElapsedRealtime()197 mInjector.mElapsedTime += incrementMs; in advanceElapsedClock()216 mInjector.mElapsedTime = timeElapsed; in logEventAt()218 mInjector.mElapsedTime = now; in logEventAt()469 mInjector.mElapsedTime = 3 * MINUTE_IN_MILLIS; in testGetExecutionStatsLocked_Values_BeginningOfTime()
63 private final long mElapsedTime; field in AdResponse68 mElapsedTime = elapsedTime; in AdResponse()74 mElapsedTime = source.readLong(); in AdResponse()98 return mElapsedTime; in getElapsedTimeMillis()110 dest.writeLong(mElapsedTime); in writeToParcel()
220 Long mElapsedTime = null; field in LegacyProtoLogImplTest.ProtoLogData245 data.mElapsedTime = ip.readLong(ProtoLogMessage.ELAPSED_REALTIME_NANOS); in readProtoLogSingle()289 assertTrue(before <= data.mElapsedTime && data.mElapsedTime <= after); in log_protoEnabled()314 assertTrue(before <= data.mElapsedTime && data.mElapsedTime <= after); in log_invalidParamsMask()
307 private long mElapsedTime = 0; field in BinderLatencyObserverTest.TestBinderLatencyObserver339 return mElapsedTime; in getElapsedRealtimeMicro()353 mElapsedTime = time; in setElapsedTime()
73 private long mElapsedTime = SystemClock.elapsedRealtime(); field in AlarmQueueTest.InjectorForTest77 return mElapsedTime; in getElapsedRealtime()104 mInjector.mElapsedTime += incrementMs; in advanceElapsedClock()
617 assertThat(report.mElapsedTime.getValue() > 0L).isTrue(); in testUserLifecycleJourney()628 ArgumentCaptor<Long> mElapsedTime = ArgumentCaptor.forClass(Long.class); field in UserJourneyLoggerTest.UserLifecycleJourneyReportedCaptor641 mElapsedTime.capture()); in captureAndAssert()
107 private long mElapsedTime; field in AppTimeLimitControllerTests138 return mElapsedTime; in getElapsedRealtime()1159 mElapsedTime = time; in setTime()