Home
last modified time | relevance | path

Searched refs:waitDuration (Results 1 – 3 of 3) sorted by relevance

/frameworks/support/media/version-compat-tests/previous/service/src/androidTest/java/android/support/mediacompat/service/
DMediaSessionCompatCallbackTest.java284 final long waitDuration = 100L; in testGetPlaybackStateWithPositionUpdate() local
285 Thread.sleep(waitDuration); in testGetPlaybackStateWithPositionUpdate()
287 final long expectedUpdateTime = waitDuration + stateSetTime; in testGetPlaybackStateWithPositionUpdate()
288 final long expectedPosition = (long) (TEST_PLAYBACK_SPEED * waitDuration) + TEST_POSITION; in testGetPlaybackStateWithPositionUpdate()
/frameworks/support/media/version-compat-tests/current/service/src/androidTest/java/android/support/mediacompat/service/
DMediaSessionCompatCallbackTest.java286 final long waitDuration = 100L; in testGetPlaybackStateWithPositionUpdate() local
287 Thread.sleep(waitDuration); in testGetPlaybackStateWithPositionUpdate()
289 final long expectedUpdateTime = waitDuration + stateSetTime; in testGetPlaybackStateWithPositionUpdate()
290 final long expectedPosition = (long) (TEST_PLAYBACK_SPEED * waitDuration) + TEST_POSITION; in testGetPlaybackStateWithPositionUpdate()
/frameworks/native/services/inputflinger/
DInputDispatcher.cpp3524 float waitDuration = (currentTime - waitStartTime) * 0.000001f; in onANRLocked() local
3528 dispatchLatency, waitDuration, reason); in onANRLocked()
3542 mLastANRState += StringPrintf(INDENT2 "WaitDuration: %0.1fms\n", waitDuration); in onANRLocked()