Searched refs:waitForCountedSignals (Results 1 – 3 of 3) sorted by relevance
/cts/tests/tests/media/src/android/media/cts/ |
D | TestUtils.java | 149 return waitForCountedSignals(1) > 0; in waitForSignal() 152 public synchronized int waitForCountedSignals(int targetCount) throws InterruptedException { in waitForCountedSignals() method in TestUtils.Monitor 160 return waitForCountedSignals(1, timeoutMs) > 0; in waitForSignal() 163 public synchronized int waitForCountedSignals(int targetCount, long timeoutMs) in waitForCountedSignals() method in TestUtils.Monitor 166 return waitForCountedSignals(targetCount); in waitForCountedSignals()
|
D | MediaPlayerTest.java | 1833 assertTrue(mOnSubtitleDataCalled.waitForCountedSignals(2, 2500) >= 2); in testChangeSubtitleTrack() 1837 assertTrue(mOnSubtitleDataCalled.waitForCountedSignals(2, 2500) >= 2); in testChangeSubtitleTrack() 1885 assertTrue(mOnSubtitleDataCalled.waitForCountedSignals(2, 2500) >= 2); in testOnSubtitleDataListener() 2081 assertTrue(mOnTimedTextCalled.waitForCountedSignals(2, 2500) >= 2); in testChangeTimedTextTrackWithSpeed() 2085 assertTrue(mOnTimedTextCalled.waitForCountedSignals(2, 2500) >= 2); in testChangeTimedTextTrackWithSpeed() 2089 assertTrue(mOnTimedTextCalled.waitForCountedSignals(2, 2500) >= 2); in testChangeTimedTextTrackWithSpeed() 2093 assertTrue(mOnTimedTextCalled.waitForCountedSignals(2, 2500) >= 2); in testChangeTimedTextTrackWithSpeed() 2131 assertTrue(mOnTimedTextCalled.waitForCountedSignals(n, 15000) == n); in testSeekWithTimedText()
|
D | AudioPlaybackConfigurationTest.java | 513 mOnCalledMonitor.waitForCountedSignals(calledCount, timeoutMs); in waitForCallbacks()
|