Searched refs:waitForCountedSignals (Results 1 – 3 of 3) sorted by relevance
/cts/tests/tests/media/common/src/android/media/cts/ |
D | TestUtils.java | 329 return waitForCountedSignals(1) > 0; in waitForSignal() 332 public synchronized int waitForCountedSignals(int targetCount) throws InterruptedException { in waitForCountedSignals() method in TestUtils.Monitor 340 return waitForCountedSignals(1, timeoutMs) > 0; in waitForSignal() 343 public synchronized int waitForCountedSignals(int targetCount, long timeoutMs) in waitForCountedSignals() method in TestUtils.Monitor 346 return waitForCountedSignals(targetCount); in waitForCountedSignals()
|
/cts/tests/tests/media/player/src/android/media/player/cts/ |
D | MediaPlayerTest.java | 1969 assertTrue(mOnSubtitleDataCalled.waitForCountedSignals(2, 2500) >= 2); in testChangeSubtitleTrack() 1973 assertTrue(mOnSubtitleDataCalled.waitForCountedSignals(2, 2500) >= 2); in testChangeSubtitleTrack() 2016 assertTrue(mOnSubtitleDataCalled.waitForCountedSignals(2, 2500) >= 2); in testOnSubtitleDataListener() 2206 assertTrue(mOnTimedTextCalled.waitForCountedSignals(2, 2500) >= 2); in testChangeTimedTextTrackWithSpeed() 2210 assertTrue(mOnTimedTextCalled.waitForCountedSignals(2, 2500) >= 2); in testChangeTimedTextTrackWithSpeed() 2214 assertTrue(mOnTimedTextCalled.waitForCountedSignals(2, 2500) >= 2); in testChangeTimedTextTrackWithSpeed() 2218 assertTrue(mOnTimedTextCalled.waitForCountedSignals(2, 2500) >= 2); in testChangeTimedTextTrackWithSpeed() 2249 assertEquals(n, mOnTimedTextCalled.waitForCountedSignals(n, 15000)); in testSeekWithTimedText()
|
/cts/tests/tests/media/audio/src/android/media/audio/cts/ |
D | AudioPlaybackConfigurationTest.java | 1001 mOnCalledMonitor.waitForCountedSignals(calledCount, timeoutMs); in waitForCallbacks()
|