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()84 mInjector.mElapsedTime = Duration.ZERO; in testSingleRateLimit_aboveLimit_isNotWithinQuota()87 mInjector.mElapsedTime = Duration.ofMillis(50); in testSingleRateLimit_aboveLimit_isNotWithinQuota()104 mInjector.mElapsedTime = Duration.ZERO; in testSingleRateLimit_afterGoingAboveQuotaAndWaitingWindow_isBackWithinQuota()131 mInjector.mElapsedTime = Duration.ZERO; in createMultipleRateLimits_testTheyLimitsAsExpected()173 mInjector.mElapsedTime = Duration.ZERO; in createSingleRateLimit_testItLimitsOnlyGivenUptc()204 mInjector.mElapsedTime = Duration.ZERO; in clearRateLimiterForPackage_afterReachingQuota_quotaIsReset()[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()
285 Long mElapsedTime = null; field in ProtoLogImplTest.ProtoLogData310 data.mElapsedTime = ip.readLong(ProtoLogMessage.ELAPSED_REALTIME_NANOS); in readProtoLogSingle()354 assertTrue(before <= data.mElapsedTime && data.mElapsedTime <= after); in log_protoEnabled()379 assertTrue(before <= data.mElapsedTime && data.mElapsedTime <= after); in log_invalidParamsMask()
300 private long mElapsedTime = 0; field in BinderLatencyObserverTest.TestBinderLatencyObserver332 return mElapsedTime; in getElapsedRealtimeMicro()346 mElapsedTime = time; in setElapsedTime()
73 private long mElapsedTime = SystemClock.elapsedRealtime(); field in AlarmQueueTest.InjectorForTest77 return mElapsedTime; in getElapsedRealtime()104 mInjector.mElapsedTime += incrementMs; in advanceElapsedClock()
521 assertThat(report.mElapsedTime.getValue() > 0L).isTrue(); in testUserLifecycleJourney()532 ArgumentCaptor<Long> mElapsedTime = ArgumentCaptor.forClass(Long.class); field in UserJourneyLoggerTest.UserLifecycleJourneyReportedCaptor545 mElapsedTime.capture()); in captureAndAssert()
107 private long mElapsedTime; field in AppTimeLimitControllerTests138 return mElapsedTime; in getElapsedRealtime()1159 mElapsedTime = time; in setTime()