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/
DMediaPlayerTestBase.java60 return waitForCountedSignals(1) > 0; in waitForSignal()
63 public synchronized int waitForCountedSignals(int targetCount) throws InterruptedException { in waitForCountedSignals() method in MediaPlayerTestBase.Monitor
71 return waitForCountedSignals(1, timeoutMs) > 0; in waitForSignal()
74 public synchronized int waitForCountedSignals(int targetCount, long timeoutMs) in waitForCountedSignals() method in MediaPlayerTestBase.Monitor
77 return waitForCountedSignals(targetCount); in waitForCountedSignals()
DMediaPlayerTest.java1612 assertTrue(mOnSubtitleDataCalled.waitForCountedSignals(2, 2500) >= 2); in testChangeSubtitleTrack()
1616 assertTrue(mOnSubtitleDataCalled.waitForCountedSignals(2, 2500) >= 2); in testChangeSubtitleTrack()
1857 assertTrue(mOnTimedTextCalled.waitForCountedSignals(2, 2500) >= 2); in testChangeTimedTextTrack()
1861 assertTrue(mOnTimedTextCalled.waitForCountedSignals(2, 2500) >= 2); in testChangeTimedTextTrack()
1865 assertTrue(mOnTimedTextCalled.waitForCountedSignals(2, 2500) >= 2); in testChangeTimedTextTrack()
1869 assertTrue(mOnTimedTextCalled.waitForCountedSignals(2, 2500) >= 2); in testChangeTimedTextTrack()