Home
last modified time | relevance | path

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

/frameworks/base/services/tests/servicestests/src/com/android/server/usage/
DAppStandbyControllerTests.java209 long mElapsedRealtime; field in AppStandbyControllerTests.MyInjector
251 return mElapsedRealtime; in elapsedRealtime()
256 return mElapsedRealtime; in currentTimeMillis()
467 mInjector.mElapsedRealtime = 0; in setupController()
479 mInjector.mElapsedRealtime, false)); in setupController()
510 mInjector.mElapsedRealtime, false)); in testBoundWidgetPackageExempt()
656 mInjector.mElapsedRealtime = elapsedTime; in assertTimeout()
659 controller.getAppStandbyBucket(PACKAGE_1, userId, mInjector.mElapsedRealtime, in assertTimeout()
666 mInjector.mElapsedRealtime = elapsedTime; in reportEvent()
678 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
48 return mElapsedRealtime; in elapsedRealtime()
53 return mElapsedRealtime * 1000000 + 447; in elapsedRealtimeNanos()
75 mElapsedRealtime = millis; in setElapsedRealtime()
106 mElapsedRealtime += awakeMillis + sleepMillis; in advanceTime()
/frameworks/base/services/tests/servicestests/src/com/android/server/net/
DNetworkPolicyManagerServiceTest.java285 private long mElapsedRealtime; field in NetworkPolicyManagerServiceTest
2247 return mElapsedRealtime; in getElapsedRealtime()
2254 mElapsedRealtime = 0L; in setCurrentTimeMillis()
2258 return mStartTime + mElapsedRealtime; in currentTimeMillis()
2262 mElapsedRealtime += duration; in incrementCurrentTime()