/cts/tests/tests/media/audio/src/android/media/audio/cts/ |
D | AudioPlayRoutingNative.java | 56 AudioPlayer player = new AudioPlayer(); in testAquireDefaultProxy() local 57 player.ClearLastSLResult(); in testAquireDefaultProxy() 58 player.RealizePlayer(); in testAquireDefaultProxy() 59 player.RealizeRoutingProxy(); in testAquireDefaultProxy() 61 AudioRouting routingObj = player.GetRoutingInterface(); in testAquireDefaultProxy() 65 routingObj = player.GetRoutingInterface(); in testAquireDefaultProxy() 67 assertTrue(player.GetLastSLResult() != 0); in testAquireDefaultProxy() 69 player.ReleaseRoutingInterface(routingObj); in testAquireDefaultProxy() 70 assertTrue(player.GetLastSLResult() == 0); in testAquireDefaultProxy() 75 AudioPlayer player = new AudioPlayer(); in testAquirePreRealizeDefaultProxy() local [all …]
|
D | VolumeShaperTest.java | 632 try (Player player = createPlayer(p)) { in testMaximumShapers() argument 633 final String testName = TEST_NAME + " " + player.name(); in testMaximumShapers() 638 shapers[i] = player.createVolumeShaper(SILENCE); in testMaximumShapers() 652 try (Player player = createPlayer(PLAYER_TYPE_AUDIO_TRACK)) { in testDuckAudioTrack() argument 653 runTestDuckPlayer("testDuckAudioTrack", player); in testDuckAudioTrack() 659 try (Player player = createPlayer(PLAYER_TYPE_MEDIA_PLAYER_NON_OFFLOADED)) { in testDuckMediaPlayerNonOffloaded() argument 660 runTestDuckPlayer("testDuckMediaPlayerNonOffloaded", player); in testDuckMediaPlayerNonOffloaded() 666 try (Player player = createPlayer(PLAYER_TYPE_MEDIA_PLAYER_OFFLOADED)) { in testDuckMediaPlayerOffloaded() argument 667 runTestDuckPlayer("testDuckMediaPlayerOffloaded", player); in testDuckMediaPlayerOffloaded() 671 private void runTestDuckPlayer(String testName, Player player) throws Exception { in runTestDuckPlayer() argument [all …]
|
D | AudioTrackSurroundTest.java | 489 SamplePlayerBytes player = new SamplePlayerBytes( in testPlayAC3Bytes() local 492 player.playAndMeasureRate(SAMPLE_RATE_LONG_TEST_DURATION_MILLIS); in testPlayAC3Bytes() 498 SamplePlayerShorts player = new SamplePlayerShorts( in testPlayAC3Shorts() local 501 player.playAndMeasureRate(SAMPLE_RATE_LONG_TEST_DURATION_MILLIS); in testPlayAC3Shorts() 507 SamplePlayerShorts player = new SamplePlayerShorts( in testPlayIEC61937_32000() local 510 player.playAndMeasureRate(SAMPLE_RATE_LONG_TEST_DURATION_MILLIS); in testPlayIEC61937_32000() 516 SamplePlayerShorts player = new SamplePlayerShorts( in testPlayIEC61937_44100() local 519 player.playAndMeasureRate(SAMPLE_RATE_LONG_TEST_DURATION_MILLIS); in testPlayIEC61937_44100() 525 SamplePlayerShorts player = new SamplePlayerShorts( in testPlayIEC61937_48000() local 528 player.playAndMeasureRate(SAMPLE_RATE_LONG_TEST_DURATION_MILLIS); in testPlayIEC61937_48000() [all …]
|
/cts/apps/CtsVerifier/jni/megaaudio/ |
D | Android.bp | 27 "player/BlipAudioSource.cpp", 28 "player/JavaSourceProxy.cpp", 29 "player/NativeAudioSource.cpp", 30 "player/NoiseAudioSource.cpp", 31 "player/OboePlayer.cpp", 32 "player/SinAudioSource.cpp", 33 "player/SilenceAudioSource.cpp", 34 "player/WaveTableSource.cpp",
|
/cts/apps/CtsVerifier/src/org/hyphonate/megaaudio/player/ |
D | PlayerBuilder.java | 16 package org.hyphonate.megaaudio.player; 78 Player player = null; in build() local 86 player = new JavaPlayer(this, mSourceProvider); in build() 91 player = new OboePlayer(this, mSourceProvider, playerSubType); in build() 99 return player; in build()
|
/cts/tests/tests/mediacujtest/common/src/android/media/cujcommon/cts/ |
D | PlaybackTestPlayerListener.java | 34 public void onEventsPlaybackStateChanged(@NonNull Player player) { in onEventsPlaybackStateChanged() argument 35 if (player.getPlaybackState() == Player.STATE_READY) { in onEventsPlaybackStateChanged() 38 mExpectedTotalTime += player.getDuration(); in onEventsPlaybackStateChanged() 43 public void onEventsMediaItemTransition(@NonNull Player player) { in onEventsMediaItemTransition() argument
|
D | SwitchAudioTrackTestPlayerListener.java | 41 public void onEventsPlaybackStateChanged(@NonNull Player player) { in onEventsPlaybackStateChanged() argument 42 if (player.getPlaybackState() == Player.STATE_READY) { in onEventsPlaybackStateChanged() 45 mExpectedTotalTime += player.getDuration(); in onEventsPlaybackStateChanged() 48 } else if (mTrackChangeRequested && player.getPlaybackState() == Player.STATE_ENDED) { in onEventsPlaybackStateChanged() 57 public void onEventsMediaItemTransition(@NonNull Player player) { in onEventsMediaItemTransition() argument
|
D | SwitchSubtitleTrackTestPlayerListener.java | 57 public void onEventsPlaybackStateChanged(@NonNull Player player) { in onEventsPlaybackStateChanged() argument 58 if (player.getPlaybackState() == Player.STATE_READY) { in onEventsPlaybackStateChanged() 61 mExpectedTotalTime += player.getDuration(); in onEventsPlaybackStateChanged() 67 } else if (mTrackChangeRequested && player.getPlaybackState() == Player.STATE_ENDED) { in onEventsPlaybackStateChanged() 76 public void onEventsMediaItemTransition(@NonNull Player player) { in onEventsMediaItemTransition() argument
|
D | MessageNotificationTestPlayerListener.java | 39 public void onEventsPlaybackStateChanged(@NonNull Player player) { in onEventsPlaybackStateChanged() argument 40 if (player.getPlaybackState() == Player.STATE_READY) { in onEventsPlaybackStateChanged() 43 mExpectedTotalTime += player.getDuration(); in onEventsPlaybackStateChanged() 51 public void onEventsMediaItemTransition(@NonNull Player player) { in onEventsMediaItemTransition() argument
|
D | SeekTestPlayerListener.java | 84 public void onEventsPlaybackStateChanged(@NonNull Player player) { in onEventsPlaybackStateChanged() argument 85 if (player.getPlaybackState() == Player.STATE_READY) { in onEventsPlaybackStateChanged() 88 mExpectedTotalTime += (mSendMessagePosition - player.getCurrentPosition()); in onEventsPlaybackStateChanged() 93 mExpectedTotalTime += player.getDuration(); in onEventsPlaybackStateChanged() 99 public void onEventsMediaItemTransition(@NonNull Player player) { in onEventsMediaItemTransition() argument
|
D | ScrollTestPlayerListener.java | 53 public void onEventsPlaybackStateChanged(@NonNull Player player) { in onEventsPlaybackStateChanged() argument 54 if (player.getPlaybackState() == Player.STATE_READY) { in onEventsPlaybackStateChanged() 57 mExpectedTotalTime += player.getDuration(); in onEventsPlaybackStateChanged() 62 public void onEventsMediaItemTransition(@NonNull Player player) { in onEventsMediaItemTransition() argument
|
D | SpeedChangeTestPlayerListener.java | 50 public void onEventsPlaybackStateChanged(@NonNull Player player) { in onEventsPlaybackStateChanged() argument 51 if (player.getPlaybackState() == Player.STATE_READY) { in onEventsPlaybackStateChanged() 54 mExpectedTotalTime += player.getDuration(); in onEventsPlaybackStateChanged() 59 public void onEventsMediaItemTransition(@NonNull Player player) { in onEventsMediaItemTransition() argument
|
D | OrientationTestPlayerListener.java | 99 public void onEventsPlaybackStateChanged(@NonNull Player player) { in onEventsPlaybackStateChanged() argument 100 if (player.getPlaybackState() == Player.STATE_READY) { in onEventsPlaybackStateChanged() 104 mExpectedTotalTime += player.getDuration(); in onEventsPlaybackStateChanged() 105 } else if (mOrientationChangeRequested && player.getPlaybackState() == Player.STATE_ENDED) { in onEventsPlaybackStateChanged() 111 public void onEventsMediaItemTransition(@NonNull Player player) { in onEventsMediaItemTransition() argument
|
D | PipModeTestPlayerListener.java | 43 public void onEventsPlaybackStateChanged(@NonNull Player player) { in onEventsPlaybackStateChanged() argument 44 if (player.getPlaybackState() == Player.STATE_READY) { in onEventsPlaybackStateChanged() 47 mExpectedTotalTime += player.getDuration(); in onEventsPlaybackStateChanged() 52 public void onEventsMediaItemTransition(@NonNull Player player) { in onEventsMediaItemTransition() argument
|
D | SplitScreenTestPlayerListener.java | 42 public void onEventsPlaybackStateChanged(@NonNull Player player) { in onEventsPlaybackStateChanged() argument 43 if (player.getPlaybackState() == Player.STATE_READY) { in onEventsPlaybackStateChanged() 46 mExpectedTotalTime += player.getDuration(); in onEventsPlaybackStateChanged() 51 public void onEventsMediaItemTransition(@NonNull Player player) { in onEventsMediaItemTransition() argument
|
D | DeviceLockTestPlayerListener.java | 60 public void onEventsPlaybackStateChanged(@NonNull Player player) { in onEventsPlaybackStateChanged() argument 61 if (player.getPlaybackState() == Player.STATE_READY) { in onEventsPlaybackStateChanged() 64 mExpectedTotalTime += player.getDuration() + LOCK_DURATION_MS; in onEventsPlaybackStateChanged() 71 public void onEventsMediaItemTransition(@NonNull Player player) { in onEventsMediaItemTransition() argument
|
/cts/apps/CtsVerifier/src/org/hyphonate/megaaudio/player/sources/ |
D | NoiseAudioSourceProvider.java | 16 package org.hyphonate.megaaudio.player.sources; 18 import org.hyphonate.megaaudio.player.AudioSource; 19 import org.hyphonate.megaaudio.player.AudioSourceProvider; 20 import org.hyphonate.megaaudio.player.NativeAudioSource;
|
D | SinAudioSourceProvider.java | 16 package org.hyphonate.megaaudio.player.sources; 18 import org.hyphonate.megaaudio.player.AudioSource; 19 import org.hyphonate.megaaudio.player.AudioSourceProvider; 20 import org.hyphonate.megaaudio.player.NativeAudioSource;
|
D | SilenceAudioSourceProvider.java | 16 package org.hyphonate.megaaudio.player.sources; 18 import org.hyphonate.megaaudio.player.AudioSource; 19 import org.hyphonate.megaaudio.player.AudioSourceProvider; 20 import org.hyphonate.megaaudio.player.NativeAudioSource;
|
D | SparseChannelAudioSourceProvider.java | 16 package org.hyphonate.megaaudio.player.sources; 18 import org.hyphonate.megaaudio.player.AudioSource; 19 import org.hyphonate.megaaudio.player.AudioSourceProvider;
|
/cts/tests/tests/media/audio/jni/ |
D | appendix-b-1-1-buffer-queue.cpp | 84 SLObjectItf player; in TestPlayMusicBufferQueue() local 174 res = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, in TestPlayMusicBufferQueue() 179 res = (*player)->Realize(player, SL_BOOLEAN_FALSE); in TestPlayMusicBufferQueue() 183 res = (*player)->GetInterface(player, SL_IID_PLAY, (void *)&playItf); in TestPlayMusicBufferQueue() 185 res = (*player)->GetInterface(player, SL_IID_BUFFERQUEUE, in TestPlayMusicBufferQueue() 236 (*player)->Destroy(player); in TestPlayMusicBufferQueue()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/sources/ |
D | BlipAudioSourceProvider.java | 18 import org.hyphonate.megaaudio.player.AudioSource; 19 import org.hyphonate.megaaudio.player.AudioSourceProvider; 20 import org.hyphonate.megaaudio.player.NativeAudioSource;
|
/cts/common/device-side/interactive/automation/src/main/java/com/google/android/interactive/steps/enterprise/systemui/ |
D | IsGTSInteractiveOutputSwitcherVisibleStepAutomation.java | 33 UiObject2 player = MediaControlsHelper.findMediaControls(); in automate() local 34 return player != null in automate() 35 && MediaControlsHelper.findChildObject(player, "media_seamless") != null; in automate()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/ |
D | USBAudioPeripheralPlayerActivity.java | 27 import org.hyphonate.megaaudio.player.AudioSourceProvider; 28 import org.hyphonate.megaaudio.player.JavaPlayer; 29 import org.hyphonate.megaaudio.player.PlayerBuilder; 30 import org.hyphonate.megaaudio.player.sources.SinAudioSourceProvider;
|
/cts/common/device-side/interactive/automation/src/main/java/com/google/android/interactive/helpers/ |
D | MediaControlsHelper.java | 75 UiObject2 player = null; in findMediaControls() local 77 player = car.findObject(playerSelector); in findMediaControls() 78 if (player != null) { in findMediaControls() 83 return player; in findMediaControls()
|