Searched refs:mOnCompletionCalled (Results 1 – 3 of 3) sorted by relevance
51 private final ConditionVariable mOnCompletionCalled = new ConditionVariable(); field in MediaServerCrashTest59 mOnCompletionCalled.close(); in setUp()82 mOnCompletionCalled.open(); in setUp()108 if (!mOnCompletionCalled.block(5000)) { in testIfMediaServerDied()153 if (!mOnCompletionCalled.block(5000)) { in checkIfMediaServerDiedForDrm()
144 mOnCompletionCalled.signal(); in testIfMediaServerDied()154 if (!mOnCompletionCalled.waitForSignal(5000)) { in testIfMediaServerDied()374 mOnCompletionCalled.reset(); in testPlayAudioLooping()379 mOnCompletionCalled.signal(); in testPlayAudioLooping()390 … assertEquals("wrong number of completion signals", 0, mOnCompletionCalled.getNumSignal()); in testPlayAudioLooping()397 … assertEquals("wrong number of completion signals", 1, mOnCompletionCalled.getNumSignal()); in testPlayAudioLooping()682 mOnCompletionCalled.reset(); in testSetNextMediaPlayer()688 mOnCompletionCalled.signal(); in testSetNextMediaPlayer()705 assertFalse(mOnCompletionCalled.isSignalled()); in testSetNextMediaPlayer()714 assertTrue(mOnCompletionCalled.isSignalled()); in testSetNextMediaPlayer()[all …]
53 protected Monitor mOnCompletionCalled = new Monitor(); field in MediaPlayerTestBase