Home
last modified time | relevance | path

Searched refs:waitForSignal (Results 1 – 10 of 10) sorted by relevance

/cts/tests/tests/media/src/android/media/cts/
DMediaPlayerTest.java169 if (!mOnCompletionCalled.waitForSignal(5000)) { in testIfMediaServerDied()
1172 mOnSeekCompleteCalled.waitForSignal();
1186 mOnSeekCompleteCalled.waitForSignal();
1188 mOnCompletionCalled.waitForSignal();
1225 mOnSeekCompleteCalled.waitForSignal(); in testSetPlaybackParamsZeroSpeed()
1342 mOnSeekCompleteCalled.waitForSignal(); in runSeekMode()
1435 assertTrue(mOnMediaTimeDiscontinuityCalled.waitForSignal(1000)); in testMediaTimeDiscontinuity()
1442 mOnSeekCompleteCalled.waitForSignal(); in testMediaTimeDiscontinuity()
1444 assertTrue(mOnMediaTimeDiscontinuityCalled.waitForSignal(1000)); in testMediaTimeDiscontinuity()
1451 assertTrue(mOnMediaTimeDiscontinuityCalled.waitForSignal(1000)); in testMediaTimeDiscontinuity()
[all …]
DTestUtils.java148 public synchronized boolean waitForSignal() throws InterruptedException { in waitForSignal() method in TestUtils.Monitor
159 public synchronized boolean waitForSignal(long timeoutMs) throws InterruptedException { in waitForSignal() method in TestUtils.Monitor
DMediaPlayerDrmTestBase.java337 mOnVideoSizeChangedCalled.waitForSignal(); in playLoadedModularDrmVideo_Generic()
344 playbackCompleted.waitForSignal(); in playLoadedModularDrmVideo_Generic()
347 playbackCompleted.waitForSignal(playTime); in playLoadedModularDrmVideo_Generic()
410 onPreparedCalled.waitForSignal(); in preparePlayerAndDrm_V1_asyncDrmSetup()
527 onPreparedCalled.waitForSignal(); in preparePlayerAndDrm_V3_asyncDrmSetupPlusDrmPreparedListener()
607 mOnVideoSizeChangedCalled.waitForSignal(); in playLoadedModularDrmVideo_V4_offlineKey()
614 playbackCompleted.waitForSignal(); in playLoadedModularDrmVideo_V4_offlineKey()
617 playbackCompleted.waitForSignal(playTime); in playLoadedModularDrmVideo_V4_offlineKey()
739 onPreparedCalled.waitForSignal(); in preparePlayerAndDrm_V5_asyncDrmSetupWithHandler()
741 onDrmPreparedCalled.waitForSignal(); in preparePlayerAndDrm_V5_asyncDrmSetupWithHandler()
DMediaPlayerFlakyNetworkTest.java143 mOnPrepareCalled.waitForSignal(millisToPrepare); in doPlayMp4Stream()
168 mOnPrepareCalled.waitForSignal(10000); in doRandomOperations()
203 releaseThreadRunning.waitForSignal(); in releaseMediaPlayerAndFailIfAnr()
DMediaPlayerTestBase.java287 mOnVideoSizeChangedCalled.waitForSignal(); in playLoadedVideo()
288 mOnVideoRenderingStartCalled.waitForSignal(); in playLoadedVideo()
DAudioPlaybackConfigurationTest.java435 onPreparedCalled.waitForSignal(MEDIAPLAYER_PREPARE_TIMEOUT_MS); in createPreparedMediaPlayer()
DAudioFocusTest.java564 onPreparedCalled.waitForSignal(MEDIAPLAYER_PREPARE_TIMEOUT_MS); in createPreparedMediaPlayer()
DStreamingMediaPlayerTest.java329 mOnBufferingUpdateCalled.waitForSignal(); in localHttpAudioStreamTest()
DMediaDrmClearkeyTest.java452 mSessionMonitor.waitForSignal(); in testClearKeyPlayback()
519 mSessionMonitor.waitForSignal(); in testReleaseOfflineLicense()
DNativeDecoderTest.java1002 boolean closed = setAMediaExtractorDataSourceDone.waitForSignal(ANR_TIMEOUT_MILLIS); in setAMediaExtractorDataSourceAndFailIfAnr()