Home
last modified time | relevance | path

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

/cts/tests/tests/media/src/android/media/cts/
DMediaPlayerTest.java175 assertTrue("media server died", mp2.isPlaying()); in testVorbisCrash()
211 assertFalse(mp.isPlaying()); in testPlayAudioFromDataURI()
213 assertTrue(mp.isPlaying()); in testPlayAudioFromDataURI()
230 assertFalse(mp.isPlaying()); in testPlayAudioFromDataURI()
232 assertTrue(mp.isPlaying()); in testPlayAudioFromDataURI()
239 assertFalse(mp.isPlaying()); in testPlayAudioFromDataURI()
241 assertTrue(mp.isPlaying()); in testPlayAudioFromDataURI()
244 while(mp.isPlaying()) { in testPlayAudioFromDataURI()
263 assertFalse(mp.isPlaying());
265 assertTrue(mp.isPlaying());
[all …]
DRingtoneManagerTest.java171 assertTrue(ringtone.isPlaying()); in testStopPreviousRingtone()
173 assertFalse(ringtone.isPlaying()); in testStopPreviousRingtone()
175 assertFalse(ringtone.isPlaying()); in testStopPreviousRingtone()
177 assertTrue(newRingtone.isPlaying()); in testStopPreviousRingtone()
179 assertFalse(newRingtone.isPlaying()); in testStopPreviousRingtone()
DRingtoneTest.java88 if (mRingtone.isPlaying()) mRingtone.stop(); in tearDown()
143 assertFalse(mRingtone.isPlaying()); in testRingtone()
151 assertTrue("couldn't play ringtone " + uri, mRingtone.isPlaying()); in testRingtone()
153 assertFalse(mRingtone.isPlaying()); in testRingtone()
DVideoSurfaceView.java67 while (mMediaPlayer.isPlaying()) { in startTest()
DMediaPlayerFlakyNetworkTest.java170 assertTrue(mMediaPlayer.isPlaying()); in doRandomOperations()
174 assertFalse(mMediaPlayer.isPlaying()); in doRandomOperations()
DAudioTrackLatencyTest.java317 boolean isPlaying = false; in checkOutputLowLatency()
322 if (!isPlaying) { in checkOutputLowLatency()
324 isPlaying = true; in checkOutputLowLatency()
DStreamingMediaPlayerTest.java322 assertFalse(mMediaPlayer.isPlaying()); in localHttpAudioStreamTest()
550 assertTrue("MediaPlayer not playing", mMediaPlayer.isPlaying()); in testPlayHlsStreamWithTimedId3()
DMediaRandomTest.java224 mPlayer.isPlaying(); in testPlayerRandomAction()
DMediaPlayerTestBase.java328 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/
DSoundPlayerObject.java66 if (!mUseMediaPlayer && isInitialized && isPlaying()) { in run()
113 boolean playing = isPlaying(); in setSoundWithResId()
153 public boolean isPlaying() { in isPlaying() method in SoundPlayerObject
157 result = mMediaPlayer.isPlaying(); in isPlaying()
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.java98 if (mPlayer != null && mPlayer.isPlaying()) { in stopRecording()
148 if (!isPlaying()) { in onClick()
161 if (!isPlaying()) { in onClick()
DUSBAudioPeripheralPlayActivity.java64 if (!isPlaying()) { in onClick()
DUSBAudioPeripheralPlayerActivity.java74 public boolean isPlaying() { in isPlaying() method in USBAudioPeripheralPlayerActivity
DAudioFrequencyUnprocessedActivity.java368 return mSPlayer.isPlaying(); in playerIsPlaying()
372 if (mSPlayer.isAlive() && mSPlayer.isPlaying()) { in playerStopAll()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/telecom/
DCtsConnection.java109 if (mMediaPlayer != null && !mMediaPlayer.isPlaying()) { in onAnswer()
157 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/tests/tests/widget/src/android/widget/cts/
DMediaControllerTest.java265 public boolean isPlaying() { in isPlaying() method in MediaControllerTest.MockMediaPlayerControl
/cts/tests/tests/drm/src/android/drm/cts/
DDRMTest.java267 assertTrue("player is not playing", player.isPlaying()); in testForwardLockAccess()
/cts/tools/dex-tools/dex/
Dclasses.out.dex41657 public native boolean isPlaying()
42493 public boolean isPlaying()
104923 public abstract boolean isPlaying()
109131 public boolean isPlaying()