Home
last modified time | relevance | path

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

/cts/tests/tests/media/src/android/media/cts/
DMediaPlayerTest.java154 if (!mOnCompletionCalled.waitForSignal(5000)) { in testIfMediaServerDied()
1145 mOnSeekCompleteCalled.waitForSignal();
1159 mOnSeekCompleteCalled.waitForSignal();
1161 mOnCompletionCalled.waitForSignal();
1198 mOnSeekCompleteCalled.waitForSignal(); in testSetPlaybackParamsZeroSpeed()
1314 mOnSeekCompleteCalled.waitForSignal(); in runSeekMode()
1407 assertTrue(mOnMediaTimeDiscontinuityCalled.waitForSignal(1000)); in testMediaTimeDiscontinuity()
1414 mOnSeekCompleteCalled.waitForSignal(); in testMediaTimeDiscontinuity()
1416 assertTrue(mOnMediaTimeDiscontinuityCalled.waitForSignal(1000)); in testMediaTimeDiscontinuity()
1423 assertTrue(mOnMediaTimeDiscontinuityCalled.waitForSignal(1000)); in testMediaTimeDiscontinuity()
[all …]
DTestUtils.java81 public synchronized boolean waitForSignal() throws InterruptedException { in waitForSignal() method in TestUtils.Monitor
92 public synchronized boolean waitForSignal(long timeoutMs) throws InterruptedException { in waitForSignal() method in TestUtils.Monitor
DMediaPlayerDrmTestBase.java328 mOnVideoSizeChangedCalled.waitForSignal(); in playLoadedModularDrmVideo_Generic()
335 playbackCompleted.waitForSignal(); in playLoadedModularDrmVideo_Generic()
338 playbackCompleted.waitForSignal(playTime); in playLoadedModularDrmVideo_Generic()
401 onPreparedCalled.waitForSignal(); in preparePlayerAndDrm_V1_asyncDrmSetup()
518 onPreparedCalled.waitForSignal(); in preparePlayerAndDrm_V3_asyncDrmSetupPlusDrmPreparedListener()
598 mOnVideoSizeChangedCalled.waitForSignal(); in playLoadedModularDrmVideo_V4_offlineKey()
605 playbackCompleted.waitForSignal(); in playLoadedModularDrmVideo_V4_offlineKey()
608 playbackCompleted.waitForSignal(playTime); in playLoadedModularDrmVideo_V4_offlineKey()
730 onPreparedCalled.waitForSignal(); in preparePlayerAndDrm_V5_asyncDrmSetupWithHandler()
732 onDrmPreparedCalled.waitForSignal(); in preparePlayerAndDrm_V5_asyncDrmSetupWithHandler()
DMediaPlayerFlakyNetworkTest.java141 mOnPrepareCalled.waitForSignal(millisToPrepare); in doPlayMp4Stream()
166 mOnPrepareCalled.waitForSignal(10000); in doRandomOperations()
201 releaseThreadRunning.waitForSignal(); in releaseMediaPlayerAndFailIfAnr()
D.goutputstream-9KZYJZ388 mOnPrepareCalled.waitForSignal();
395 mOnBufferingUpdateCalled.waitForSignal();
452 mOnErrorCalled.waitForSignal();
513 onSetBufferingParamsCalled.waitForSignal();
536 onSetBufferingParamsCalled.waitForSignal();
668 mOnPrepareCalled.waitForSignal();
672 mOnPlayCalled.waitForSignal();
DMediaPlayerTestBase.java276 mOnVideoSizeChangedCalled.waitForSignal(); in playLoadedVideo()
277 mOnVideoRenderingStartCalled.waitForSignal(); in playLoadedVideo()
DMediaDrmClearkeyTest.java396 mSessionMonitor.waitForSignal(); in testClearKeyPlayback()
457 mSessionMonitor.waitForSignal(); in testReleaseOfflineLicense()
DStreamingMediaPlayerTest.java327 mOnBufferingUpdateCalled.waitForSignal(); in localHttpAudioStreamTest()
DNativeDecoderTest.java838 boolean closed = setAMediaExtractorDataSourceDone.waitForSignal(ANR_TIMEOUT_MILLIS); in setAMediaExtractorDataSourceAndFailIfAnr()