Home
last modified time | relevance | path

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

123

/cts/tests/tests/media/audio/src/android/media/audio/cts/
DSoundPoolTest.java193 int streamID = mSoundPool.play(sampleID, leftVolume, rightVolume, priority, loop, rate); in testSoundPoolOp()
207 streamID = mSoundPool.play(sampleID, leftVolume, rightVolume, priority, loop, rate); in testSoundPoolOp()
242 int streamID1 = mSoundPool.play(sampleID1, LOUD, QUIET, PRIORITY, -1, 1); in testMultiSound()
246 int streamID2 = mSoundPool.play(sampleID2, QUIET, LOUD, PRIORITY, -1, 1); in testMultiSound()
252 streamID1 = mSoundPool.play(sampleID1, LOUD, QUIET, PRIORITY, 1, 1); in testMultiSound()
253 streamID2 = mSoundPool.play(sampleID2, QUIET, LOUD, PRIORITY, 0, 1); in testMultiSound()
282 streamIds[i] = mSoundPool.play(soundIds[i], LOUD, LOUD, PRIORITY, -1, 1); in testLoadMore()
367 streamIds[i] = soundPool.play(soundIds[i], in testAutoPauseResume()
430 stream = mSoundPool.play(sampleId, SILENT, SILENT, 1, 0, 1); in waitUntilLoaded()
DRingtoneTest.java168 mRingtone.play(); in testRingtone()
180 mRingtone.play(); in testRingtone()
209 mRingtone.play(); in testPlaybackProperties()
DAudioTrackLatencyTest.java255 track.play(); in testPlaySmallBuffer()
298 track.play(); in testPlayPauseSmallBuffer()
313 track.play(); in testPlayPauseSmallBuffer()
380 track.play(); in checkOutputLowLatency()
473 track.play(); in testGetUnderrunCount()
584 track.play(); in testGetUnderrunCountSleep()
DAudioTrackTest.java527 track.play(); in testPlaybackHeadPositionIncrease()
555 track.play(); in testPlaybackHeadPositionAfterFlush()
586 track.play(); in testPlaybackHeadPositionAfterStop()
622 track.play(); in testPlaybackHeadPositionAfterPause()
652 track.play(); in testPlaybackHeadPositionAfterFlushAndPlay()
665 track.play(); in testPlaybackHeadPositionAfterFlushAndPlay()
699 track.play(); in testSetVolumeCommon()
754 track.play(); in testSetPlaybackRate()
804 track.play(); in testSetPlaybackRateTwiceOutputSR()
831 track.play(); in testSetGetPlaybackRate()
[all …]
DAudioTrackOffloadTest.java189 trackOne.play(); in testMultipleAudioTrackOffloadPreemption()
212 trackTwo.play(); in testMultipleAudioTrackOffloadPreemption()
334 track.play(); in testAudioTrackOffload()
433 offloadTrack.play(); in testGaplessAudioTrackOffload()
/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() argument
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.java211 play(); in onCreate()
305 private void play() { in play() method in HifiUltrasoundTestActivity
306 play(SoundGenerator.getInstance().getByte(), Common.PLAYING_SAMPLE_RATE_HZ); in play()
312 private void play(byte[] data, int sampleRate) { in play() method in HifiUltrasoundTestActivity
323 audioTrack.play(); in play()
DAudioFrequencySpeakerActivity.java249 play();
256 play();
262 play();
272 private void play() {
274 mSPlayer.play(true);
282 mSPlayer.play(false);
DHifiUltrasoundSpeakerTestActivity.java231 play(); in onCreate()
345 private void play() { in play() method in HifiUltrasoundSpeakerTestActivity
346 play(SoundGenerator.getInstance().getByte(), Common.PLAYING_SAMPLE_RATE_HZ); in play()
352 private void play(byte[] data, int sampleRate) { in play() method in HifiUltrasoundSpeakerTestActivity
363 audioTrack.play(); in play()
DAudioFrequencyVoiceRecognitionActivity.java380 String play = getResources().getText(R.string.af_button_play).toString(); in setButtonPlayStatus() local
383 mButtonPlayTone.setText(playResId == R.id.vr_button_play_tone ? stop : play); in setButtonPlayStatus()
384 mButtonPlayNoise.setText(playResId == R.id.vr_button_play_noise ? stop : play); in setButtonPlayStatus()
386 R.id.vr_button_play_usb_noise ? stop : play); in setButtonPlayStatus()
402 private void playerTransport(boolean play) { in playerTransport() argument
406 mSPlayer.play(play); in playerTransport()
415 mSPlayer.play(false); in playerStopAll()
DAudioFrequencyMicActivity.java262 String play = getResources().getText(R.string.frequency_mic_play).toString(); in setButtonPlayStatus() local
265 mButtonPlayNoise.setText(playResId == R.id.frequency_mic_play_noise_btn ? stop : play); in setButtonPlayStatus()
267 R.id.frequency_mic_play_usb_noise_btn ? stop : play); in setButtonPlayStatus()
270 private void playerTransport(boolean play) { in playerTransport() argument
274 mSPlayer.play(play); in playerTransport()
283 mSPlayer.play(false); in playerStopAll()
DAudioFrequencyLineActivity.java235 play();
241 play();
251 private void play() {
253 mSPlayer.play(true);
261 mSPlayer.play(false);
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()
DAudioAEC.java375 mSPlayer.play(true); in startTest()
392 mSPlayer.play(false); in startTest()
414 mSPlayer.play(true); in startTest()
432 mSPlayer.play(false); in startTest()
/cts/tests/tests/mediacujtest/common/src/android/media/cujcommon/cts/
DScrollTestActivity.java73 mSecondPlayer.play(); in buildPlayer()
77 mFirstPlayer.play(); in buildPlayer()
106 mFirstPlayer.play(); in onStart()
/cts/tests/tests/media/player/src/android/media/player/cts/
DAsyncPlayerTest.java58 asyncPlayer.play(mContext, PLAY_URI, true, AudioManager.STREAM_RING); in testAsyncPlayer()
68 asyncPlayer.play(mContext, PLAY_URI, true, in testAsyncPlayerAudioAttributes()
DJetPlayerTest.java118 assertTrue(mJetPlayer.play()); in testQueueJetSegmentMuteArray()
131 assertFalse(mJetPlayer.play()); in testQueueJetSegmentMuteArray()
159 assertTrue(mJetPlayer.play()); in runJet()
172 assertTrue(mJetPlayer.play()); in runJet()
/cts/tests/tests/animation/src/android/animation/cts/
DAnimatorSetTest.java257 set.play(yAnimator).before(zAnimator).after(xAnimator); in testPlayBeforeAfter()
268 set.play(emptySet); in testListenerCallbackOnEmptySet()
808 set.play(a1).before(a2); in testSeekingInfinite()
809 set.play(a1).before(a3); in testSeekingInfinite()
852 set.play(anim); in testGetCurrentPlayTime()
918 show.play(fadeIn); in testManipulateChildOutsideOfSet()
921 hideNShow.play(fadeIn).after(fadeOut); in testManipulateChildOutsideOfSet()
1204 animatorSet1.play(animator1); in seekWithNestedAnimatorSetsAndDelays()
1207 animatorSet2.play(animatorSet1); in seekWithNestedAnimatorSetsAndDelays()
1209 animatorSet3.play(animatorSet2); in seekWithNestedAnimatorSetsAndDelays()
[all …]
/cts/tests/app/src/android/app/cts/
DActivityManagerFgsDelegateTest.java283 controller.getTransportControls().play(); in testAppInBgWithActivePlayingMediaSessionWithMediaControllerAndNotificationGoesToFgs()
403 controller.getTransportControls().play(); in testAppInBgWithNonActivePlayingMediaSessionWithMediaControllerAndNotificationIsStillInBg()
428 controller.getTransportControls().play(); in testAppInBgWithActivePlayingMediaSessionWithMediaControllerAndNoNotificationIsStillInBg()
480 controller.getTransportControls().play(); in testAppInFgWithActivePlayingMediaSessionWithMediaControllerAndNotificationGoesToBgGoesToFgs()
615 controller.getTransportControls().play(); in testAppInFgWithNonActivePlayingMediaSessionWithMediaControllerAndNotificationGoesToBgIsStillInBg()
643 controller.getTransportControls().play(); in testAppInFgWithActivePlayingMediaSessionWithMediaControllerAndNoNotificationGoesToBgIsStillInBg()
671 controller.getTransportControls().play(); in testAppInBgWithActivePlayingMediaSessionAndNoNotificationPausesItsSessionIsStillInFg()
701 controller.getTransportControls().play(); in testAppInBgWithActivePlayingMediaSessionAndNotificationPausesItsSessionAfterTimeoutGoesToBg()
734 controller.getTransportControls().play(); in testAppInBgWithActivePlayingMediaSessionAndNotificationReleaseItsSessionGoesToBg()
/cts/tests/tests/media/common/src/android/media/cts/
DNonBlockingAudioTrack.java130 public void play() { in play() method in NonBlockingAudioTrack
132 mAudioTrack.play(); in play()
DMediaCodecTunneledPlayer.java345 public void play() { in play() method in MediaCodecTunneledPlayer
357 state.play(); in play()
361 state.play(); in play()
396 state.play(); in resume()
400 state.play(); in resume()
/cts/tests/tests/graphics/src/android/graphics/cts/
DAnimatorLeakTest.java111 infiniteSet.play(infiniteAnimator1); in testPauseResume()
114 finiteSet.play(finiteAnimator1); in testPauseResume()
/cts/tests/tests/mediacujtest/smalltest/src/android/media/cujsmalltest/cts/
DCtsMediaShortFormFullModePlaybackTest.java99 play(mCujTestParam.mediaUrls(), mCujTestParam.timeoutMilliSeconds()); in testVideoPlayback()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/tunnelmode/
DMediaCodecFlushActivity.java71 mPlayer.play(); in playVideo()
/cts/tests/tests/view/src/android/view/cts/
DTextureViewStressTestActivity.java56 animSet.play(rotate).with(fadeIn).with(scaleY); in onCreate()

123