Home
last modified time | relevance | path

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

12

/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DSoundPlayerObject.java150 play(true); //start playing if it was playing before in setSoundWithResId()
167 public void play(boolean play) { in play() method in SoundPlayerObject
170 if (play) { in play()
178 if (play) { in play()
181 mAudioTrack.play(); in play()
190 play(false); in finish()
DHifiUltrasoundTestActivity.java199 play(); in onCreate()
292 private void play() { in play() method in HifiUltrasoundTestActivity
293 play(SoundGenerator.getInstance().getByte(), Common.PLAYING_SAMPLE_RATE_HZ); in play()
299 private void play(byte[] data, int sampleRate) { in play() method in HifiUltrasoundTestActivity
310 audioTrack.play(); in play()
DHifiUltrasoundSpeakerTestActivity.java219 play(); in onCreate()
333 private void play() { in play() method in HifiUltrasoundSpeakerTestActivity
334 play(SoundGenerator.getInstance().getByte(), Common.PLAYING_SAMPLE_RATE_HZ); in play()
340 private void play(byte[] data, int sampleRate) { in play() method in HifiUltrasoundSpeakerTestActivity
351 audioTrack.play(); in play()
DAudioFrequencySpeakerActivity.java263 play();
270 play();
276 play();
286 private void play() {
288 mSPlayer.play(true);
296 mSPlayer.play(false);
DTrivialPlayer.java99 mAudioTrack.play(); in run()
DAudioFrequencyMicActivity.java276 String play = getResources().getText(R.string.frequency_mic_play).toString(); in setButtonPlayStatus() local
279 mButtonPlayNoise.setText(playResId == R.id.frequency_mic_play_noise_btn ? stop : play); in setButtonPlayStatus()
281 R.id.frequency_mic_play_usb_noise_btn ? stop : play); in setButtonPlayStatus()
284 private void playerTransport(boolean play) { in playerTransport() argument
288 mSPlayer.play(play); in playerTransport()
297 mSPlayer.play(false); in playerStopAll()
DAudioFrequencyUnprocessedActivity.java338 String play = getResources().getText(R.string.unprocessed_play).toString(); in setButtonPlayStatus() local
341 mButtonPlayTone.setText(playResId == R.id.unprocessed_play_tone_btn ? stop : play); in setButtonPlayStatus()
342 mButtonPlayNoise.setText(playResId == R.id.unprocessed_play_noise_btn ? stop : play); in setButtonPlayStatus()
344 R.id.unprocessed_play_usb_noise_btn ? stop : play); in setButtonPlayStatus()
360 private void playerTransport(boolean play) { in playerTransport() argument
364 mSPlayer.play(play); in playerTransport()
373 mSPlayer.play(false); in playerStopAll()
/cts/tests/tests/media/src/android/media/cts/
DSoundPoolTest.java153 int streamID = mSoundPool.play(sampleID, leftVolume, rightVolume, priority, loop, rate); in testSoundPoolOp()
167 streamID = mSoundPool.play(sampleID, leftVolume, rightVolume, priority, loop, rate); in testSoundPoolOp()
194 int streamID1 = mSoundPool.play(sampleID1, LOUD, QUIET, PRIORITY, -1, 1); in testMultiSound()
198 int streamID2 = mSoundPool.play(sampleID2, QUIET, LOUD, PRIORITY, -1, 1); in testMultiSound()
204 streamID1 = mSoundPool.play(sampleID1, LOUD, QUIET, PRIORITY, 1, 1); in testMultiSound()
205 streamID2 = mSoundPool.play(sampleID2, QUIET, LOUD, PRIORITY, 0, 1); in testMultiSound()
225 streamIds[i] = mSoundPool.play(soundIds[i], LOUD, LOUD, PRIORITY, -1, 1); in testLoadMore()
307 streamIds[i] = soundPool.play(soundIds[i], in testAutoPauseResume()
357 stream = mSoundPool.play(sampleId, SILENT, SILENT, 1, 0, 1); in waitUntilLoaded()
DAsyncPlayerTest.java32 asyncPlayer.play(getContext(), PLAY_URI, true, AudioManager.STREAM_RING); in testAsyncPlayer()
41 asyncPlayer.play(getContext(), PLAY_URI, true, in testAsyncPlayerAudioAttributes()
DJetPlayerTest.java99 assertTrue(mJetPlayer.play()); in testQueueJetSegmentMuteArray()
112 assertFalse(mJetPlayer.play()); in testQueueJetSegmentMuteArray()
140 assertTrue(mJetPlayer.play()); in runJet()
153 assertTrue(mJetPlayer.play()); in runJet()
DMediaPlayer2Test.java159 mp2.play(); in testVorbisCrash()
261 mp.play(); in testPlayAudioFromDataURI()
286 mp.play(); in testPlayAudioFromDataURI()
302 mp.play(); in testPlayAudioFromDataURI()
360 mp.play();
385 mp.play();
404 mp.play();
453 mp.play();
516 mp.play(); in testPlayAudioLooping()
580 mp.play(); in testPlayMidi()
[all …]
DNonBlockingAudioTrack.java110 public void play() { in play() method in NonBlockingAudioTrack
112 mAudioTrack.play(); in play()
DRingtoneTest.java155 mRingtone.play(); in testRingtone()
163 mRingtone.play(); in testRingtone()
189 mRingtone.play(); in testLoopingVolume()
DAudioTrackTest.java461 track.play(); in testPlaybackHeadPositionIncrease()
488 track.play(); in testPlaybackHeadPositionAfterFlush()
518 track.play(); in testPlaybackHeadPositionAfterStop()
553 track.play(); in testPlaybackHeadPositionAfterPause()
582 track.play(); in testPlaybackHeadPositionAfterFlushAndPlay()
595 track.play(); in testPlaybackHeadPositionAfterFlushAndPlay()
629 track.play(); in testSetVolumeCommon()
680 track.play(); in testSetPlaybackRate()
728 track.play(); in testSetPlaybackRateTwiceOutputSR()
754 track.play(); in testSetGetPlaybackRate()
[all …]
DAudioTrackLatencyTest.java205 track.play(); in testPlaySmallBuffer()
248 track.play(); in testPlayPauseSmallBuffer()
263 track.play(); in testPlayPauseSmallBuffer()
330 track.play(); in checkOutputLowLatency()
423 track.play(); in testGetUnderrunCount()
534 track.play(); in testGetUnderrunCountSleep()
DRingtoneManagerTest.java178 ringtone.play(); in testStopPreviousRingtone()
184 newRingtone.play(); in testStopPreviousRingtone()
DCodecState.java120 mAudioTrack.play(); in start()
300 mAudioTrack.play(); in onOutputFormatChanged()
DStreamingMediaPlayer2Test.java391 mPlayer.play(); in localHttpAudioStreamTest()
396 mPlayer.play(); in localHttpAudioStreamTest()
615 mPlayer.play(); in testPlayHlsStreamWithTimedId3()
671 mPlayer.play(); in testPlayHlsStreamWithTimedId3()
/cts/tests/tests/widget/src/android/widget/cts/
DVideoView2Test.java164 mController.getTransportControls().play(); in testPlayVideo()
196 mController.getTransportControls().play(); in testPlayVideoOnTextureView()
/cts/tests/tests/animation/src/android/animation/cts/
DAnimatorSetTest.java246 set.play(yAnimator).before(zAnimator).after(xAnimator); in testPlayBeforeAfter()
257 set.play(emptySet); in testListenerCallbackOnEmptySet()
771 set.play(a1).before(a2); in testSeekingInfinite()
772 set.play(a1).before(a3); in testSeekingInfinite()
815 set.play(anim); in testGetCurrentPlayTime()
881 show.play(fadeIn); in testManipulateChildOutsideOfSet()
884 hideNShow.play(fadeIn).after(fadeOut); in testManipulateChildOutsideOfSet()
DAnimationActivity.java221 bouncer.play(bounceYAnimator); in animateBall()
234 animatorSet.play(bouncer).before(fadeAnim); in animateBall()
/cts/tests/tests/view/src/android/view/cts/
DTextureViewStressTestActivity.java56 animSet.play(rotate).with(fadeIn).with(scaleY); in onCreate()
/cts/tests/tests/mediastress/src/android/mediastress/cts/
DNativeMediaActivity.java185 public static native boolean playOrPauseMediaPlayer(boolean play); in playOrPauseMediaPlayer() argument
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/audiolib/
DStreamPlayer.java189 mAudioTrack.play(); in run()
/cts/tests/tests/mediastress/jni/
Dnative-media-jni.cpp423 JNIEnv* env, jclass clazz, jboolean play) in Java_android_mediastress_cts_NativeMediaActivity_playOrPauseMediaPlayer() argument
430 res = (*playerPlayItf)->SetPlayState(playerPlayItf, play ? in Java_android_mediastress_cts_NativeMediaActivity_playOrPauseMediaPlayer()

12