Searched refs:ANR_TIMEOUT_MILLIS (Results 1 – 2 of 2) sorted by relevance
64 private static final int ANR_TIMEOUT_MILLIS = 2500; field in MediaPlayerFlakyNetworkTest202 releaseThread.join(ANR_TIMEOUT_MILLIS); in releaseMediaPlayerAndFailIfAnr()203 assertFalse("release took longer than " + ANR_TIMEOUT_MILLIS, releaseThread.isAlive()); in releaseMediaPlayerAndFailIfAnr()
824 final int ANR_TIMEOUT_MILLIS = 2500; in setAMediaExtractorDataSourceAndFailIfAnr() local838 boolean closed = setAMediaExtractorDataSourceDone.waitForSignal(ANR_TIMEOUT_MILLIS); in setAMediaExtractorDataSourceAndFailIfAnr()839 assertTrue("close took longer than " + ANR_TIMEOUT_MILLIS, closed); in setAMediaExtractorDataSourceAndFailIfAnr()