Home
last modified time | relevance | path

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

/cts/tests/tests/media/drmframework/src/android/media/drmframework/cts/
DMediaPlayerDrmTestBase.java380 Monitor onPreparedCalled = new Monitor(); in preparePlayerAndDrm_V1_asyncDrmSetup() local
406 onPreparedCalled.signal(); in preparePlayerAndDrm_V1_asyncDrmSetup()
414 onPreparedCalled.waitForSignal(); in preparePlayerAndDrm_V1_asyncDrmSetup()
458 Monitor onPreparedCalled = new Monitor(); in preparePlayerAndDrm_V3_asyncDrmSetupPlusDrmPreparedListener() local
522 onPreparedCalled.signal(); in preparePlayerAndDrm_V3_asyncDrmSetupPlusDrmPreparedListener()
531 onPreparedCalled.waitForSignal(); in preparePlayerAndDrm_V3_asyncDrmSetupPlusDrmPreparedListener()
658 Monitor onPreparedCalled = new Monitor(); in preparePlayerAndDrm_V5_asyncDrmSetupWithHandler() local
734 onPreparedCalled.signal(); in preparePlayerAndDrm_V5_asyncDrmSetupWithHandler()
743 onPreparedCalled.waitForSignal(); in preparePlayerAndDrm_V5_asyncDrmSetupWithHandler()
/cts/tests/tests/media/audio/src/android/media/audio/cts/
DAudioPlaybackConfigurationTest.java843 final TestUtils.Monitor onPreparedCalled = new TestUtils.Monitor(); in createPreparedMediaPlayer() local
845 mp.setOnPreparedListener(mp1 -> onPreparedCalled.signal()); in createPreparedMediaPlayer()
847 onPreparedCalled.waitForSignal(MEDIAPLAYER_PREPARE_TIMEOUT_MS); in createPreparedMediaPlayer()
850 onPreparedCalled.isSignalled()); in createPreparedMediaPlayer()
DAudioFocusTest.java1252 final TestUtils.Monitor onPreparedCalled = new TestUtils.Monitor(); in createPreparedMediaPlayer() local
1262 mp.setOnPreparedListener(mp1 -> onPreparedCalled.signal()); in createPreparedMediaPlayer()
1264 onPreparedCalled.waitForSignal(MEDIAPLAYER_PREPARE_TIMEOUT_MS); in createPreparedMediaPlayer()
1267 onPreparedCalled.isSignalled()); in createPreparedMediaPlayer()