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.java51 private final ConditionVariable mOnCompletionCalled = new ConditionVariable(); field in MediaServerCrashTest
59 mOnCompletionCalled.close(); in setUp()
82 mOnCompletionCalled.open(); in setUp()
108 if (!mOnCompletionCalled.block(5000)) { in testIfMediaServerDied()
153 if (!mOnCompletionCalled.block(5000)) { in checkIfMediaServerDiedForDrm()
/cts/tests/tests/media/src/android/media/cts/
DMediaPlayerTest.java144 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 …]
DMediaPlayerTestBase.java53 protected Monitor mOnCompletionCalled = new Monitor(); field in MediaPlayerTestBase