Home
last modified time | relevance | path

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

/cts/tests/tests/os/src/android/os/cts/
DConditionVariableTest.java73 long timeDelta = System.currentTimeMillis() - time; in testConditionVariable() local
74 assertTrue(timeDelta >= BLOCK_TIME && timeDelta <= BLOCK_TIME + BLOCK_TIME_DELTA); in testConditionVariable()
/cts/tests/tests/view/src/android/view/animation/cts/
DCycleInterpolatorTest.java242 final float timeDelta = 0.015f; in testGetInterpolation() local
243 assertEquals(cycleInterpolator.getInterpolation(0.0f + timeDelta), in testGetInterpolation()
244 cycleInterpolator.getInterpolation(0.5f + timeDelta), ALPHA_DELTA); in testGetInterpolation()
245 assertEquals(cycleInterpolator.getInterpolation(0.25f + timeDelta), in testGetInterpolation()
246 cycleInterpolator.getInterpolation(0.75f + timeDelta), ALPHA_DELTA); in testGetInterpolation()
/cts/tests/tests/nativemidi/jni/
Dnative-lib.cpp268 long timeDelta = mSentMsgs[msgIndex].timeSent - mReceivedMsgs[msgIndex].timestamp; in checkInOutLatency() local
269 if (timeDelta > maxLatencyNanos) { in checkInOutLatency()
271 " ---- CHECKLATENCY_LATENCYEXCEEDED %ld", timeDelta); in checkInOutLatency()
/cts/tests/tests/media/src/android/media/cts/
DAudioTrackLatencyTest.java345 long timeDelta = framesPending * NANOS_PER_SECOND / track.getSampleRate(); in checkOutputLowLatency() local
346 long timePresented = timestamp.nanoTime + timeDelta; in checkOutputLowLatency()
/cts/tests/camera/src/android/hardware/cts/
DCameraTest.java976 long timeDelta = captureFinishTime - captureStartTime; in testJpegExifByCamera() local
977 assertTrue(String.format("Snapshot delay (%d ms) is not in range of [0, %d]", timeDelta, in testJpegExifByCamera()
979 timeDelta >= 0 && timeDelta <= WAIT_FOR_SNAPSHOT_TO_COMPLETE); in testJpegExifByCamera() local