Home
last modified time | relevance | path

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

/cts/tests/tests/media/src/android/media/cts/
DTestUtils.java82 return waitForCountedSignals(1) > 0; in waitForSignal()
85 public synchronized int waitForCountedSignals(int targetCount) throws InterruptedException { in waitForCountedSignals() method in TestUtils.Monitor
93 return waitForCountedSignals(1, timeoutMs) > 0; in waitForSignal()
96 public synchronized int waitForCountedSignals(int targetCount, long timeoutMs) in waitForCountedSignals() method in TestUtils.Monitor
99 return waitForCountedSignals(targetCount); in waitForCountedSignals()
DMediaPlayerTest.java1805 assertTrue(mOnSubtitleDataCalled.waitForCountedSignals(2, 2500) >= 2); in testChangeSubtitleTrack()
1809 assertTrue(mOnSubtitleDataCalled.waitForCountedSignals(2, 2500) >= 2); in testChangeSubtitleTrack()
1857 assertTrue(mOnSubtitleDataCalled.waitForCountedSignals(2, 2500) >= 2); in testOnSubtitleDataListener()
2052 assertTrue(mOnTimedTextCalled.waitForCountedSignals(2, 2500) >= 2); in testChangeTimedTextTrackWithSpeed()
2056 assertTrue(mOnTimedTextCalled.waitForCountedSignals(2, 2500) >= 2); in testChangeTimedTextTrackWithSpeed()
2060 assertTrue(mOnTimedTextCalled.waitForCountedSignals(2, 2500) >= 2); in testChangeTimedTextTrackWithSpeed()
2064 assertTrue(mOnTimedTextCalled.waitForCountedSignals(2, 2500) >= 2); in testChangeTimedTextTrackWithSpeed()
2102 assertTrue(mOnTimedTextCalled.waitForCountedSignals(n, 15000) == n); in testSeekWithTimedText()