Home
last modified time | relevance | path

Searched refs:mElapsedRealtime (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/services/tests/servicestests/src/com/android/server/usage/
DAppStandbyControllerTests.java170 long mElapsedRealtime; field in AppStandbyControllerTests.MyInjector
197 return mElapsedRealtime; in elapsedRealtime()
202 return mElapsedRealtime; in currentTimeMillis()
362 mInjector.mElapsedRealtime = 0; in setupController()
374 mInjector.mElapsedRealtime, false)); in setupController()
396 mInjector.mElapsedRealtime, false)); in testBoundWidgetPackageExempt()
509 mInjector.mElapsedRealtime = elapsedTime; in assertTimeout()
512 controller.getAppStandbyBucket(PACKAGE_1, userId, mInjector.mElapsedRealtime, in assertTimeout()
519 mInjector.mElapsedRealtime = elapsedTime; in reportEvent()
531 return controller.getAppStandbyBucket(packageName, userId, mInjector.mElapsedRealtime, in getStandbyBucket()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/time/
DFakeSystemClock.java36 private long mElapsedRealtime = 10000; field in FakeSystemClock
49 return mElapsedRealtime; in elapsedRealtime()
54 return mElapsedRealtime * 1000000 + 447; in elapsedRealtimeNanos()
86 mElapsedRealtime += uptime + sleepTime; in advanceTime()
/frameworks/base/tests/net/java/com/android/server/net/
DNetworkStatsServiceTest.java159 private long mElapsedRealtime; field in NetworkStatsServiceTest
206 mElapsedRealtime = 0L; in setUp()
1389 return mElapsedRealtime;
1397 return startTimeMillis() + mElapsedRealtime;
1401 mElapsedRealtime += duration;
DNetworkStatsObserversTest.java95 private long mElapsedRealtime; field in NetworkStatsObserversTest
/frameworks/base/services/tests/servicestests/src/com/android/server/net/
DNetworkPolicyManagerServiceTest.java263 private long mElapsedRealtime; field in NetworkPolicyManagerServiceTest
2097 return mElapsedRealtime; in getElapsedRealtime()
2104 mElapsedRealtime = 0L; in setCurrentTimeMillis()
2108 return mStartTime + mElapsedRealtime; in currentTimeMillis()
2112 mElapsedRealtime += duration; in incrementCurrentTime()