Home
last modified time | relevance | path

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

12

/cts/tests/tests/media/player/src/android/media/player/cts/
DMediaPlayerTest.java269 assertTrue("media server died", mp2.isPlaying()); in testVorbisCrash()
307 assertFalse(mediaPlayer.isPlaying()); in testPlayContentUri()
309 assertTrue(mediaPlayer.isPlaying()); in testPlayContentUri()
312 while (mediaPlayer.isPlaying()) { in testPlayContentUri()
342 assertFalse(mp.isPlaying()); in testPlayAudioFromDataURI()
344 assertTrue(mp.isPlaying()); in testPlayAudioFromDataURI()
361 assertFalse(mp.isPlaying()); in testPlayAudioFromDataURI()
363 assertTrue(mp.isPlaying()); in testPlayAudioFromDataURI()
370 assertFalse(mp.isPlaying()); in testPlayAudioFromDataURI()
372 assertTrue(mp.isPlaying()); in testPlayAudioFromDataURI()
[all …]
DVideoSurfaceView.java70 while (mMediaPlayer.isPlaying()) { in startTest()
DMediaPlayerFlakyNetworkTest.java199 assertTrue(mMediaPlayer.isPlaying()); in doRandomOperations()
203 assertFalse(mMediaPlayer.isPlaying()); in doRandomOperations()
DMediaPlayerRandomTest.java185 mPlayer.isPlaying(); in testPlayerRandomAction()
DStreamingMediaPlayerTest.java307 assertFalse(mMediaPlayer.isPlaying()); in localHttpAudioStreamTest()
465 assertTrue("MediaPlayer not playing", mMediaPlayer.isPlaying()); in testPlayHlsStreamWithTimedId3()
/cts/tests/tests/mediacujtest/common/src/android/media/cujcommon/cts/
DDeviceLockTestPlayerListener.java49 public void onIsPlayingChanged(boolean isPlaying) { in onIsPlayingChanged() argument
50 super.onIsPlayingChanged(isPlaying); in onIsPlayingChanged()
51 mIsPlayerPlaying = isPlaying; in onIsPlayingChanged()
DMainActivity.java162 assertTrue(mPlayer.isPlaying()); in onPictureInPictureModeChanged()
179 assertTrue(mPlayer.isPlaying()); in onMultiWindowModeChanged()
DCallNotificationTestPlayerListener.java120 if (!mActivity.mPlayer.isPlaying()) { in onPlaybackSuppressionReasonChanged()
/cts/tests/tests/media/audio/src/android/media/audio/cts/
DRingtoneTest.java107 if (mRingtone.isPlaying()) mRingtone.stop(); in tearDown()
169 assertFalse(mRingtone.isPlaying()); in testRingtone()
181 assertTrue("couldn't play ringtone " + uriWithUser, mRingtone.isPlaying()); in testRingtone()
183 assertFalse(mRingtone.isPlaying()); in testRingtone()
210 assertTrue("couldn't play ringtone " + uri, mRingtone.isPlaying()); in testPlaybackProperties()
217 assertFalse(mRingtone.isPlaying()); in testPlaybackProperties()
DRingtoneManagerTest.java206 assertTrue(ringtone.isPlaying()); in testStopPreviousRingtone()
208 assertFalse(ringtone.isPlaying()); in testStopPreviousRingtone()
210 assertFalse(ringtone.isPlaying()); in testStopPreviousRingtone()
212 assertTrue(newRingtone.isPlaying()); in testStopPreviousRingtone()
214 assertFalse(newRingtone.isPlaying()); in testStopPreviousRingtone()
DRoutingTest.java627 assertTrue(mediaPlayer.isPlaying()); in test_mediaPlayer_preferredDevice()
638 assertTrue(mediaPlayer.isPlaying()); in test_mediaPlayer_preferredDevice()
652 assertTrue(mediaPlayer.isPlaying()); in test_mediaPlayer_preferredDevice()
662 assertTrue(mediaPlayer.isPlaying()); in test_mediaPlayer_preferredDevice()
676 assertTrue(mediaPlayer.isPlaying()); in test_mediaPlayer_getRoutedDevice()
760 assertTrue(mediaPlayer.isPlaying()); in test_MediaPlayer_RoutingChangedCallback()
808 || !mediaPlayer.isPlaying()); in test_mediaPlayer_incallMusicRoutingPermissions()
DAudioPlaybackConfigurationTest.java163 assertTrue("MediaPlayer should have started", mMp.isPlaying()); in testParcelableWriteToParcel()
167 assertFalse("MediaPlayer should have stopped", mMp.isPlaying()); in testParcelableWriteToParcel()
219 assertTrue("MediaPlayer should have started", mMp.isPlaying()); in testGetterMediaPlayer()
315 assertTrue("MediaPlayer should have started", mMp.isPlaying()); in doTestCallbackMediaPlayer()
441 assertTrue("MediaPlayer should have started", mMp.isPlaying()); in testGetterAndCallbackConsistency()
486 assertTrue("MediaPlayer should have started", mMp.isPlaying()); in testGetAudioDeviceInfoMediaPlayerStart()
920 assertTrue("MediaPlayer should have started", mp.isPlaying()); in assertPlayerStartAndCallbackWithPlayerAttributes()
DRemoteSubmixTest.java232 assertTrue(mediaPlayer.isPlaying()); in testPlaybackCapture()
245 assertFalse(mediaPlayer.isPlaying()); in testPlaybackCapture()
DAudioTrackLatencyTest.java374 boolean isPlaying = false; in checkOutputLowLatency()
379 if (!isPlaying) { in checkOutputLowLatency()
381 isPlaying = true; in checkOutputLowLatency()
/cts/tests/tests/mediastress/src/android/mediastress/cts/
DCodecTest.java210 misPlaying = mp.isPlaying(); in pause()
361 boolean isPlaying = false; in seekToEnd()
372 isPlaying = mp.isPlaying(); in seekToEnd()
374 Log.v(TAG, "seekToEnd currentPosition= " + currentPosition + " isPlaying = " + isPlaying); in seekToEnd()
378 if (currentPosition < 0.9 * duration || isPlaying) in seekToEnd()
389 boolean isPlaying = false; in shortMediaStop()
399 isPlaying = mp.isPlaying(); in shortMediaStop()
401 Log.v(TAG, "seekToEnd currentPosition= " + currentPosition + " isPlaying = " + isPlaying); in shortMediaStop()
405 if (currentPosition > duration || isPlaying) in shortMediaStop()
417 boolean isPlaying = false; in playToEnd()
[all …]
/cts/apps/CtsVerifier/src/com/android/cts/verifier/telecom/
DCtsConnection.java105 if (mMediaPlayer != null && mMediaPlayer.isPlaying()) { in onHold()
130 if (mMediaPlayer != null && !mMediaPlayer.isPlaying()) { in onAnswer()
179 if (mMediaPlayer != null && mMediaPlayer.isPlaying()) { in setDisconnectedAndDestroy()
/cts/tests/tests/media/audio/jni/
DAudioPlayer.h41 inline bool isPlaying() { in isPlaying() function
/cts/apps/CtsVerifier/src/org/hyphonate/megaaudio/player/
DPlayer.java65 public boolean isPlaying() { in isPlaying() method in Player
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DUSBAudioPeripheralPlayerActivity.java105 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()
DUsbMidiAudioActivity.java302 if (!isPlaying()) { in onClick()
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-3913/
Dpoc.cpp70 status_t isPlaying(bool *state) { return OK; } in isPlaying() function in MyMediaPlayer
/cts/tests/tests/bluetooth/src/android/bluetooth/cts/
DBluetoothLeBroadcastTest.java714 public void isPlaying() { in isPlaying() method in BluetoothLeBroadcastTest
718 assertFalse(mBluetoothLeBroadcast.isPlaying(1)); in isPlaying()
732 () -> mBluetoothLeBroadcast.isPlaying(1)); in isPlayingWithoutPrivilegedPermission()
/cts/tests/tests/media/common/src/android/media/cts/
DMediaPlayerTestBase.java222 while (mMediaPlayer.isPlaying()) { in playLoadedVideo()
/cts/apps/CtsVerifier/src/org/hyphonate/megaaudio/duplex/
DDuplexAudioManager.java288 if (mPlayer == null || !mPlayer.isPlaying() in validateRouting()

12