Searched refs:timeDelta (Results 1 – 5 of 5) sorted by relevance
73 long timeDelta = System.currentTimeMillis() - time; in testConditionVariable() local74 assertTrue(timeDelta >= BLOCK_TIME && timeDelta <= BLOCK_TIME + BLOCK_TIME_DELTA); in testConditionVariable()
242 final float timeDelta = 0.015f; in testGetInterpolation() local243 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()
268 long timeDelta = mSentMsgs[msgIndex].timeSent - mReceivedMsgs[msgIndex].timestamp; in checkInOutLatency() local269 if (timeDelta > maxLatencyNanos) { in checkInOutLatency()271 " ---- CHECKLATENCY_LATENCYEXCEEDED %ld", timeDelta); in checkInOutLatency()
345 long timeDelta = framesPending * NANOS_PER_SECOND / track.getSampleRate(); in checkOutputLowLatency() local346 long timePresented = timestamp.nanoTime + timeDelta; in checkOutputLowLatency()
976 long timeDelta = captureFinishTime - captureStartTime; in testJpegExifByCamera() local977 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