Searched refs:mOnCompletionCalled (Results 1 – 3 of 3) sorted by relevance
50 private final ConditionVariable mOnCompletionCalled = new ConditionVariable(); field in MediaServerCrashTest58 mOnCompletionCalled.close(); in setUp()81 mOnCompletionCalled.open(); in setUp()108 if (!mOnCompletionCalled.block(5000)) { in testIfMediaServerDied()154 if (!mOnCompletionCalled.block(5000)) { in checkIfMediaServerDiedForDrm()
159 mOnCompletionCalled.signal(); in testIfMediaServerDied()169 if (!mOnCompletionCalled.waitForSignal(5000)) { in testIfMediaServerDied()394 mOnCompletionCalled.reset(); in testPlayAudioLooping()399 mOnCompletionCalled.signal(); in testPlayAudioLooping()410 … assertEquals("wrong number of completion signals", 0, mOnCompletionCalled.getNumSignal()); in testPlayAudioLooping()417 … assertEquals("wrong number of completion signals", 1, mOnCompletionCalled.getNumSignal()); in testPlayAudioLooping()712 mOnCompletionCalled.reset(); in testSetNextMediaPlayer()718 mOnCompletionCalled.signal(); in testSetNextMediaPlayer()735 assertFalse(mOnCompletionCalled.isSignalled()); in testSetNextMediaPlayer()744 assertTrue(mOnCompletionCalled.isSignalled()); in testSetNextMediaPlayer()[all …]
57 protected Monitor mOnCompletionCalled = new Monitor(); field in MediaPlayerTestBase