Home
last modified time | relevance | path

Searched refs:waitForCountedSignals (Results 1 – 3 of 3) sorted by relevance

/cts/tests/tests/media/src/android/media/cts/
DTestUtils.java149 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()
DMediaPlayerTest.java1833 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()
DAudioPlaybackConfigurationTest.java513 mOnCalledMonitor.waitForCountedSignals(calledCount, timeoutMs); in waitForCallbacks()