Home
last modified time | relevance | path

Searched refs:player (Results 1 – 25 of 38) sorted by relevance

12

/cts/tests/tests/media/src/android/media/cts/
DAudioPlayRoutingNative.java63 AudioPlayer player = new AudioPlayer(); in testAquireDefaultProxy() local
64 player.ClearLastSLResult(); in testAquireDefaultProxy()
65 player.RealizePlayer(); in testAquireDefaultProxy()
66 player.RealizeRoutingProxy(); in testAquireDefaultProxy()
68 AudioRouting routingObj = player.GetRoutingInterface(); in testAquireDefaultProxy()
72 routingObj = player.GetRoutingInterface(); in testAquireDefaultProxy()
74 assertTrue(player.GetLastSLResult() != 0); in testAquireDefaultProxy()
76 player.ReleaseRoutingInterface(routingObj); in testAquireDefaultProxy()
77 assertTrue(player.GetLastSLResult() == 0); in testAquireDefaultProxy()
82 AudioPlayer player = new AudioPlayer(); in testAquirePreRealizeDefaultProxy() local
[all …]
DVolumeShaperTest.java566 try (Player player = createPlayer(p)) { in testMaximumShapers() argument
567 final String testName = TEST_NAME + " " + player.name(); in testMaximumShapers()
572 shapers[i] = player.createVolumeShaper(SILENCE); in testMaximumShapers()
594 try ( Player player = createPlayer(p); in testPlayerDuck() argument
595 VolumeShaper volumeShaper = player.createVolumeShaper(SILENCE); in testPlayerDuck()
597 final String testName = TEST_NAME + " " + player.name(); in testPlayerDuck()
600 player.start(); in testPlayerDuck()
619 try ( Player player = createPlayer(p); in testPlayerRamp() argument
620 VolumeShaper volumeShaper = player.createVolumeShaper(SILENCE); in testPlayerRamp()
622 final String testName = TEST_NAME + " " + player.name(); in testPlayerRamp()
[all …]
DAudioTrackSurroundTest.java541 SamplePlayerBytes player = new SamplePlayerBytes( in testPlayAC3Bytes() local
544 player.playAndMeasureRate(SAMPLE_RATE_LONG_TEST_DURATION_MILLIS); in testPlayAC3Bytes()
550 SamplePlayerShorts player = new SamplePlayerShorts( in testPlayAC3Shorts() local
553 player.playAndMeasureRate(SAMPLE_RATE_LONG_TEST_DURATION_MILLIS); in testPlayAC3Shorts()
559 SamplePlayerShorts player = new SamplePlayerShorts( in testPlayIEC61937_32000() local
562 player.playAndMeasureRate(SAMPLE_RATE_LONG_TEST_DURATION_MILLIS); in testPlayIEC61937_32000()
568 SamplePlayerShorts player = new SamplePlayerShorts( in testPlayIEC61937_44100() local
571 player.playAndMeasureRate(SAMPLE_RATE_LONG_TEST_DURATION_MILLIS); in testPlayIEC61937_44100()
577 SamplePlayerShorts player = new SamplePlayerShorts( in testPlayIEC61937_48000() local
580 player.playAndMeasureRate(SAMPLE_RATE_LONG_TEST_DURATION_MILLIS); in testPlayIEC61937_48000()
[all …]
DDecodeAccuracyTest.java147 private SimplePlayer player; field in DecodeAccuracyTest
152 if (player != null) { in tearDown()
153 player.release(); in tearDown()
255 this.player = new SimplePlayer(getHelper().getContext()); in decodeVideo()
256 final SimplePlayer.PlayerResult playerResult = player.decodeVideoFrames( in decodeVideo()
DJetPlayerTest.java204 public void onJetEvent(JetPlayer player, short segment, byte track, byte channel, in onJetEvent() argument
209 public void onJetNumQueuedSegmentUpdate(JetPlayer player, int nbSegments) { in onJetNumQueuedSegmentUpdate() argument
213 public void onJetPauseUpdate(JetPlayer player, int paused) { in onJetPauseUpdate() argument
217 public void onJetUserIdUpdate(JetPlayer player, int userId, int repeatCount) { in onJetUserIdUpdate() argument
DVideoSurfaceView.java92 public void setMediaPlayer(MediaPlayer player) { in setMediaPlayer() argument
93 mMediaPlayer = player; in setMediaPlayer()
/cts/apps/CtsVerifier/jni/megaaudio/
DAndroid.bp26 "player/BlipAudioSource.cpp",
27 "player/JavaSourceProxy.cpp",
28 "player/NativeAudioSource.cpp",
29 "player/NoiseAudioSource.cpp",
30 "player/OboePlayer.cpp",
31 "player/SinAudioSource.cpp",
32 "player/SilenceAudioSource.cpp",
33 "player/WaveTableSource.cpp",
/cts/apps/CtsVerifier/src/org/hyphonate/megaaudio/player/
DPlayerBuilder.java16 package org.hyphonate.megaaudio.player;
44 Player player = null; in build() local
52 player = new JavaPlayer(mSourceProvider); in build()
57 player = new OboePlayer(mSourceProvider, playerSubType); in build()
65 return player; in build()
DAudioSourceProvider.java16 package org.hyphonate.megaaudio.player;
DJavaSourceProxy.java16 package org.hyphonate.megaaudio.player;
DAudioSource.java16 package org.hyphonate.megaaudio.player;
/cts/apps/CtsVerifier/src/org/hyphonate/megaaudio/player/sources/
DSilenceAudioSourceProvider.java16 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;
DSinAudioSourceProvider.java16 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;
DSilenceAudioSource.java16 package org.hyphonate.megaaudio.player.sources;
18 import org.hyphonate.megaaudio.player.AudioSource;
DWaveTableSource.java16 package org.hyphonate.megaaudio.player.sources;
18 import org.hyphonate.megaaudio.player.AudioSource;
DSinAudioSource.java16 package org.hyphonate.megaaudio.player.sources;
/cts/tests/tests/media/libaudiojni/
Dappendix-b-1-1-buffer-queue.cpp84 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/
DUSBAudioPeripheralPlayerActivity.java25 import org.hyphonate.megaaudio.player.AudioSource;
26 import org.hyphonate.megaaudio.player.AudioSourceProvider;
27 import org.hyphonate.megaaudio.player.JavaPlayer;
28 import org.hyphonate.megaaudio.player.PlayerBuilder;
29 import org.hyphonate.megaaudio.player.sources.SinAudioSourceProvider;
DAudioOutputRoutingNotificationsActivity.java39 import org.hyphonate.megaaudio.player.AudioSource;
40 import org.hyphonate.megaaudio.player.AudioSourceProvider;
41 import org.hyphonate.megaaudio.player.JavaPlayer;
42 import org.hyphonate.megaaudio.player.PlayerBuilder;
43 import org.hyphonate.megaaudio.player.sources.SinAudioSourceProvider;
DAudioOutColdStartLatencyActivity.java33 import org.hyphonate.megaaudio.player.AudioSourceProvider;
34 import org.hyphonate.megaaudio.player.Player;
35 import org.hyphonate.megaaudio.player.PlayerBuilder;
36 import org.hyphonate.megaaudio.player.sources.SilenceAudioSourceProvider;
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/sources/
DBlipAudioSourceProvider.java18 import org.hyphonate.megaaudio.player.AudioSource;
19 import org.hyphonate.megaaudio.player.AudioSourceProvider;
20 import org.hyphonate.megaaudio.player.NativeAudioSource;
/cts/hostsidetests/securitybulletin/securityPatch/CVE-2016-3913/
Dpoc.cpp112 status_t setNextPlayer(const sp<IMediaPlayer> &player) { return OK; } in setNextPlayer() argument
147 sp<IMediaPlayer> player = service->create( in main() local
150 if (player == NULL) { in main()
160 player->setDataSource(NULL, "file:///test", NULL); in main()
166 player->setNextPlayer(localPlayer); in main()
/cts/apps/CtsVerifier/src/org/hyphonate/megaaudio/duplex/
DDuplexAudioManager.java23 import org.hyphonate.megaaudio.player.AudioSource;
24 import org.hyphonate.megaaudio.player.AudioSourceProvider;
25 import org.hyphonate.megaaudio.player.Player;
26 import org.hyphonate.megaaudio.player.PlayerBuilder;
/cts/tests/tests/drm/src/android/drm/cts/
DDRMTest.java267 MediaPlayer player = new MediaPlayer(); in testForwardLockAccess() local
271 player.setDataSource(flFd.getFileDescriptor(), 0, flFd.getStatSize()); in testForwardLockAccess()
272 player.prepare(); in testForwardLockAccess()
273 player.start(); in testForwardLockAccess()
275 assertTrue("player is not playing", player.isPlaying()); in testForwardLockAccess()
276 player.release(); in testForwardLockAccess()
280 player.release(); in testForwardLockAccess()
/cts/apps/CtsVerifier/jni/megaaudio/player/
DOboePlayer.cpp164 OboePlayer* player = (OboePlayer*)native_player; in Java_org_hyphonate_megaaudio_player_OboePlayer_setupStreamN() local
165 return player->setupStream(channel_count, sample_rate, routeDeviceId); in Java_org_hyphonate_megaaudio_player_OboePlayer_setupStreamN()
171 OboePlayer* player = (OboePlayer*)native_player; in Java_org_hyphonate_megaaudio_player_OboePlayer_teardownStreamN() local
172 return player->teardownStream(); in Java_org_hyphonate_megaaudio_player_OboePlayer_teardownStreamN()

12