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.java1848 assertTrue(mOnSubtitleDataCalled.waitForCountedSignals(2, 2500) >= 2); in testChangeSubtitleTrack()
1852 assertTrue(mOnSubtitleDataCalled.waitForCountedSignals(2, 2500) >= 2); in testChangeSubtitleTrack()
1900 assertTrue(mOnSubtitleDataCalled.waitForCountedSignals(2, 2500) >= 2); in testOnSubtitleDataListener()
2095 assertTrue(mOnTimedTextCalled.waitForCountedSignals(2, 2500) >= 2); in testChangeTimedTextTrackWithSpeed()
2099 assertTrue(mOnTimedTextCalled.waitForCountedSignals(2, 2500) >= 2); in testChangeTimedTextTrackWithSpeed()
2103 assertTrue(mOnTimedTextCalled.waitForCountedSignals(2, 2500) >= 2); in testChangeTimedTextTrackWithSpeed()
2107 assertTrue(mOnTimedTextCalled.waitForCountedSignals(2, 2500) >= 2); in testChangeTimedTextTrackWithSpeed()
2145 assertTrue(mOnTimedTextCalled.waitForCountedSignals(n, 15000) == n); in testSeekWithTimedText()