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
60 mOnCompletionCalled.close(); in setUp()
83 mOnCompletionCalled.open(); in setUp()
112 if (!mOnCompletionCalled.block(5000)) { in testIfMediaServerDied()
157 if (!mOnCompletionCalled.block(5000)) { in checkIfMediaServerDiedForDrm()
/cts/tests/tests/media/src/android/media/cts/
DMediaPlayerTest.java132 mOnCompletionCalled.signal(); in testIfMediaServerDied()
142 if (!mOnCompletionCalled.waitForSignal(5000)) { in testIfMediaServerDied()
350 mOnCompletionCalled.reset(); in testPlayAudioLooping()
355 mOnCompletionCalled.signal(); in testPlayAudioLooping()
366 … assertEquals("wrong number of completion signals", 0, mOnCompletionCalled.getNumSignal()); in testPlayAudioLooping()
373 … assertEquals("wrong number of completion signals", 1, mOnCompletionCalled.getNumSignal()); in testPlayAudioLooping()
596 mOnCompletionCalled.reset();
602 mOnCompletionCalled.signal();
619 assertFalse(mOnCompletionCalled.isSignalled());
628 assertTrue(mOnCompletionCalled.isSignalled());
[all …]
DMediaPlayerTestBase.java104 protected Monitor mOnCompletionCalled = new Monitor(); field in MediaPlayerTestBase