Home
last modified time | relevance | path

Searched refs:setNow (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/packages/BackupEncryption/test/robolectric/src/com/android/server/backup/encryption/keys/
DSecondaryKeyRotationSchedulerTest.java77 setNow(lastRotated + mRotationIntervalMillis); in startRotationIfScheduled_rotatesIfRotationWasFarEnoughInThePast()
89 setNow(now); in startRotationIfScheduled_setsNewRotationTimeIfRotationWasFarEnoughInThePast()
100 setNow(lastRotated - 1); in startRotationIfScheduled_rotatesIfClockHasChanged()
122 setNow(now); in startRotationIfScheduled_setsNextRotationIfClockHasChanged()
133 setNow(lastRotated + mRotationIntervalMillis - 1); in startRotationIfScheduled_doesNothingIfRotationWasRecentEnough()
144 setNow(lastRotated + mRotationIntervalMillis - 1); in startRotationIfScheduled_doesNotSetRotationTimeIfRotationWasRecentEnough()
154 setNow(now); in startRotationIfScheduled_setsLastRotatedToNowIfNeverRotated()
161 private void setNow(long timestamp) { in setNow() method in SecondaryKeyRotationSchedulerTest
/frameworks/native/libs/gui/tests/
DSurface_test.cpp931 void setNow(nsecs_t now) { in setNow() function in android::TestSurface
1254 mSurface->setNow(initialCompositorTiming.deadline - 1); in TEST_F()
1393 mSurface->setNow(initialCompositorTiming.deadline - 1); in TEST_F()
1419 mSurface->setNow(mFrames[0].mRefreshes[1].kCompositorTiming.deadline); in TEST_F()
1434 mSurface->setNow(mFrames[1].mRefreshes[1].kCompositorTiming.deadline); in TEST_F()
1450 mSurface->setNow(mFrames[2].mRefreshes[1].kCompositorTiming.deadline); in TEST_F()
1479 mSurface->setNow(initialCompositorTiming.deadline - 1); in TEST_F()
1491 mSurface->setNow(initialCompositorTiming.deadline + 1); in TEST_F()
1503 mSurface->setNow( in TEST_F()
1518 mSurface->setNow( in TEST_F()
[all …]