Home
last modified time | relevance | path

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

/frameworks/base/tests/net/java/com/android/server/net/
DNetworkStatsServiceTest.java298 expectNetworkStatsSummary(new NetworkStats(getElapsedRealtime(), 1)
311 expectNetworkStatsSummary(new NetworkStats(getElapsedRealtime(), 1)
341 expectNetworkStatsSummary(new NetworkStats(getElapsedRealtime(), 1)
343 expectNetworkStatsUidDetail(new NetworkStats(getElapsedRealtime(), 2)
410 expectNetworkStatsSummary(new NetworkStats(getElapsedRealtime(), 1)
450 expectNetworkStatsSummary(new NetworkStats(getElapsedRealtime(), 1)
452 expectNetworkStatsUidDetail(new NetworkStats(getElapsedRealtime(), 3)
472 expectNetworkStatsSummary(new NetworkStats(getElapsedRealtime(), 1)
474 expectNetworkStatsUidDetail(new NetworkStats(getElapsedRealtime(), 3)
486 expectNetworkStatsSummary(new NetworkStats(getElapsedRealtime(), 1)
[all …]
/frameworks/libs/net/common/devicetests/com/android/testutils/
DNetworkStatsUtils.kt29 if (compareTime && leftStats.getElapsedRealtime() != rightStats.getElapsedRealtime()) { in <lambda>()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/
DRescuePartyTest.java141 doReturn(CURRENT_NETWORK_TIME_MILLIS).when(() -> RescueParty.getElapsedRealtime()); in setUp()
216 () -> RescueParty.getElapsedRealtime()); in testBootLoopDetectionWithWrongInterval()
230 .when(() -> RescueParty.getElapsedRealtime()); in testPersistentAppCrashDetectionWithWrongInterval()
243 () -> RescueParty.getElapsedRealtime()); in testBootLoopDetectionWithProperInterval()
258 .when(() -> RescueParty.getElapsedRealtime()); in testPersistentAppCrashDetectionWithProperInterval()
DAlarmManagerServiceTest.java224 long getElapsedRealtime() { in getElapsedRealtime() method in AlarmManagerServiceTest.Injector
DDeviceIdleControllerTest.java172 long getElapsedRealtime() { in getElapsedRealtime() method in DeviceIdleControllerTest.InjectorForTest
/frameworks/base/services/core/java/com/android/server/
DRescueParty.java182 static long getElapsedRealtime() { in getElapsedRealtime() method in RescueParty
302 final long now = getElapsedRealtime(); in incrementAndTest()
DAlarmManagerService.java944 when -= mInjector.getCurrentTimeMillis() - mInjector.getElapsedRealtime(); in convertToElapsed()
1054 final long nowElapsed = mInjector.getElapsedRealtime(); in rebatchAllAlarmsLocked()
1184 deliverPendingBackgroundAlarmsLocked(alarmsToDeliver, mInjector.getElapsedRealtime()); in sendPendingBackgroundAlarmsLocked()
1201 deliverPendingBackgroundAlarmsLocked(alarmsToDeliver, mInjector.getElapsedRealtime()); in sendAllUnrestrictedPendingBackgroundAlarmsLocked()
1288 ent.elapsedRealtime = mInjector.getElapsedRealtime(); in restorePendingWhileIdleAlarmsLocked()
1296 final long nowElapsed = mInjector.getElapsedRealtime(); in restorePendingWhileIdleAlarmsLocked()
1736 final long nowElapsed = mInjector.getElapsedRealtime(); in setImpl()
1860 sourcePackage, sourceUserId, mInjector.getElapsedRealtime()); in adjustDeliveryTimeBasedOnBucketLocked()
1872 minElapsed = mInjector.getElapsedRealtime() + MILLIS_IN_DAY; in adjustDeliveryTimeBasedOnBucketLocked()
1919 final long nowElapsed = mInjector.getElapsedRealtime(); in setImplLocked()
[all …]
DDeviceIdleController.java700 final long now = mInjector.getElapsedRealtime(); in isStationaryLocked()
787 activatedTimeElapsed = mInjector.getElapsedRealtime(); in registerLocked()
1886 long getElapsedRealtime() { in getElapsedRealtime() method in DeviceIdleController.Injector
3436 mLastMotionEventElapsed = mInjector.getElapsedRealtime(); in motionLocked()
3603 mInjector.getElapsedRealtime() + mConstants.MOTION_INACTIVE_TIMEOUT / 2; in scheduleMotionRegistrationAlarmLocked()
3612 mInjector.getElapsedRealtime() + mConstants.MOTION_INACTIVE_TIMEOUT; in scheduleMotionTimeoutAlarmLocked()
/frameworks/base/services/core/java/com/android/server/net/
DNetworkStatsFactory.java343 mPersistSnapshot.setElapsedRealtime(stats.getElapsedRealtime()); in readNetworkStatsDetail()
392 mTunAnd464xlatAdjustedStats.setElapsedRealtime(uidDetailStats.getElapsedRealtime()); in adjustForTunAnd464Xlat()
DNetworkStatsRecorder.java224 final long start = end - delta.getElapsedRealtime(); in recordSnapshotLocked()
DNetworkStatsService.java906 networkLayer.getElapsedRealtime(), networkLayer.size());
/frameworks/base/services/tests/servicestests/src/com/android/server/net/
DNetworkPolicyManagerServiceTest.java1008 stats = new NetworkStats(getElapsedRealtime(), 1)
1262 stats = new NetworkStats(getElapsedRealtime(), 1)
2022 private long getElapsedRealtime() { in getElapsedRealtime() method in NetworkPolicyManagerServiceTest
/frameworks/base/core/java/android/net/
DNetworkStats.java642 public long getElapsedRealtime() { in getElapsedRealtime() method in NetworkStats
/frameworks/base/services/core/java/com/android/server/stats/
DStatsCompanionService.java803 final NetworkStats ret = new NetworkStats(stats.getElapsedRealtime(), 1); in rollupNetworkStatsByFGBG()
/frameworks/base/services/
Dart-profile424 HSPLcom/android/server/AlarmManagerService$Injector;->getElapsedRealtime()J
/frameworks/base/config/
Dboot-image-profile.txt10439 HSPLandroid/net/NetworkStats;->getElapsedRealtime()J
Dhiddenapi-greylist-max-o.txt44684 Landroid/net/NetworkStats;->getElapsedRealtime()J