Searched refs:ANR_TIMEOUT_MILLIS (Results 1 – 2 of 2) sorted by relevance
65 private static final int ANR_TIMEOUT_MILLIS = 3500; field in MediaPlayerFlakyNetworkTest204 releaseThread.join(ANR_TIMEOUT_MILLIS); in releaseMediaPlayerAndFailIfAnr()205 assertFalse("release took longer than " + ANR_TIMEOUT_MILLIS, releaseThread.isAlive()); in releaseMediaPlayerAndFailIfAnr()
988 final int ANR_TIMEOUT_MILLIS = 2500; in setAMediaExtractorDataSourceAndFailIfAnr() local1002 boolean closed = setAMediaExtractorDataSourceDone.waitForSignal(ANR_TIMEOUT_MILLIS); in setAMediaExtractorDataSourceAndFailIfAnr()1003 assertTrue("close took longer than " + ANR_TIMEOUT_MILLIS, closed); in setAMediaExtractorDataSourceAndFailIfAnr()