Home
last modified time | relevance | path

Searched refs:isPlaying (Results 1 – 25 of 27) sorted by relevance

12

/cts/tests/tests/media/src/android/media/cts/
DMediaPlayerTest.java187 assertTrue("media server died", mp2.isPlaying()); in testVorbisCrash()
223 assertFalse(mp.isPlaying()); in testPlayAudioFromDataURI()
225 assertTrue(mp.isPlaying()); in testPlayAudioFromDataURI()
242 assertFalse(mp.isPlaying()); in testPlayAudioFromDataURI()
244 assertTrue(mp.isPlaying()); in testPlayAudioFromDataURI()
251 assertFalse(mp.isPlaying()); in testPlayAudioFromDataURI()
253 assertTrue(mp.isPlaying()); in testPlayAudioFromDataURI()
256 while(mp.isPlaying()) { in testPlayAudioFromDataURI()
287 assertFalse(mp.isPlaying());
289 assertTrue(mp.isPlaying());
[all …]
DRingtoneTest.java101 if (mRingtone.isPlaying()) mRingtone.stop(); in tearDown()
156 assertFalse(mRingtone.isPlaying()); in testRingtone()
164 assertTrue("couldn't play ringtone " + uri, mRingtone.isPlaying()); in testRingtone()
166 assertFalse(mRingtone.isPlaying()); in testRingtone()
190 assertTrue("couldn't play ringtone " + uri, mRingtone.isPlaying()); in testLoopingVolume()
194 assertFalse(mRingtone.isPlaying()); in testLoopingVolume()
DRingtoneManagerTest.java194 assertTrue(ringtone.isPlaying()); in testStopPreviousRingtone()
196 assertFalse(ringtone.isPlaying()); in testStopPreviousRingtone()
198 assertFalse(ringtone.isPlaying()); in testStopPreviousRingtone()
200 assertTrue(newRingtone.isPlaying()); in testStopPreviousRingtone()
202 assertFalse(newRingtone.isPlaying()); in testStopPreviousRingtone()
DMediaPlayerFlakyNetworkTest.java174 assertTrue(mMediaPlayer.isPlaying()); in doRandomOperations()
178 assertFalse(mMediaPlayer.isPlaying()); in doRandomOperations()
DVideoSurfaceView.java69 while (mMediaPlayer.isPlaying()) { in startTest()
DAudioTrackLatencyTest.java325 boolean isPlaying = false; in checkOutputLowLatency()
330 if (!isPlaying) { in checkOutputLowLatency()
332 isPlaying = true; in checkOutputLowLatency()
DStreamingMediaPlayerTest.java325 assertFalse(mMediaPlayer.isPlaying()); in localHttpAudioStreamTest()
474 assertTrue("MediaPlayer not playing", mMediaPlayer.isPlaying()); in testPlayHlsStreamWithTimedId3()
DMediaRandomTest.java231 mPlayer.isPlaying(); in testPlayerRandomAction()
DRoutingTest.java585 assertTrue(mediaPlayer.isPlaying()); in test_mediaPlayer_preferredDevice()
615 assertTrue(mediaPlayer.isPlaying()); in test_mediaPlayer_getRoutedDevice()
DMediaPlayerTestBase.java285 while (mMediaPlayer.isPlaying()) { in playLoadedVideo()
/cts/tests/tests/mediastress/src/android/mediastress/cts/
DCodecTest.java204 misPlaying = mp.isPlaying(); in pause()
355 boolean isPlaying = false; in seekToEnd()
366 isPlaying = mp.isPlaying(); in seekToEnd()
368 Log.v(TAG, "seekToEnd currentPosition= " + currentPosition + " isPlaying = " + isPlaying); in seekToEnd()
372 if (currentPosition < 0.9 * duration || isPlaying) in seekToEnd()
383 boolean isPlaying = false; in shortMediaStop()
393 isPlaying = mp.isPlaying(); in shortMediaStop()
395 Log.v(TAG, "seekToEnd currentPosition= " + currentPosition + " isPlaying = " + isPlaying); in shortMediaStop()
399 if (currentPosition > duration || isPlaying) in shortMediaStop()
411 boolean isPlaying = false; in playToEnd()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DTrivialPlayer.java69 public boolean isPlaying() { in isPlaying() method in TrivialPlayer
88 while (isPlaying()) { in shutDown()
DNativeAudioThread.java60 boolean isPlaying = false; field in NativeAudioThread
117 isPlaying = true; in run()
244 isPlaying = false; in endTest()
DUSBAudioPeripheralRecordActivity.java107 if (mPlayer != null && mPlayer.isPlaying()) { in stopRecording()
178 if (isPlaying()) { in onClick()
DSoundPlayerObject.java292 boolean playing = isPlaying(); in setSoundWithResId()
420 public boolean isPlaying() { in isPlaying() method in SoundPlayerObject
424 result = mMediaPlayer.isPlaying(); in isPlaying()
DUSBAudioPeripheralPlayActivity.java69 if (!isPlaying()) { in onClick()
DUSBAudioPeripheralPlayerActivity.java78 public boolean isPlaying() { in isPlaying() method in USBAudioPeripheralPlayerActivity
DAudioFrequencyMicActivity.java292 return mSPlayer.isPlaying(); in playerIsPlaying()
296 if (mSPlayer.isAlive() && mSPlayer.isPlaying()) { in playerStopAll()
DAudioFrequencyVoiceRecognitionActivity.java405 return mSPlayer.isPlaying(); in playerIsPlaying()
409 if (mSPlayer.isAlive() && mSPlayer.isPlaying()) { in playerStopAll()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/telecom/
DCtsConnection.java115 if (mMediaPlayer != null && !mMediaPlayer.isPlaying()) { in onAnswer()
163 if (mMediaPlayer != null && mMediaPlayer.isPlaying()) { in setDisconnectedAndDestroy()
/cts/tests/tests/media/libndkaudio/
DAudioPlayer.h41 inline bool isPlaying() { in isPlaying() function
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/audiolib/
DStreamPlayer.java62 public boolean isPlaying() { return mPlaying; } in isPlaying() method in StreamPlayer
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-3913/
Dpoc.cpp68 status_t isPlaying(bool *state) { return OK; } in isPlaying() function in MyMediaPlayer
/cts/tests/tests/widget/src/android/widget/cts/
DMediaControllerTest.java266 public boolean isPlaying() { in isPlaying() method in MediaControllerTest.MockMediaPlayerControl
/cts/tests/tests/drm/src/android/drm/cts/
DDRMTest.java275 assertTrue("player is not playing", player.isPlaying()); in testForwardLockAccess()

12