/external/autotest/client/site_tests/desktopui_AudioFeedback/ |
youtube.html | 13 var player; 15 new YT.Player('yt_frame', { 22 player = event.target;
|
/external/autotest/client/site_tests/video_VimeoVideo/ |
control | 5 # If you see any error at the Vimeo player end, try updating froogaloop.js. 6 # https://raw.github.com/vimeo/player-api/master/javascript/froogaloop.js 25 This test verifies Vimeo video playback and player states.
|
/frameworks/base/media/tests/players/ |
invoke_mock_media_player.cpp | 43 // This file contains a test player that is loaded via the 44 // TestPlayerStub class. The player contains various implementation 50 class Player: public MediaPlayerBase 54 Player() {} 55 virtual ~Player() {} 104 status_t Player::invoke(const Parcel& request, Parcel *reply) 115 void Player::ping(const Parcel& request, Parcel *reply) 127 ALOGD("New invoke test player"); 128 return new Player(); 131 extern "C" android::status_t deletePlayer(android::MediaPlayerBase *player) [all...] |
README | 3 For functional/system/performance tests, a native test player can be used.
|
/frameworks/wilhelm/tests/mimeUri/ |
slesTest_playStates.cpp | 52 /* Objects this application uses: one player and an ouput mix */ 53 SLObjectItf player, outputMix; local 60 /* Data sinks for the audio player */ 64 /* Play, Volume and PrefetchStatus interfaces for the audio player */ 85 /* Create Output Mix object to be used by the player */ 100 /* Configuration of the player */ 121 /* Create the audio player */ 122 result = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, &audioSource, &audioSink, 126 /* Realize the player in synchronous mode. */ 127 result = (*player)->Realize(player, SL_BOOLEAN_FALSE); ExitOnError(result) [all...] |
slesTestPlayStreamType.cpp | 53 /* Objects this application uses: one player and an ouput mix */ 54 SLObjectItf player, outputMix; local 61 /* Data sinks for the audio player */ 65 /* Play, Volume and AndroidStreamType interfaces for the audio player */ 88 /* Create Output Mix object to be used by the player */ 103 /* Configuration of the player */ 127 /* Create the audio player */ 128 result = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, &audioSource, &audioSink, 132 /* Retrieve the configuration interface before the player is realized so its resources 136 result = (*player)->GetInterface(player, SL_IID_ANDROIDCONFIGURATION, (void*)&configItf) [all...] |
slesTestPlayUri2.cpp | 38 /* PlayItf callback for an audio player */ 69 SLObjectItf player, player2, outputMix; local 107 /* Create Output Mix object to be used each player */ 136 /* Create the first audio player */ 137 result = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, &audioSource, &audioSink, 2, 141 /* Create the second audio player with a different path for its data source */ 149 result = (*player)->Realize(player, SL_BOOLEAN_FALSE); ExitOnError(result); 150 result = (*player)->Realize(player2, SL_BOOLEAN_FALSE); ExitOnError(result); 153 /* Get the SLPlayItf, SLVolumeItf and SLPrefetchStatusItf interfaces for each player */ [all...] |
/development/samples/TicTacToeLib/res/values/ |
strings.xml | 19 <string name="player2_win">Player 2 (computer) wins!</string> 20 <string name="player1_win">Player 1 (you) wins!</string> 22 <string name="player2_turn">Player 2\'s turn (that\'s the computer)</string> 23 <string name="player1_turn">Player 1\'s turn -- that\'s you!</string>
|
/frameworks/base/media/java/android/media/ |
VolumeAutomation.java | 29 * of the player or track. 34 * @throws IllegalArgumentException if the {@code configuration} is not allowed by the player. 36 * or the state of the player does not permit its creation (e.g. player is released).
|
AudioPlaybackConfiguration.java | 51 * An unknown type of player 57 * Player backed by a java android.media.AudioTrack player 63 * Player backed by a java android.media.MediaPlayer player 69 * Player backed by a java android.media.SoundPool player 75 * Player backed by a C OpenSL ES AudioPlayer player with a BufferQueue source 81 * Player backed by a C OpenSL ES AudioPlayer player with a URI or FD sourc [all...] |
/packages/apps/Camera2/src/com/android/camera/ui/focus/ |
FocusSound.java | 22 * Wraps the focus sound and the player into a single object that can 31 public FocusSound(SoundPlayer player, int soundId) { 32 mPlayer = player; 39 * Play the focus sound with the sound player at the default
|
/external/autotest/client/site_tests/video_ChromeHWDecodeUsed/ |
video_ChromeHWDecodeUsed.py | 61 # This will execute for MSE video by accesing shaka player 81 player = native_html5_player.NativeHtml5Player( 87 player.load_video() 88 player.play() 90 player.wait_ended_or_error() 107 if not is_mse and player.check_error(): 108 raise error.TestError('player did not end successully '\ 109 '(HTML5 Player Error %s: %s)' 110 % player.get_error_info())
|
/frameworks/av/media/libaaudio/examples/write_sine/src/ |
write_sine_callback.cpp | 42 AAudioSimplePlayer &player = myData.simplePlayer; local 52 result = player.open(argParser, 55 fprintf(stderr, "ERROR - player.open() returned %d\n", result); 59 argParser.compareWithStream(player.getStream()); 63 int32_t actualSampleRate = player.getSampleRate(); 74 result = player.prime(); // FIXME crashes AudioTrack.cpp 76 fprintf(stderr, "ERROR - player.prime() returned %d\n", result); 81 result = player.start(); 83 fprintf(stderr, "ERROR - player.start() returned %d\n", result); 101 (int) AAudioStream_getFramesWritten(player.getStream()) [all...] |
/developers/build/prebuilts/gradle/MediaRouter/Application/src/main/java/com/example/android/mediarouter/player/ |
SessionManager.java | 17 package com.example.android.mediarouter.player; 25 import com.example.android.mediarouter.player.Player.Callback; 35 * Actual playback of a single media item is abstracted into a Player interface, 47 private Player mPlayer; 67 // Get the cached statistic info from the player (will not update it) 92 // If player supports queuing, get status of each item. Player is 94 // (update=1 requires player to callback onPlaylistReady()) 100 // Otherwise, only need to get status for current item. Player i [all...] |
/developers/samples/android/media/MediaRouter/Application/src/main/java/com/example/android/mediarouter/player/ |
SessionManager.java | 17 package com.example.android.mediarouter.player; 25 import com.example.android.mediarouter.player.Player.Callback; 35 * Actual playback of a single media item is abstracted into a Player interface, 47 private Player mPlayer; 67 // Get the cached statistic info from the player (will not update it) 92 // If player supports queuing, get status of each item. Player is 94 // (update=1 requires player to callback onPlaylistReady()) 100 // Otherwise, only need to get status for current item. Player i [all...] |
/development/samples/browseable/MediaRouter/src/com.example.android.mediarouter/player/ |
SessionManager.java | 17 package com.example.android.mediarouter.player; 25 import com.example.android.mediarouter.player.Player.Callback; 35 * Actual playback of a single media item is abstracted into a Player interface, 47 private Player mPlayer; 67 // Get the cached statistic info from the player (will not update it) 92 // If player supports queuing, get status of each item. Player is 94 // (update=1 requires player to callback onPlaylistReady()) 100 // Otherwise, only need to get status for current item. Player i [all...] |
/external/autotest/client/site_tests/video_ChromeVidResChangeHWDecode/ |
video_ChromeVidResChangeHWDecode.py | 38 player = native_html5_player.NativeHtml5Player(tab1, 43 player.load_video() 44 player.play() 53 if (player.paused() or player.ended()): 59 lambda: player.ended(),
|
/frameworks/wilhelm/src/objects/ |
CAudioPlayer.cpp | 22 /** \brief Hook called by Object::Realize when an audio player is realized */ 45 /** \brief Hook called by Object::Resume when an audio player is resumed */ 53 /** \brief Hook called by Object::Destroy when an audio player is destroyed */ 69 /** \brief Hook called by Object::Destroy before an audio player is about to be destroyed */ 89 // Request the mixer thread to unlink this audio player's track 100 /** \brief Given an audio player, return its data sink, which is guaranteed to be a non-NULL output
|
/frameworks/wilhelm/tests/examples/ |
slesTestBassBoostPath.cpp | 55 /* Objects this application uses: one player and an ouput mix */ 56 SLObjectItf player, outputMix; local 67 /* Data sinks for the audio player */ 71 /* Interfaces for the audio player */ 92 /* Create Output Mix object to be used by the player */ 107 /* Configuration of the player */ 144 /* Create the audio player */ 145 result = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, &audioSource, &audioSink, 2, 149 /* Realize the player in synchronous mode. */ 150 result = (*player)->Realize(player, SL_BOOLEAN_FALSE); ExitOnError(result) [all...] |
slesTestEqFdPath.cpp | 60 /* Objects this application uses: one player and an ouput mix */ 61 SLObjectItf player, outputMix; local 72 /* Data sinks for the audio player */ 76 /* Play and PrefetchStatus interfaces for the audio player */ 97 /* Create Output Mix object to be used by the player */ 112 /* Configuration of the player */ 149 /* Create the audio player */ 150 result = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, &audioSource, &audioSink, 2, 154 /* Realize the player in synchronous mode. */ 155 result = (*player)->Realize(player, SL_BOOLEAN_FALSE); ExitOnError(result) [all...] |
slesTestVirtualizerPath.cpp | 56 /* Objects this application uses: one player and an ouput mix */ 57 SLObjectItf player, outputMix; local 68 /* Data sinks for the audio player */ 72 /* Play and PrefetchStatus interfaces for the audio player */ 93 /* Create Output Mix object to be used by the player */ 108 /* Configuration of the player */ 145 /* Create the audio player */ 146 result = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, &audioSource, &audioSink, 2, 150 /* Realize the player in synchronous mode. */ 151 result = (*player)->Realize(player, SL_BOOLEAN_FALSE); ExitOnError(result) [all...] |
/cts/tests/tests/media/src/android/media/cts/ |
VolumeShaperTest.java | 67 // time to wait for player state change 233 // generic player class to simplify testing 234 private interface Player extends AutoCloseable { 243 private static class AudioTrackPlayer implements Player { 278 private class MediaPlayerPlayer implements Player { 318 private Player createPlayer(int type) { 566 try (Player player = createPlayer(p)) { 567 final String testName = TEST_NAME + " " + player.name(); 572 shapers[i] = player.createVolumeShaper(SILENCE) 646 Player player = null; local 696 Player player = null; local [all...] |
/frameworks/base/tests/OneMedia/src/com/android/onemedia/playback/ |
LocalRenderer.java | 213 // The current error state of this player. This is cleared when the state 262 public void onPrepared(MediaPlayer player) { 263 if (!isCurrentPlayer(player)) { 275 player.start(); 281 public void onBufferingUpdate(MediaPlayer player, int percent) { 282 if (!isCurrentPlayer(player)) { 289 public void onCompletion(MediaPlayer player) { 290 if (!isCurrentPlayer(player)) { 311 public boolean onError(MediaPlayer player, int what, int extra) { 312 if (!isCurrentPlayer(player)) { 490 MediaPlayer player = mPlayer; local 518 MediaPlayer player = mPlayer; local 541 MediaPlayer player = mPlayer; local 710 MediaPlayer player = mPlayer; local [all...] |
/prebuilts/go/darwin-x86/doc/codewalk/ |
pig.go | 17 // A score includes scores accumulated in previous turns for each player, 18 // as well as the points scored by the current player in this turn. 20 player, opponent, thisTurn int 32 return score{s.opponent, s.player, 0}, true 34 return score{s.player, s.opponent, outcome + s.thisTurn}, false 38 // thisTurn score is added to the player's score, and the players' roles swap. 40 return score{s.opponent, s.player + s.thisTurn, 0}, true 62 for s.player+s.thisTurn < win {
|
/prebuilts/go/linux-x86/doc/codewalk/ |
pig.go | 17 // A score includes scores accumulated in previous turns for each player, 18 // as well as the points scored by the current player in this turn. 20 player, opponent, thisTurn int 32 return score{s.opponent, s.player, 0}, true 34 return score{s.player, s.opponent, outcome + s.thisTurn}, false 38 // thisTurn score is added to the player's score, and the players' roles swap. 40 return score{s.opponent, s.player + s.thisTurn, 0}, true 62 for s.player+s.thisTurn < win {
|