Searched refs:getElapsedRealtime (Results 1 – 10 of 10) sorted by relevance
/frameworks/support/car/src/androidTest/java/androidx/car/moderator/ |
D | ContentRateLimiterTest.java | 77 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/ |
D | NetworkStatsServiceTest.java | 265 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/ |
D | ContentRateLimiter.java | 85 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()
|
D | SystemClockTimeProvider.java | 28 public long getElapsedRealtime() { in getElapsedRealtime() method in SystemClockTimeProvider
|
/frameworks/base/services/core/java/com/android/server/net/ |
D | NetworkStatsRecorder.java | 233 final long start = end - delta.getElapsedRealtime(); in recordSnapshotLocked()
|
D | NetworkStatsService.java | 781 networkLayer.getElapsedRealtime(), networkLayer.size()); in getDataLayerSnapshotForUid()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/ |
D | NetworkPolicyManagerServiceTest.java | 990 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/ |
D | NetworkStats.java | 419 public long getElapsedRealtime() { in getElapsedRealtime() method in NetworkStats
|
/frameworks/base/services/core/java/com/android/server/stats/ |
D | StatsCompanionService.java | 548 final NetworkStats ret = new NetworkStats(stats.getElapsedRealtime(), 1); in rollupNetworkStatsByFGBG()
|
/frameworks/base/config/ |
D | boot-image-profile.txt | 26245 HSPLandroid/net/NetworkStats;->getElapsedRealtime()J
|