Home
last modified time | relevance | path

Searched refs:getElapsedRealtime (Results 1 – 10 of 10) sorted by relevance

/frameworks/support/car/src/androidTest/java/androidx/car/moderator/
DContentRateLimiterTest.java77 mElapsedTimeProvider.getElapsedRealtime() + SECONDS.toMillis(1)); in testTryAcquire_permitRefillDelayed()
80 mElapsedTimeProvider.setElapsedTime(mElapsedTimeProvider.getElapsedRealtime() in testTryAcquire_permitRefillDelayed()
89 mElapsedTimeProvider.setElapsedTime(mElapsedTimeProvider.getElapsedRealtime() in testTryAcquire_inFillDelayFringe_secondAcquireFree()
100 mElapsedTimeProvider.getElapsedRealtime() + SECONDS.toMillis(1)); in testTryAcquire_inFillDelayFringe_secondAcquireResetsFillDelay()
104 long currentTimeMillis = mElapsedTimeProvider.getElapsedRealtime(); in testTryAcquire_inFillDelayFringe_secondAcquireResetsFillDelay()
123 mElapsedTimeProvider.getElapsedRealtime() + SECONDS.toMillis(1));
127 mElapsedTimeProvider.getElapsedRealtime() + SECONDS.toMillis(1));
179 public long getElapsedRealtime() { in getElapsedRealtime() method in ContentRateLimiterTest.MockElapsedTimeProvider
/frameworks/base/tests/net/java/com/android/server/net/
DNetworkStatsServiceTest.java265 expectNetworkStatsSummary(new NetworkStats(getElapsedRealtime(), 1) in testNetworkStatsWifi()
278 expectNetworkStatsSummary(new NetworkStats(getElapsedRealtime(), 1) in testNetworkStatsWifi()
309 expectNetworkStatsSummary(new NetworkStats(getElapsedRealtime(), 1) in testStatsRebootPersist()
311 expectNetworkStatsUidDetail(new NetworkStats(getElapsedRealtime(), 2) in testStatsRebootPersist()
380 expectNetworkStatsSummary(new NetworkStats(getElapsedRealtime(), 1) in testStatsBucketResize()
422 expectNetworkStatsSummary(new NetworkStats(getElapsedRealtime(), 1) in testUidStatsAcrossNetworks()
424 expectNetworkStatsUidDetail(new NetworkStats(getElapsedRealtime(), 3) in testUidStatsAcrossNetworks()
444 expectNetworkStatsSummary(new NetworkStats(getElapsedRealtime(), 1) in testUidStatsAcrossNetworks()
446 expectNetworkStatsUidDetail(new NetworkStats(getElapsedRealtime(), 3) in testUidStatsAcrossNetworks()
459 expectNetworkStatsSummary(new NetworkStats(getElapsedRealtime(), 1) in testUidStatsAcrossNetworks()
[all …]
/frameworks/support/car/src/main/java/androidx/car/moderator/
DContentRateLimiter.java85 long getElapsedRealtime(); in getElapsedRealtime() method
113 mResumeIncrementingMs = mElapsedTimeProvider.getElapsedRealtime(); in ContentRateLimiter()
177 setLastCalculatedPermitCount(availablePermits, mElapsedTimeProvider.getElapsedRealtime()); in setAvailablePermits()
215 long nowMs = mElapsedTimeProvider.getElapsedRealtime(); in tryAcquire()
269 long nowMs = mElapsedTimeProvider.getElapsedRealtime(); in getLastCalculatedPermitCount()
DSystemClockTimeProvider.java28 public long getElapsedRealtime() { in getElapsedRealtime() method in SystemClockTimeProvider
/frameworks/base/services/core/java/com/android/server/net/
DNetworkStatsRecorder.java233 final long start = end - delta.getElapsedRealtime(); in recordSnapshotLocked()
DNetworkStatsService.java781 networkLayer.getElapsedRealtime(), networkLayer.size()); in getDataLayerSnapshotForUid()
/frameworks/base/services/tests/servicestests/src/com/android/server/
DNetworkPolicyManagerServiceTest.java990 stats = new NetworkStats(getElapsedRealtime(), 1) in testNetworkPolicyAppliedCycleLastMonth()
1225 stats = new NetworkStats(getElapsedRealtime(), 1) in testMeteredNetworkWithoutLimit()
1848 private long getElapsedRealtime() { in getElapsedRealtime() method in NetworkPolicyManagerServiceTest
/frameworks/base/core/java/android/net/
DNetworkStats.java419 public long getElapsedRealtime() { in getElapsedRealtime() method in NetworkStats
/frameworks/base/services/core/java/com/android/server/stats/
DStatsCompanionService.java548 final NetworkStats ret = new NetworkStats(stats.getElapsedRealtime(), 1); in rollupNetworkStatsByFGBG()
/frameworks/base/config/
Dboot-image-profile.txt26245 HSPLandroid/net/NetworkStats;->getElapsedRealtime()J