Home
last modified time | relevance | path

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

/cts/tests/tests/os/src/android/os/cts/
DConditionVariableTest.java75 long timeDelta = System.currentTimeMillis() - time; in testConditionVariable() local
76 assertTrue(timeDelta >= BLOCK_TIME && timeDelta <= BLOCK_TIME + BLOCK_TIME_DELTA); in testConditionVariable()
/cts/tests/tests/view/src/android/view/animation/cts/
DCycleInterpolatorTest.java253 final float timeDelta = 0.015f; in testGetInterpolation() local
254 assertEquals(cycleInterpolator.getInterpolation(0.0f + timeDelta), in testGetInterpolation()
255 cycleInterpolator.getInterpolation(0.5f + timeDelta), ALPHA_DELTA); in testGetInterpolation()
256 assertEquals(cycleInterpolator.getInterpolation(0.25f + timeDelta), in testGetInterpolation()
257 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/surfacecontrol/jni/
Dandroid_view_surfacecontrol_cts_ChoreographerNativeTest.cpp220 auto timeDelta = lastDeadline - start; in android_view_surfacecontrol_cts_ChoreographerNativeTest_testFrameCallbackDataDeadlineInFuture() local
222 ASSERT(timeDelta > threshold, in android_view_surfacecontrol_cts_ChoreographerNativeTest_testFrameCallbackDataDeadlineInFuture()
225 timeDelta, threshold); in android_view_surfacecontrol_cts_ChoreographerNativeTest_testFrameCallbackDataDeadlineInFuture()
/cts/tests/tests/media/audio/src/android/media/audio/cts/
DAudioTrackLatencyTest.java395 long timeDelta = framesPending * NANOS_PER_SECOND / track.getSampleRate(); in checkOutputLowLatency() local
396 long timePresented = timestamp.nanoTime + timeDelta; in checkOutputLowLatency()
/cts/tests/camera/src/android/hardware/cts/
DCameraTest.java1008 long timeDelta = captureFinishTime - captureStartTime; in testJpegExifByCamera() local
1009 assertTrue(String.format("Snapshot delay (%d ms) is not in range of [0, %d]", timeDelta, in testJpegExifByCamera()
1011 timeDelta >= 0 && timeDelta <= WAIT_FOR_SNAPSHOT_TO_COMPLETE); in testJpegExifByCamera() local