/cts/tests/tests/media/src/android/media/cts/ |
D | AudioPlayRoutingNative.java | 63 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 …]
|
D | VolumeShaperTest.java | 567 try (Player player = createPlayer(p)) { in testMaximumShapers() argument 568 final String testName = TEST_NAME + " " + player.name(); in testMaximumShapers() 573 shapers[i] = player.createVolumeShaper(SILENCE); in testMaximumShapers() 595 try ( Player player = createPlayer(p); in testPlayerDuck() argument 596 VolumeShaper volumeShaper = player.createVolumeShaper(SILENCE); in testPlayerDuck() 598 final String testName = TEST_NAME + " " + player.name(); in testPlayerDuck() 601 player.start(); in testPlayerDuck() 620 try ( Player player = createPlayer(p); in testPlayerRamp() argument 621 VolumeShaper volumeShaper = player.createVolumeShaper(SILENCE); in testPlayerRamp() 623 final String testName = TEST_NAME + " " + player.name(); in testPlayerRamp() [all …]
|
D | AudioTrackSurroundTest.java | 527 SamplePlayerBytes player = new SamplePlayerBytes( in testPlayAC3Bytes() local 530 player.playAndMeasureRate(); in testPlayAC3Bytes() 536 SamplePlayerShorts player = new SamplePlayerShorts( in testPlayAC3Shorts() local 539 player.playAndMeasureRate(); in testPlayAC3Shorts() 548 SamplePlayerShorts player = new SamplePlayerShorts( in testPlayIEC61937_32000() local 550 player.playAndMeasureRate(); in testPlayIEC61937_32000() 556 SamplePlayerShorts player = new SamplePlayerShorts( in testPlayIEC61937_44100() local 558 player.playAndMeasureRate(); in testPlayIEC61937_44100() 564 SamplePlayerShorts player = new SamplePlayerShorts( in testPlayIEC61937_48000() local 566 player.playAndMeasureRate(); in testPlayIEC61937_48000() [all …]
|
D | DecodeAccuracyTest.java | 141 private SimplePlayer player; field in DecodeAccuracyTest 146 if (player != null) { in tearDown() 147 player.release(); in tearDown() 242 this.player = new SimplePlayer(getHelper().getContext()); in decodeVideo() 243 final SimplePlayer.PlayerResult playerResult = player.decodeVideoFrames( in decodeVideo()
|
D | MockMediaSessionService2.java | 55 final MockPlayer player = new MockPlayer(1); in onCreateSession() local 64 .setPlayer(player) in onCreateSession()
|
D | JetPlayerTest.java | 203 public void onJetEvent(JetPlayer player, short segment, byte track, byte channel, in onJetEvent() argument 208 public void onJetNumQueuedSegmentUpdate(JetPlayer player, int nbSegments) { in onJetNumQueuedSegmentUpdate() argument 212 public void onJetPauseUpdate(JetPlayer player, int paused) { in onJetPauseUpdate() argument 216 public void onJetUserIdUpdate(JetPlayer player, int userId, int repeatCount) { in onJetUserIdUpdate() argument
|
D | MediaSession2Test.java | 140 MediaPlayerBase player, int state) { in testPlayerStateChange() 184 MediaPlayerBase player, MediaItem2 itemOut) { in testCurrentDataSourceChanged() argument 216 public void onMediaPrepared(MediaSession2 session, MediaPlayerBase player, in testMediaPrepared() argument 251 MediaPlayerBase player, MediaItem2 itemOut, int stateOut) { in testBufferingStateChanged() argument 274 MediaPlayerBase player, int state) { in testUpdatePlayer() 281 MockPlayer player = new MockPlayer(0); in testUpdatePlayer() local 289 mSession.updatePlayer(player, null, null); in testUpdatePlayer() 290 assertEquals(player, mSession.getPlayer()); in testUpdatePlayer() 294 player.notifyPlaybackState(MediaPlayerBase.PLAYER_STATE_PLAYING); in testUpdatePlayer() 300 MockPlayer player = new MockPlayer(0); in testSetPlayer_playbackInfo() local [all …]
|
D | MediaSessionManager_MediaSession2Test.java | 72 final MockPlayer player = new MockPlayer(1); in setUp() local 74 .setPlayer(player) in setUp() 92 final MockPlayer player = (MockPlayer) mSession.getPlayer(); in testGetMediaSession2Tokens_hasMediaController() local 93 player.notifyPlaybackState(MediaPlayerBase.PLAYER_STATE_IDLE); in testGetMediaSession2Tokens_hasMediaController() 112 assertTrue(player.mCountDownLatch.await(WAIT_TIME_MS, TimeUnit.MILLISECONDS)); in testGetMediaSession2Tokens_hasMediaController() 113 assertTrue(player.mPlayCalled); in testGetMediaSession2Tokens_hasMediaController()
|
D | VideoSurfaceView.java | 92 public void setMediaPlayer(MediaPlayer player) { in setMediaPlayer() argument 93 mMediaPlayer = player; in setMediaPlayer()
|
D | MockMediaLibraryService2.java | 110 final MockPlayer player = new MockPlayer(1); in onCreateSession() local 120 librarySessionCallback).setPlayer(player).setId(sessionId).build(); in onCreateSession()
|
D | MediaController2Test.java | 881 final MockPlayer player = new MockPlayer(0); in testDeadlock() local 893 player.notifyPlaybackState(state); in testDeadlock() 898 player.notifyPlaybackState(state); in testDeadlock() 900 player.notifyPlaybackState(state); in testDeadlock() 902 player.notifyPlaybackState(state); in testDeadlock() 904 player.notifyPlaybackState(state); in testDeadlock()
|
D | AudioEffectTest.java | 1017 public boolean onError(MediaPlayer player, int what, int extra) { in createMediaPlayerLooper() 1026 public void onCompletion(MediaPlayer player) { in createMediaPlayerLooper()
|
D | .goutputstream-9KZYJZ | 371 fail("Media player had error " + what + " playing " + name); 478 fail("Media player had error " + what + " playing " + name); 750 WorkerWithPlayer worker = new WorkerWithPlayer("player");
|
D | MediaPlayerTest.java | 593 private void initMediaPlayer(MediaPlayer player) throws Exception { in initMediaPlayer() argument 596 player.reset(); in initMediaPlayer() 597 player.setDataSource(afd.getFileDescriptor(), afd.getStartOffset(), afd.getLength()); in initMediaPlayer() 598 player.prepare(); in initMediaPlayer() 599 player.seekTo(56000); in initMediaPlayer()
|
/cts/tests/tests/media/libaudiojni/ |
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/tests/tests/drm/src/android/drm/cts/ |
D | DRMTest.java | 259 MediaPlayer player = new MediaPlayer(); in testForwardLockAccess() local 263 player.setDataSource(flFd.getFileDescriptor(), 0, flFd.getStatSize()); in testForwardLockAccess() 264 player.prepare(); in testForwardLockAccess() 265 player.start(); in testForwardLockAccess() 267 assertTrue("player is not playing", player.isPlaying()); in testForwardLockAccess() 268 player.release(); in testForwardLockAccess() 272 player.release(); in testForwardLockAccess()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/location/base/ |
D | BaseGnssTestActivity.java | 294 MediaPlayer player = MediaPlayer.create(this, Settings.System.DEFAULT_NOTIFICATION_URI); in playSound() local 295 if (player == null) { in playSound() 299 player.start(); in playSound() 303 player.stop(); in playSound()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/base/ |
D | BaseSensorTestActivity.java | 393 MediaPlayer player = MediaPlayer.create(this, Settings.System.DEFAULT_NOTIFICATION_URI); in playSound() local 394 if (player == null) { in playSound() 398 player.start(); in playSound() 402 player.stop(); in playSound()
|