Home
last modified time | relevance | path

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

12

/cts/tests/tests/media/src/android/media/cts/
DAsyncPlayerTest.java33 asyncPlayer.play(getContext(), PLAY_URI, true, AudioManager.STREAM_RING); in testAsyncPlayer()
42 asyncPlayer.play(getContext(), PLAY_URI, true, in testAsyncPlayerAudioAttributes()
DSoundPoolTest.java183 int streamID = mSoundPool.play(sampleID, leftVolume, rightVolume, priority, loop, rate); in testSoundPoolOp()
197 streamID = mSoundPool.play(sampleID, leftVolume, rightVolume, priority, loop, rate); in testSoundPoolOp()
232 int streamID1 = mSoundPool.play(sampleID1, LOUD, QUIET, PRIORITY, -1, 1); in testMultiSound()
236 int streamID2 = mSoundPool.play(sampleID2, QUIET, LOUD, PRIORITY, -1, 1); in testMultiSound()
242 streamID1 = mSoundPool.play(sampleID1, LOUD, QUIET, PRIORITY, 1, 1); in testMultiSound()
243 streamID2 = mSoundPool.play(sampleID2, QUIET, LOUD, PRIORITY, 0, 1); in testMultiSound()
272 streamIds[i] = mSoundPool.play(soundIds[i], LOUD, LOUD, PRIORITY, -1, 1); in testLoadMore()
355 streamIds[i] = soundPool.play(soundIds[i], in testAutoPauseResume()
405 stream = mSoundPool.play(sampleId, SILENT, SILENT, 1, 0, 1); in waitUntilLoaded()
DJetPlayerTest.java100 assertTrue(mJetPlayer.play()); in testQueueJetSegmentMuteArray()
113 assertFalse(mJetPlayer.play()); in testQueueJetSegmentMuteArray()
141 assertTrue(mJetPlayer.play()); in runJet()
154 assertTrue(mJetPlayer.play()); in runJet()
DNonBlockingAudioTrack.java117 public void play() { in play() method in NonBlockingAudioTrack
119 mAudioTrack.play(); in play()
DRingtoneTest.java159 mRingtone.play(); in testRingtone()
167 mRingtone.play(); in testRingtone()
196 mRingtone.play(); in testPlaybackProperties()
DAudioTrackLatencyTest.java206 track.play(); in testPlaySmallBuffer()
249 track.play(); in testPlayPauseSmallBuffer()
264 track.play(); in testPlayPauseSmallBuffer()
331 track.play(); in checkOutputLowLatency()
424 track.play(); in testGetUnderrunCount()
535 track.play(); in testGetUnderrunCountSleep()
DAudioTrackTest.java502 track.play(); in testPlaybackHeadPositionIncrease()
530 track.play(); in testPlaybackHeadPositionAfterFlush()
561 track.play(); in testPlaybackHeadPositionAfterStop()
597 track.play(); in testPlaybackHeadPositionAfterPause()
627 track.play(); in testPlaybackHeadPositionAfterFlushAndPlay()
640 track.play(); in testPlaybackHeadPositionAfterFlushAndPlay()
674 track.play(); in testSetVolumeCommon()
729 track.play(); in testSetPlaybackRate()
779 track.play(); in testSetPlaybackRateTwiceOutputSR()
806 track.play(); in testSetGetPlaybackRate()
[all …]
DCodecState.java159 mAudioTrack.play(); in start()
360 mAudioTrack.play(); in onOutputFormatChanged()
511 mAudioTrack.play(); in playAudioTrack()
DRingtoneManagerTest.java188 ringtone.play(); in testStopPreviousRingtone()
194 newRingtone.play(); in testStopPreviousRingtone()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/
DSoundPlayerObject.java294 play(false); in setSoundWithResId()
417 play(true); //start playing if it was playing before in setSoundWithResId()
467 public void play(boolean play) { in play() method in SoundPlayerObject
470 if (play) { in play()
478 log(" called Play : " + play); in play()
480 if (play) { in play()
484 mAudioTrack.play(); in play()
497 play(false); in finish()
DHifiUltrasoundTestActivity.java202 play(); in onCreate()
296 private void play() { in play() method in HifiUltrasoundTestActivity
297 play(SoundGenerator.getInstance().getByte(), Common.PLAYING_SAMPLE_RATE_HZ); in play()
303 private void play(byte[] data, int sampleRate) { in play() method in HifiUltrasoundTestActivity
314 audioTrack.play(); in play()
DHifiUltrasoundSpeakerTestActivity.java222 play(); in onCreate()
336 private void play() { in play() method in HifiUltrasoundSpeakerTestActivity
337 play(SoundGenerator.getInstance().getByte(), Common.PLAYING_SAMPLE_RATE_HZ); in play()
343 private void play(byte[] data, int sampleRate) { in play() method in HifiUltrasoundSpeakerTestActivity
354 audioTrack.play(); in play()
DAudioFrequencySpeakerActivity.java249 play();
256 play();
262 play();
272 private void play() {
274 mSPlayer.play(true);
282 mSPlayer.play(false);
DAudioFrequencyVoiceRecognitionActivity.java379 String play = getResources().getText(R.string.af_button_play).toString(); in setButtonPlayStatus() local
382 mButtonPlayTone.setText(playResId == R.id.vr_button_play_tone ? stop : play); in setButtonPlayStatus()
383 mButtonPlayNoise.setText(playResId == R.id.vr_button_play_noise ? stop : play); in setButtonPlayStatus()
385 R.id.vr_button_play_usb_noise ? stop : play); in setButtonPlayStatus()
401 private void playerTransport(boolean play) { in playerTransport() argument
405 mSPlayer.play(play); in playerTransport()
414 mSPlayer.play(false); in playerStopAll()
DAudioFrequencyMicActivity.java269 String play = getResources().getText(R.string.frequency_mic_play).toString(); in setButtonPlayStatus() local
272 mButtonPlayNoise.setText(playResId == R.id.frequency_mic_play_noise_btn ? stop : play); in setButtonPlayStatus()
274 R.id.frequency_mic_play_usb_noise_btn ? stop : play); in setButtonPlayStatus()
277 private void playerTransport(boolean play) { in playerTransport() argument
281 mSPlayer.play(play); in playerTransport()
290 mSPlayer.play(false); in playerStopAll()
DAudioFrequencyLineActivity.java230 play();
236 play();
246 private void play() {
248 mSPlayer.play(true);
256 mSPlayer.play(false);
DAudioAEC.java378 mSPlayer.play(true); in startTest()
395 mSPlayer.play(false); in startTest()
417 mSPlayer.play(true); in startTest()
435 mSPlayer.play(false); in startTest()
/cts/hostsidetests/dexmetadata/host/
DREADME.md14 adb shell 'mini-keyctl padd asymmetric fsv-play .fs-verity' < $KEY_DIR/fsverity-debug.x509.der
/cts/tests/tests/animation/src/android/animation/cts/
DAnimatorSetTest.java247 set.play(yAnimator).before(zAnimator).after(xAnimator); in testPlayBeforeAfter()
258 set.play(emptySet); in testListenerCallbackOnEmptySet()
799 set.play(a1).before(a2); in testSeekingInfinite()
800 set.play(a1).before(a3); in testSeekingInfinite()
843 set.play(anim); in testGetCurrentPlayTime()
909 show.play(fadeIn); in testManipulateChildOutsideOfSet()
912 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/tests/mediapc/src/android/mediapc/cts/
DAudioPlaybackLoad.java51 mTrack.play(); in doDecodeAndPlayback()
/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()
/cts/tests/tests/apache-http/src/android/net/http/cts/
DHttpResponseCacheTest.java137 server.play(); in testStatisticsTracking()

12