/frameworks/wilhelm/tests/listening/ |
slesTest_playMuteSolo.cpp | 101 /* PlayItf callback for an audio player, will be called for every SL_PLAYEVENT_HEADATNEWPOS event */ 168 /* Objects this application uses: one player and an output mix */ 169 SLObjectItf player, outputMix; local 176 /* Data sinks for the audio player */ 180 /* Play, Volume and PrefetchStatus interfaces for the audio player */ 201 /* Create Output Mix object to be used by the player */ 216 /* Configuration of the player */ 237 /* Create the audio player */ 238 result = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, &audioSource, &audioSink, 2, 242 /* Realize the player in synchronous mode. * [all...] |
/platform_testing/libraries/app-helpers/auto/src/android/platform/test/helpers/auto/ |
AbstractAutoOverviewHelper.java | 45 * 1.Play media from Media player/ Radio. 58 * 1.Play media from Media player/ Radio. 71 * 1.Play media from Media player/ Radio. 84 * 1.Play media from Media player/ Radio. 97 * 1.Play media from Media player/ Radio. 104 * ( Radio,Bluetooth Media, Local Media player).
|
/platform_testing/libraries/app-helpers/common/src/android/platform/test/helpers/common/ |
AbstractYouTubeHelper.java | 62 * Setup expectations: YouTube is on the non-fullscreen video player page. 64 * This method changes the video player to fullscreen mode. Has no effect if the video player 104 * Setup expectations: YouTube is on the video player page. 114 * Setup expectations: YouTube is on the video player page. 121 * Setup expectations: YouTube is on the video player page.
|
/external/autotest/client/site_tests/power_FlashVideoSuspend/ |
power_FlashVideoSuspend.py | 37 return tab.EvaluateJavaScript('player.getCurrentTime()') 42 exception=error.TestError('Player is stuck until timeout.')) 55 tab.WaitForJavaScriptCondition('typeof player != "undefined"',
|
/external/python/cpython2/Lib/plat-irix5/ |
readcd.py | 32 self.player = cd.open() 34 self.player = cd.open(arg[0]) 36 self.player = cd.open(arg[0], arg[1]) 48 self.player.eject() 173 self.trackinfo.append(self.player.gettrackinfo(i)) 176 self.status = self.player.getstatus() 179 raise Error, 'no disc in player' 182 return self.player.getstatus() 187 size = self.player.bestreadsize() 206 dummy = self.player.seektrack [all...] |
/external/python/cpython2/Lib/plat-irix6/ |
readcd.py | 32 self.player = cd.open() 34 self.player = cd.open(arg[0]) 36 self.player = cd.open(arg[0], arg[1]) 48 self.player.eject() 173 self.trackinfo.append(self.player.gettrackinfo(i)) 176 self.status = self.player.getstatus() 179 raise Error, 'no disc in player' 182 return self.player.getstatus() 187 size = self.player.bestreadsize() 206 dummy = self.player.seektrack [all...] |
/development/samples/RandomMusicPlayer/res/values/ |
strings.xml | 18 <string name="app_title">Random Music Player</string>
|
/external/autotest/client/site_tests/video_VideoSanity/ |
video_VideoSanity.py | 67 player = native_html5_player.NativeHtml5Player( 73 player.load_video() 74 player.play() 75 player.verify_video_can_play(constants.PLAYBACK_TEST_TIME_S)
|
/external/replicaisland/src/com/replica/replicaisland/ |
AttackAtDistanceComponent.java | 50 GameObject player = manager.getPlayer(); local 51 if (player != null) { 52 mDistance.set(player.getPosition()); 58 (Utils.sign(player.getPosition().x - parentObject.getPosition().x)
|
PopOutComponent.java | 21 * hiding and appearing based on their distance from the player. They do not move or normally 66 GameObject player = manager.getPlayer(); local 67 if (player != null) { 68 mDistance.set(player.getPosition());
|
/frameworks/base/cmds/bootanimation/ |
audioplay.cpp | 43 // buffer queue player interfaces 50 // pointer and size of the next player buffer to enqueue, and number of remaining buffers 137 // create buffer queue audio player 173 // create audio player 205 "could not set performance mode on player, error %d", result); 208 // realize the player 211 ALOGE("sl player Realize failed with result %d", result); 219 ALOGE("sl player GetInterface failed with result %d", result); 249 // set the player's state to playing 251 CHATTY("Created buffer queue player: %p", bqPlayerBufferQueue) [all...] |
/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/ |
Playback.java | 50 // The volume we set the media player to when we lose audio focus, but are 53 // The volume we set the media player when we have audio focus. 174 // Starts preparing the media player in the background. When 177 // listener to 'this'). Until the media player is prepared, 201 // Pause media player and cancel the 'foreground service' state. 221 // If we do not have a current media player, simply update the current position 329 // If we are playing, we need to reset media player by calling configMediaPlayerState 361 * Called when media player is done playing current song. 366 public void onCompletion(MediaPlayer player) { 368 // The media player finished playing the current song, so we go ahea [all...] |
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/media/ |
Playback.java | 51 // The volume we set the media player to when we lose audio focus, but are 54 // The volume we set the media player when we have audio focus. 175 // Starts preparing the media player in the background. When 178 // listener to 'this'). Until the media player is prepared, 202 // Pause media player and cancel the 'foreground service' state. 222 // If we do not have a current media player, simply update the current position 330 // If we are playing, we need to reset media player by calling configMediaPlayerState 362 * Called when media player is done playing current song. 367 public void onCompletion(MediaPlayer player) { 369 // The media player finished playing the current song, so we go ahea [all...] |
/frameworks/wilhelm/tests/mimeUri/ |
slesTestGetPositionUri.cpp | 65 /* PrefetchStatusItf callback for an audio player */ 140 SLObjectItf player; local 170 // Create Output Mix object to be used by player 194 /* Create the audio player */ 195 res = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, &audioSource, &audioSink, 198 /* Realizing the player in synchronous mode. */ 199 res = (*player)->Realize(player, SL_BOOLEAN_FALSE); CheckErr(res); 203 res = (*player)->GetInterface(player, SL_IID_PLAY, (void*)&playItf) [all...] |
slesTestPlayUri.cpp | 71 /* PrefetchStatusItf callback for an audio player */ 138 SLObjectItf player; local 163 // Create Output Mix object to be used by player 187 /* Create the audio player */ 188 res = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, &audioSource, &audioSink, 191 /* Realizing the player in synchronous mode. */ 192 res = (*player)->Realize(player, SL_BOOLEAN_FALSE); CheckErr(res); 196 res = (*player)->GetInterface(player, SL_IID_PLAY, (void*)&playItf) [all...] |
slesTestSlowDownUri.cpp | 64 /* PlayItf callback for an audio player */ 107 /* PrefetchStatusItf callback for an audio player */ 191 SLObjectItf player; local 213 // Create Output Mix object to be used by player 237 /* Create the audio player */ 244 res = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, &audioSource, &audioSink, 247 /* Realizing the player in synchronous mode. */ 248 res = (*player)->Realize(player, SL_BOOLEAN_FALSE); CheckErr(res); 252 res = (*player)->GetInterface(player, SL_IID_PLAY, (void*)&playItf); CheckErr(res) [all...] |
/frameworks/wilhelm/tests/sandbox/streamSource/ |
slesTestPlayStream.cpp | 72 /* AndroidBufferQueueItf callback for an audio player */ 193 SLObjectItf player; local 222 // Create Output Mix object to be used by player 246 /* Create the audio player */ 247 res = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, &audioSource, &audioSink, 250 /* Realizing the player in synchronous mode. */ 251 res = (*player)->Realize(player, SL_BOOLEAN_FALSE); CheckErr(res); 255 res = (*player)->GetInterface(player, SL_IID_PLAY, (void*)&playItf); CheckErr(res) [all...] |
/device/linaro/bootloader/edk2/StdLib/EfiSocketLib/ |
Service.c | 444 ESL_LAYER * pLayer;
449 pLayer = &mEslLayer;
450 ZeroMem ( pLayer, sizeof ( *pLayer ));
451 pLayer->Signature = LAYER_SIGNATURE;
452 pLayer->ImageHandle = ImageHandle;
457 pLayer->pServiceBinding = &mEfiServiceBinding;
471 ESL_LAYER * pLayer;
476 pLayer = &mEslLayer;
477 pLayer->ImageHandle = NULL; [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/audio/audiolib/ |
AudioFiller.java | 32 * @param numChans The number of channels (in the buffer) required by the player. 34 * requested, it may be interpreted by the player as the end of playback.
|
/frameworks/av/media/libaaudio/examples/write_sine/src/ |
write_sine.cpp | 36 AAudioSimplePlayer player; local 66 result = player.open(argParser); 68 fprintf(stderr, "ERROR - player.open() returned %d\n", result); 72 aaudioStream = player.getStream(); 107 printf("call player.start()\n"); 108 result = player.start(); 181 result = player.stop(); 189 player.close();
|
/frameworks/wilhelm/src/android/ |
android_defs.h | 24 // audio player, playing from a URI or FD data source 26 // audio player, playing PCM buffers in a buffer queue data source 28 // audio player, playing transport stream packets in an Android buffer queue data source 30 // audio player, decoding from a URI or FD data source to a buffer queue data sink in PCM format 32 // audio video player, playing transport stream packets in an Android buffer queue data source 34 // audio video player, playing from a URI or FD data source 39 // audio player, decoding from an Android buffer queue with ADTS data, 76 * Structure to maintain the set of audio levels about a player
|
/frameworks/wilhelm/src/objects/ |
CMediaPlayer.cpp | 34 // realize player 47 /** \brief Hook called by Object::Destroy when a media player is destroyed */
|
/frameworks/wilhelm/tests/sandbox/ |
urimime.c | 17 // Test audio player configurations with URI data source and MIME data format 76 // create audio player, requesting a buffer queue interface 95 // create audio player, without requesting a buffer queue interface 100 // realize the player 122 // get the player duration 131 // set the player's state to playing 146 // get the player duration 154 // destroy audio player
|
/packages/apps/Music/tests/ |
AndroidManifest.xml | 31 android:label="Music Player Functional Test"> 36 android:label="Music Player Stress Test">
|
/developers/build/prebuilts/gradle/PictureInPicture/kotlinApp/app/src/main/java/com/example/android/pictureinpicture/widget/ |
MovieView.kt | 140 mMediaPlayer?.let { player -> 146 if (player.isPlaying) { 178 mMediaPlayer?.let { player -> 179 val videoWidth = player.videoWidth 180 val videoHeight = player.videoHeight 310 * Returns the current position of the video. If the the player has not been created, then 346 mMediaPlayer?.let { player -> 347 player.setSurface(surface) 356 mMediaPlayer?.let { player -> 357 player.reset( [all...] |