Home
last modified time | relevance | path

Searched refs:mElapsedTime (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/utils/quota/
DMultiRateLimiterTest.java46 Duration mElapsedTime = Duration.ZERO; field in MultiRateLimiterTest.InjectorForTest
50 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 …]
DCountQuotaTrackerTest.java118 private long mElapsedTime = SystemClock.elapsedRealtime(); field in CountQuotaTrackerTest.InjectorForTest
122 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()
/frameworks/base/media/java/android/media/tv/
DAdResponse.java63 private final long mElapsedTime; field in AdResponse
68 mElapsedTime = elapsedTime; in AdResponse()
74 mElapsedTime = source.readLong(); in AdResponse()
98 return mElapsedTime; in getElapsedTimeMillis()
110 dest.writeLong(mElapsedTime); in writeToParcel()
/frameworks/base/tests/Internal/src/com/android/internal/protolog/
DLegacyProtoLogImplTest.java220 Long mElapsedTime = null; field in LegacyProtoLogImplTest.ProtoLogData
245 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()
/frameworks/base/core/tests/coretests/src/com/android/internal/os/
DBinderLatencyObserverTest.java307 private long mElapsedTime = 0; field in BinderLatencyObserverTest.TestBinderLatencyObserver
339 return mElapsedTime; in getElapsedRealtimeMicro()
353 mElapsedTime = time; in setElapsedTime()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/utils/
DAlarmQueueTest.java73 private long mElapsedTime = SystemClock.elapsedRealtime(); field in AlarmQueueTest.InjectorForTest
77 return mElapsedTime; in getElapsedRealtime()
104 mInjector.mElapsedTime += incrementMs; in advanceElapsedClock()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DUserJourneyLoggerTest.java617 assertThat(report.mElapsedTime.getValue() > 0L).isTrue(); in testUserLifecycleJourney()
628 ArgumentCaptor<Long> mElapsedTime = ArgumentCaptor.forClass(Long.class); field in UserJourneyLoggerTest.UserLifecycleJourneyReportedCaptor
641 mElapsedTime.capture()); in captureAndAssert()
/frameworks/base/services/tests/servicestests/src/com/android/server/usage/
DAppTimeLimitControllerTests.java107 private long mElapsedTime; field in AppTimeLimitControllerTests
138 return mElapsedTime; in getElapsedRealtime()
1159 mElapsedTime = time; in setTime()