Home
last modified time | relevance | path

Searched refs:play (Results 1 – 25 of 31) 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() argument
170 if (play) { in play()
178 if (play) { in play()
181 mAudioTrack.play(); in play()
190 play(false); in finish()
DAudioFrequencyMicActivity.java299 play();
306 play();
316 private void play() {
318 mSPlayer.play(true);
328 mSPlayer.play(false);
370 play();
380 private void play() {
382 mSPlayer.play(true);
392 mSPlayer.play(false);
DHifiUltrasoundTestActivity.java198 play(); in onCreate()
291 private void play() { in play() method in HifiUltrasoundTestActivity
292 play(SoundGenerator.getInstance().getByte(), Common.PLAYING_SAMPLE_RATE_HZ); in play()
298 private void play(byte[] data, int sampleRate) { in play() method in HifiUltrasoundTestActivity
309 audioTrack.play(); in play()
DHifiUltrasoundSpeakerTestActivity.java216 play(); in onCreate()
330 private void play() { in play() method in HifiUltrasoundSpeakerTestActivity
331 play(SoundGenerator.getInstance().getByte(), Common.PLAYING_SAMPLE_RATE_HZ); in play()
337 private void play(byte[] data, int sampleRate) { in play() method in HifiUltrasoundSpeakerTestActivity
348 audioTrack.play(); in play()
DAudioFrequencySpeakerActivity.java273 play();
280 play();
286 play();
296 private void play() {
298 mSPlayer.play(true);
306 mSPlayer.play(false);
DTrivialPlayer.java99 mAudioTrack.play(); in run()
DAudioFrequencyLineActivity.java240 play();
246 play();
256 private void play() {
258 mSPlayer.play(true);
266 mSPlayer.play(false);
/cts/tests/tests/media/src/android/media/cts/
DSoundPoolTest.java151 int streamID = mSoundPool.play(sampleID, leftVolume, rightVolume, priority, loop, rate); in testSoundPoolOp()
165 streamID = mSoundPool.play(sampleID, leftVolume, rightVolume, priority, loop, rate); in testSoundPoolOp()
192 int streamID1 = mSoundPool.play(sampleID1, LOUD, QUIET, PRIORITY, -1, 1); in testMultiSound()
196 int streamID2 = mSoundPool.play(sampleID2, QUIET, LOUD, PRIORITY, -1, 1); in testMultiSound()
202 streamID1 = mSoundPool.play(sampleID1, LOUD, QUIET, PRIORITY, 1, 1); in testMultiSound()
203 streamID2 = mSoundPool.play(sampleID2, QUIET, LOUD, PRIORITY, 0, 1); in testMultiSound()
223 streamIds[i] = mSoundPool.play(soundIds[i], LOUD, LOUD, PRIORITY, -1, 1); in testLoadMore()
304 streamIds[i] = soundPool.play(soundIds[i], in testAutoPauseResume()
354 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.java92 assertTrue(mJetPlayer.play()); in testQueueJetSegmentMuteArray()
104 assertFalse(mJetPlayer.play()); in testQueueJetSegmentMuteArray()
129 assertTrue(mJetPlayer.play()); in runJet()
142 assertTrue(mJetPlayer.play()); in runJet()
DNonBlockingAudioTrack.java109 public void play() { in play() method in NonBlockingAudioTrack
110 mAudioTrack.play(); in play()
DRingtoneTest.java118 mRingtone.play(); in testRingtone()
126 mRingtone.play(); in testRingtone()
DAudioTrackTest.java419 track.play(); in testPlaybackHeadPositionIncrease()
446 track.play(); in testPlaybackHeadPositionAfterFlush()
476 track.play(); in testPlaybackHeadPositionAfterStop()
511 track.play(); in testPlaybackHeadPositionAfterPause()
540 track.play(); in testPlaybackHeadPositionAfterFlushAndPlay()
553 track.play(); in testPlaybackHeadPositionAfterFlushAndPlay()
587 track.play(); in testSetVolumeCommon()
638 track.play(); in testSetPlaybackRate()
686 track.play(); in testSetPlaybackRateTwiceOutputSR()
712 track.play(); in testSetGetPlaybackRate()
[all …]
DRingtoneManagerTest.java144 ringtone.play(); in testStopPreviousRingtone()
150 newRingtone.play(); in testStopPreviousRingtone()
DCodecState.java120 mAudioTrack.play(); in start()
293 mAudioTrack.play(); in onOutputFormatChanged()
DRoutingTest.java275 audioTrack.play(); in test_audioTrack_getRoutedDevice()
DAudioTrack_ListenerTest.java151 track.play(); in doTest()
DMediaControllerTest.java118 controls.play(); in testTransportControlsAndMediaSessionCallback()
DAudioHelper.java371 mTrack.play(); in startRecording()
/cts/tests/tests/textureview/src/android/textureview/cts/
DTextureViewTestActivity.java52 animSet.play(rotate).with(fadeIn).with(scaleY); in onCreate()
/cts/tests/tests/mediastress/src/android/mediastress/cts/
DNativeMediaActivity.java184 public static native boolean playOrPauseMediaPlayer(boolean play); in playOrPauseMediaPlayer() argument
/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/animation/src/android/animation/cts/
DAnimationActivity.java222 bouncer.play(bounceYAnimator); in animateBall()
235 animatorSet.play(bouncer).before(fadeAnim); in animateBall()
/cts/tests/tests/net/src/android/net/http/cts/
DHttpResponseCacheTest.java133 server.play(); in testStatisticsTracking()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/projection/offscreen/
DProjectionOffscreenActivity.java92 r.play();

12