Searched refs:currentTime (Results 1 – 9 of 9) sorted by relevance
/cts/tests/tests/hardware/src/android/hardware/consumerir/cts/ |
D | ConsumerIrTest.java | 89 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/view/src/android/view/cts/ |
D | LongPressBackTest.java | 65 long currentTime = System.currentTimeMillis(); in testAppIsNotDismissed() local 66 automation.injectInputEvent(new KeyEvent(currentTime, currentTime, KeyEvent.ACTION_DOWN, in testAppIsNotDismissed() 80 currentTime = System.currentTimeMillis(); in testAppIsNotDismissed() 82 automation.injectInputEvent(new KeyEvent(currentTime, currentTime, KeyEvent.ACTION_UP, in testAppIsNotDismissed()
|
D | ViewGroupTest.java | 1062 public boolean getTransformation(long currentTime, Transformation outTransformation) { in getTransformation() argument 1063 super.getTransformation(currentTime, outTransformation); in getTransformation()
|
/cts/tests/tests/text/src/android/text/method/cts/ |
D | KeyListenerTestCase.java | 89 long currentTime = System.currentTimeMillis(); in getKey() local 90 return new KeyEvent(currentTime, currentTime, KeyEvent.ACTION_DOWN, keycode, in getKey()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/ |
D | TimerProgressBar.java | 71 long currentTime = SystemClock.elapsedRealtime(); 72 int progress = (int) ((currentTime - mStartTime) / mStepSize); 76 if (mStartTime + mDuration > currentTime) {
|
/cts/tests/tests/openglperf/src/android/openglperf/cts/ |
D | PlanetsRenderer.java | 152 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/ |
D | AnimationTest.java | 379 long currentTime = AnimationUtils.currentAnimationTimeMillis(); in testRunAccelerateAlpha() local 380 animation.setStartTime(currentTime); in testRunAccelerateAlpha() 381 assertEquals(currentTime, animation.getStartTime()); in testRunAccelerateAlpha() 610 long currentTime = AnimationUtils.currentAnimationTimeMillis(); 612 assertEquals(currentTime, animation.getStartTime(), 100); 750 public boolean getTransformation(long currentTime, Transformation outTransformation) { 752 return super.getTransformation(currentTime, outTransformation);
|
D | AnimationSetTest.java | 301 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/tools/tradefed-host/src/com/android/cts/tradefed/testtype/ |
D | CtsTest.java | 774 long currentTime = System.currentTimeMillis(); in rebootIfNecessary() local 775 if (((currentTime - mPrevRebootTime) > intervalInMSec) || in rebootIfNecessary()
|