Home
last modified time | relevance | path

Searched refs:mOnCompletionCalled (Results 1 – 3 of 3) sorted by relevance

/cts/tests/tests/security/src/android/security/cts/
DMediaServerCrashTest.java50 private final ConditionVariable mOnCompletionCalled = new ConditionVariable(); field in MediaServerCrashTest
58 mOnCompletionCalled.close(); in setUp()
81 mOnCompletionCalled.open(); in setUp()
108 if (!mOnCompletionCalled.block(5000)) { in testIfMediaServerDied()
154 if (!mOnCompletionCalled.block(5000)) { in checkIfMediaServerDiedForDrm()
/cts/tests/tests/media/src/android/media/cts/
DMediaPlayerTest.java159 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 …]
DMediaPlayerTestBase.java57 protected Monitor mOnCompletionCalled = new Monitor(); field in MediaPlayerTestBase