Searched refs:waitForCountedSignals (Results 1 – 2 of 2) sorted by relevance
60 return waitForCountedSignals(1) > 0; in waitForSignal()63 public synchronized int waitForCountedSignals(int targetCount) throws InterruptedException { in waitForCountedSignals() method in MediaPlayerTestBase.Monitor71 return waitForCountedSignals(1, timeoutMs) > 0; in waitForSignal()74 public synchronized int waitForCountedSignals(int targetCount, long timeoutMs) in waitForCountedSignals() method in MediaPlayerTestBase.Monitor77 return waitForCountedSignals(targetCount); in waitForCountedSignals()
1612 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()