Home
last modified time | relevance | path

Searched refs:currentTime (Results 1 – 7 of 7) sorted by relevance

/cts/tests/tests/hardware/src/android/hardware/consumerir/cts/
DConsumerIrTest.java89 long currentTime = SystemClock.elapsedRealtimeNanos(); in test_timing() local
93 totalXmitTimeNanos, newTime - currentTime); in test_timing()
94 assertTrue(msg, newTime - currentTime >= totalXmitTimeNanos * (1.0 - margin)); in test_timing()
95 assertTrue(msg, newTime - currentTime <= totalXmitTimeNanos * (1.0 + margin)); in test_timing()
98 currentTime = SystemClock.elapsedRealtimeNanos(); in test_timing()
102 totalXmitTimeNanos, newTime - currentTime); in test_timing()
103 assertTrue(msg, newTime - currentTime >= totalXmitTimeNanos * (1.0 - margin)); in test_timing()
104 assertTrue(msg, newTime - currentTime <= totalXmitTimeNanos * (1.0 + margin)); in test_timing()
/cts/tests/tests/openglperf/src/android/openglperf/cts/
DPlanetsRenderer.java152 long currentTime = System.currentTimeMillis(); in onDrawFrame() local
154 mLastRenderingTime = currentTime; in onDrawFrame()
156 float angle = 0.090f * ((int) (currentTime % 4000L)); in onDrawFrame()
230 long currentTime = System.currentTimeMillis(); in onEglSwapBuffers() local
232 mRenderingStartTime = currentTime; in onEglSwapBuffers()
235 mFrameInterval[mFrameCount] = (int)(currentTime - mLastRenderingTime); in onEglSwapBuffers()
239 long timePassed = currentTime - mRenderingStartTime; in onEglSwapBuffers()
245 mRenderingStartTime + " finish time " + currentTime); in onEglSwapBuffers()
432 long currentTime = System.currentTimeMillis(); in measureTime() local
433 float timePassedInSecs = (float) (currentTime - mMeasurementStartTime) / 1000f; in measureTime()
/cts/tests/tests/view/src/android/view/animation/cts/
DAnimationTest.java376 long currentTime = AnimationUtils.currentAnimationTimeMillis(); in testRunAccelerateAlpha() local
377 animation.setStartTime(currentTime); in testRunAccelerateAlpha()
378 assertEquals(currentTime, animation.getStartTime()); in testRunAccelerateAlpha()
607 long currentTime = AnimationUtils.currentAnimationTimeMillis();
609 assertEquals(currentTime, animation.getStartTime(), 100);
DAnimationSetTest.java301 final long currentTime, final boolean result) { in assertGetTransformation() argument
306 assertEquals(result, animationSet.getTransformation(currentTime, transformation)); in assertGetTransformation()
310 children.get(i).getTransformation(currentTime, tempTransformation); in assertGetTransformation()
/cts/tests/tests/text/src/android/text/method/cts/
DBaseKeyListenerTest.java539 long currentTime = System.currentTimeMillis(); in getKey() local
541 currentTime, in getKey()
542 currentTime, in getKey()
/cts/tools/tradefed-host/src/com/android/cts/tradefed/testtype/
DCtsTest.java733 long currentTime = System.currentTimeMillis(); in rebootIfNecessary() local
734 if (((currentTime - mPrevRebootTime) > intervalInMSec) || in rebootIfNecessary()
/cts/tests/tests/view/src/android/view/cts/
DViewGroupTest.java1057 public boolean getTransformation(long currentTime, Transformation outTransformation) { in getTransformation() argument
1058 super.getTransformation(currentTime, outTransformation); in getTransformation()