Home
last modified time | relevance | path

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

/cts/tests/tests/media/src/android/media/cts/
DMediaPlayerTest.java202 assertTrue("media server died", mp2.isPlaying()); in testVorbisCrash()
240 assertFalse(mp.isPlaying()); in testPlayAudioFromDataURI()
242 assertTrue(mp.isPlaying()); in testPlayAudioFromDataURI()
259 assertFalse(mp.isPlaying()); in testPlayAudioFromDataURI()
261 assertTrue(mp.isPlaying()); in testPlayAudioFromDataURI()
268 assertFalse(mp.isPlaying()); in testPlayAudioFromDataURI()
270 assertTrue(mp.isPlaying()); in testPlayAudioFromDataURI()
273 while(mp.isPlaying()) { in testPlayAudioFromDataURI()
304 assertFalse(mp.isPlaying());
306 assertTrue(mp.isPlaying());
[all …]
DRingtoneTest.java105 if (mRingtone.isPlaying()) mRingtone.stop(); in tearDown()
160 assertFalse(mRingtone.isPlaying()); in testRingtone()
168 assertTrue("couldn't play ringtone " + uri, mRingtone.isPlaying()); in testRingtone()
170 assertFalse(mRingtone.isPlaying()); in testRingtone()
197 assertTrue("couldn't play ringtone " + uri, mRingtone.isPlaying()); in testPlaybackProperties()
204 assertFalse(mRingtone.isPlaying()); in testPlaybackProperties()
DRingtoneManagerTest.java189 assertTrue(ringtone.isPlaying()); in testStopPreviousRingtone()
191 assertFalse(ringtone.isPlaying()); in testStopPreviousRingtone()
193 assertFalse(ringtone.isPlaying()); in testStopPreviousRingtone()
195 assertTrue(newRingtone.isPlaying()); in testStopPreviousRingtone()
197 assertFalse(newRingtone.isPlaying()); in testStopPreviousRingtone()
DVideoSurfaceView.java69 while (mMediaPlayer.isPlaying()) { in startTest()
DMediaPlayerFlakyNetworkTest.java176 assertTrue(mMediaPlayer.isPlaying()); in doRandomOperations()
180 assertFalse(mMediaPlayer.isPlaying()); in doRandomOperations()
DAudioTrackLatencyTest.java325 boolean isPlaying = false; in checkOutputLowLatency()
330 if (!isPlaying) { in checkOutputLowLatency()
332 isPlaying = true; in checkOutputLowLatency()
DRoutingTest.java641 assertTrue(mediaPlayer.isPlaying()); in test_mediaPlayer_preferredDevice()
675 assertTrue(mediaPlayer.isPlaying()); in test_mediaPlayer_getRoutedDevice()
802 || !mediaPlayer.isPlaying()); in test_mediaPlayer_incallMusicRoutingPermissions()
DMediaRandomTest.java239 mPlayer.isPlaying(); in testPlayerRandomAction()
DStreamingMediaPlayerTest.java327 assertFalse(mMediaPlayer.isPlaying()); in localHttpAudioStreamTest()
478 assertTrue("MediaPlayer not playing", mMediaPlayer.isPlaying()); in testPlayHlsStreamWithTimedId3()
DMediaPlayerTestBase.java296 while (mMediaPlayer.isPlaying()) { in playLoadedVideo()
/cts/tests/tests/mediastress/src/android/mediastress/cts/
DCodecTest.java205 misPlaying = mp.isPlaying(); in pause()
356 boolean isPlaying = false; in seekToEnd()
367 isPlaying = mp.isPlaying(); in seekToEnd()
369 Log.v(TAG, "seekToEnd currentPosition= " + currentPosition + " isPlaying = " + isPlaying); in seekToEnd()
373 if (currentPosition < 0.9 * duration || isPlaying) in seekToEnd()
384 boolean isPlaying = false; in shortMediaStop()
394 isPlaying = mp.isPlaying(); in shortMediaStop()
396 Log.v(TAG, "seekToEnd currentPosition= " + currentPosition + " isPlaying = " + isPlaying); in shortMediaStop()
400 if (currentPosition > duration || isPlaying) in shortMediaStop()
412 boolean isPlaying = false; in playToEnd()
[all …]
/cts/tests/tests/media/libndkaudio/
DAudioPlayer.h41 inline bool isPlaying() { in isPlaying() function
/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/apps/CtsVerifier/src/org/hyphonate/megaaudio/player/
DPlayer.java63 public abstract boolean isPlaying(); in isPlaying() method in Player
DOboePlayer.java59 public boolean isPlaying() { return mPlaying; } in isPlaying() method in OboePlayer
DJavaPlayer.java72 public boolean isPlaying() { in isPlaying() method in JavaPlayer
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DUSBAudioPeripheralPlayActivity.java75 if (!isPlaying()) { in onClick()
DUSBAudioPeripheralPlayerActivity.java86 public boolean isPlaying() { in isPlaying() method in USBAudioPeripheralPlayerActivity
DSoundPlayerObject.java292 boolean playing = isPlaying(); in setSoundWithResId()
420 public boolean isPlaying() { in isPlaying() method in SoundPlayerObject
424 result = mMediaPlayer.isPlaying(); in isPlaying()
DAudioFrequencyMicActivity.java285 return mSPlayer.isPlaying(); in playerIsPlaying()
289 if (mSPlayer.isAlive() && mSPlayer.isPlaying()) { in playerStopAll()
DAudioFrequencyVoiceRecognitionActivity.java409 return mSPlayer.isPlaying(); in playerIsPlaying()
413 if (mSPlayer.isAlive() && mSPlayer.isPlaying()) { in playerStopAll()
DAudioFrequencyUnprocessedActivity.java366 return mSPlayer.isPlaying(); in playerIsPlaying()
370 if (mSPlayer.isAlive() && mSPlayer.isPlaying()) { in playerStopAll()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-3913/
Dpoc.cpp70 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()