Home
last modified time | relevance | path

Searched refs:ANR_TIMEOUT_MILLIS (Results 1 – 2 of 2) sorted by relevance

/cts/tests/tests/media/src/android/media/cts/
DMediaPlayerFlakyNetworkTest.java64 private static final int ANR_TIMEOUT_MILLIS = 2500; field in MediaPlayerFlakyNetworkTest
202 releaseThread.join(ANR_TIMEOUT_MILLIS); in releaseMediaPlayerAndFailIfAnr()
203 assertFalse("release took longer than " + ANR_TIMEOUT_MILLIS, releaseThread.isAlive()); in releaseMediaPlayerAndFailIfAnr()
DNativeDecoderTest.java824 final int ANR_TIMEOUT_MILLIS = 2500; in setAMediaExtractorDataSourceAndFailIfAnr() local
838 boolean closed = setAMediaExtractorDataSourceDone.waitForSignal(ANR_TIMEOUT_MILLIS); in setAMediaExtractorDataSourceAndFailIfAnr()
839 assertTrue("close took longer than " + ANR_TIMEOUT_MILLIS, closed); in setAMediaExtractorDataSourceAndFailIfAnr()