/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/unit/ |
MediaPlayerStopStateUnitTest.java | 55 public void invokeMethodUnderTest(MediaPlayer player) { 56 player.stop();
|
/frameworks/wilhelm/src/android/ |
MediaPlayer_to_android.h | 20 * Player lifecycle 40 * pMediaPlayer->mAVPlayer != 0 (player is realized)
|
android_GenericPlayer.h | 101 // Constants used to identify the messages in this player's AHandler message loop 106 kWhatPlay = 2, // start player 107 kWhatPause = 3, // pause or stop player 110 kWhatLoop = 6, // set the player's looping status 154 // for internal async notification to update state that the player is no longer seeking 198 // players that "render" data to present it to the user (a music player, a video player),
|
android_GenericMediaPlayer.cpp | 28 // default delay in Us used when reposting an event when the player is not ready to accept 141 // only send video size updates if the player was flagged as having video, to avoid 263 sp<IMediaPlayer> player; local 264 getPreparedPlayer(player); 265 if (player != NULL) { 266 player->stop(); 269 //player->setDataSource(NULL); 270 player->setVideoSurfaceTexture(NULL); 271 player->disconnect(); 293 sp<IMediaPlayer> player; local 318 sp<IMediaPlayer> player; local [all...] |
android_StreamPlayer.cpp | 39 StreamPlayer * /* const sp<StreamPlayer> & */ player) : 43 mPlayer(player) 186 const sp<StreamPlayer> player(mPlayer.promote()); 187 if (player != NULL) { 189 player->seek(ANDROID_UNKNOWN_TIME); 265 const sp<StreamPlayer> player(mPlayer.promote()); 266 if (player != NULL) { 267 player->queueRefilled(); 367 * Asynchronously notify the player that the queue is ready to be pulled from. 370 // async notification that the ABQ was refilled: the player should pull from the ABQ, an [all...] |
/external/python/cpython2/Doc/library/ |
cd.rst | 54 Open the CD-ROM device. The return value is an opaque player object; methods of 55 the player object are described below. The device is the name of the SCSI 104 The drive is in CD player mode playing an audio CD through its audio jacks. 133 Player Objects 136 Player objects (returned by :func:`.open`) have the following methods: 139 .. method:: CD player.allowremoval() 145 .. method:: CD player.bestreadsize() 152 .. method:: CD player.close() 154 Frees the resources associated with the player object. After calling 158 .. method:: CD player.eject( [all...] |
/external/replicaisland/src/com/replica/replicaisland/ |
GhostComponent.java | 156 GameObject player = null; local 158 player = manager.getPlayer(); 166 if (player != null) { 178 PlayerComponent control = player.findByClass(PlayerComponent.class); 179 if (camera.pointVisible(player.getPosition(), player.width)) {
|
/frameworks/av/cmds/stagefright/ |
audioloop.cpp | 134 AudioPlayer *player = new AudioPlayer(NULL); local 135 player->setSource(decoder); 136 player->start(); 139 decoder.clear(); // must clear |decoder| otherwise delete player will hang. 140 delete player; // there is no player->stop()...
|
/frameworks/av/media/libmediaplayerservice/ |
TestPlayerStub.h | 26 // Wrapper around a test media player that gets dynamically loaded. 38 // player and one to destroy it. 43 // Once the test player has been loaded, its setDataSource 73 // Test player for a file descriptor source is not supported. 118 // Release the player, dlclose the library. 128 MediaPlayerBase *mPlayer; // wrapped player
|
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/ |
AvrcpConstants.java | 50 static final byte RSP_INV_PLAYER = 0x11; /* Invalid player */ 51 static final byte RSP_PLAY_NOT_BROW = 0x12; /* Player not browsable */ 52 static final byte RSP_PLAY_NOT_ADDR = 0x13; /* Player not addressed */ 55 static final byte RSP_ADDR_PLAY_CHGD = 0x16; /* Addressed player changed */ 58 static final byte BTRC_SCOPE_PLAYER_LIST = 0x00; /* Media Player List */ 118 /* player feature bit mask constants */
|
BrowsedMediaPlayer.java | 38 * Provides functionality required for Browsed Media Player like browsing Virtual File System, get 54 /* package and service name of target Media Player which is set for browsing */ 62 /* Object used to connect to MediaBrowseService of Media Player */ 77 /* store mapping between uid(Avrcp) and mediaId(Media Player). */ 103 /* perform init tasks and set player as browsed player on successful connection */ 142 if (DEBUG) Log.d(TAG, "sending setbrowsed player rsp"); 158 Log.e(TAG, "set browsed player rsp. Could not get root folder items"); 164 /* callback from media player in response to getitemAttr request */ 204 Log.e(TAG, "Could not get attributes from media player id: " + id) [all...] |
Avrcp.java | 71 * notifications, address player selection and browse feature implementation. 180 /* Addressed player handling */ 183 /* List of Media player instances, useful for retrieving MediaPlayerList or MediaPlayerInfo */ 332 /* create object to communicate with addressed player */ 342 if (DEBUG) Log.d(TAG, "User already unlocked, initializing player lists"); 343 // initialize browsable player list and build media player list 400 "AudioManager Player: " 878 MediaPlayerInfo player = getAddressedPlayerInfo(); local 2033 MediaPlayerInfo player = null; local [all...] |
/frameworks/base/services/core/java/com/android/server/audio/ |
PlaybackActivityMonitor.java | 141 Log.v(TAG, "banning player " + piid + " uid:" + uid); 144 Log.e(TAG, "error banning player " + piid + " uid:" + uid, e); 235 // player was banned, do not update its state 274 "releasing player piid:" + piid)); 316 pw.print("\n muted player piids:"); 334 * @param piid the piid of the player. 336 * @param binderUid actual uid of client trying to signal a player state/event/attributes. 345 Log.e(TAG, "Forbidden operation from uid " + binderUid + " for player " + piid); 353 * @param iplayerReleased indicates if the change was due to a player being released 390 // they don't need to flush commands when a player was release [all...] |
/frameworks/wilhelm/tests/examples/ |
slesTestDecodeToBuffQueue.cpp | 279 /* Objects this application uses: one audio player */ 280 SLObjectItf player; local 282 /* Interfaces for the audio player */ 319 /* Configuration of the player */ 358 /* Create the audio player */ 359 result = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, &decSource, &decDest, 362 fprintf(stdout, "Player created\n"); 364 /* Realize the player in synchronous mode. */ 365 result = (*player)->Realize(player, SL_BOOLEAN_FALSE) [all...] |
slesTestDecodeAac.cpp | 24 Player created 25 Player realized 461 /* Objects this application uses: one audio player */ 462 SLObjectItf player; local 464 /* Interfaces for the audio player */ 492 /* Configuration of the player */ 532 /* Create the audio player */ 533 res = (*EngineItf)->CreateAudioPlayer(EngineItf, &player, &decSource, &decDest, 541 printf("Player created\n"); 543 /* Realize the player in synchronous mode. * [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/egg/ |
MLand.java | 146 private ArrayList<Player> mPlayers = new ArrayList<Player>(); 245 for (Player p : mPlayers) { 280 final int player = mGameControllers.indexOf(id); local 281 if (player < 0 || player >= mPlayers.size()) return 0; 282 return player; 305 public Player getPlayer(int i) { 309 private int addPlayerInternal(Player p) { 324 private void removePlayerInternal(Player p) [all...] |
/cts/tests/tests/media/src/android/media/cts/ |
AudioTrackSurroundTest.java | 451 // Create player for short[] 491 // Create player for byte[] 527 SamplePlayerBytes player = new SamplePlayerBytes( local 530 player.playAndMeasureRate(); 536 SamplePlayerShorts player = new SamplePlayerShorts( local 539 player.playAndMeasureRate(); 548 SamplePlayerShorts player = new SamplePlayerShorts( local 550 player.playAndMeasureRate(); 556 SamplePlayerShorts player = new SamplePlayerShorts( local 558 player.playAndMeasureRate() 564 SamplePlayerShorts player = new SamplePlayerShorts( local 606 SamplePlayerShorts player = new SamplePlayerShorts( local 615 SamplePlayerBytes player = new SamplePlayerBytes( local 624 SamplePlayerBytes player = new SamplePlayerBytes( local 633 SamplePlayerShorts player = new SamplePlayerShorts(44100, AudioFormat.ENCODING_PCM_16BIT, local 643 SamplePlayerBytes player = new SamplePlayerBytes(44100, local [all...] |
/system/bt/stack/avrc/ |
avrc_pars_ct.cc | 210 /* Handle player */ 211 tAVRC_ITEM_PLAYER* player = &(curr_item->u.player); local 214 BE_STREAM_TO_UINT16(player->player_id, p); 215 BE_STREAM_TO_UINT8(player->major_type, p); 216 BE_STREAM_TO_UINT32(player->sub_type, p); 217 BE_STREAM_TO_UINT8(player->play_status, p); 218 BE_STREAM_TO_ARRAY(p, player->features, AVRC_FEATURE_MASK_SIZE); 222 BE_STREAM_TO_UINT16(player->name.charset_id, p); 223 BE_STREAM_TO_UINT16(player->name.str_len, p) [all...] |
/frameworks/base/media/java/android/media/ |
Ringtone.java | 68 * player and there is nobody else to delegate to. 134 // The audio attributes have to be set before the media player is prepared. 150 * Sets the player to be looping or non-looping. 162 * Sets the volume on this player. 163 * @param volume a raw scalar in range 0.0 to 1.0, where 0.0 mutes this player, and 1.0 190 "Neither local nor remote player available when applying playback properties"); 294 // try opening uri locally before delegating to remote player 313 Log.d(TAG, "Successfully created local player"); 315 Log.d(TAG, "Problem opening; delegating to remote player");
|
PlayerBase.java | 42 * Class to encapsulate a number of common player operations: 55 // parameters of the player that affect AppOps 68 // uniquely identifies the Player Interface throughout the system (P I Id) 111 Log.e(TAG, "Error talking to audio service, player will not be tracked", e); 117 * To be called whenever the audio attributes of the player change 238 Log.e(TAG, "Error talking to audio service, the player will still be tracked", e); 256 * To be called whenever a condition that might affect audibility of this player is updated. 273 // AppsOps alters a player's volume; when the restriction changes, reflect it on the actual 274 // volume used by the player 281 Log.v(TAG, "updateAppOpsPlayAudio: unmuting player, vol=" + mLeftVolum [all...] |
/packages/apps/Messaging/src/com/android/messaging/util/ |
NotificationPlayer.java | 89 final MediaPlayer player = new MediaPlayer(); local 90 player.setAudioStreamType(mCmd.stream); 91 player.setDataSource(Factory.get().getApplicationContext(), mCmd.uri); 92 player.setLooping(mCmd.looping); 93 player.setVolume(mCmd.volume, mCmd.volume); 94 player.prepare(); 101 player.setOnCompletionListener(NotificationPlayer.this); 102 player.start(); 106 mPlayer = player;
|
/external/autotest/client/site_tests/desktopui_ScreenLocker/ |
desktopui_ScreenLocker.py | 31 self.player = input_playback.InputPlayback() 32 self.player.emulate(input_type='keyboard') 33 self.player.find_connected_inputs() 38 self.player.close() 116 self.player.blocking_playback_of_default_file(
|
/prebuilts/go/darwin-x86/doc/codewalk/ |
functions.xml | 18 Pig is a two-player game played with a 6-sided die. Each turn, you may roll or stay. 43 If the turn is over, the <code>player</code> and <code>opponent</code> fields 44 in the resulting <code>score</code> should be swapped, as it is now the other player's 80 <code>score</code> until one player reaches 100 points. Each 82 associated with the current player.
|
/prebuilts/go/linux-x86/doc/codewalk/ |
functions.xml | 18 Pig is a two-player game played with a 6-sided die. Each turn, you may roll or stay. 43 If the turn is over, the <code>player</code> and <code>opponent</code> fields 44 in the resulting <code>score</code> should be swapped, as it is now the other player's 80 <code>score</code> until one player reaches 100 points. Each 82 associated with the current player.
|
/cts/tests/tests/mediastress/jni/ |
native-media-jni.cpp | 46 // streaming media player interfaces 56 // video sink for the player 112 we don't want to starve the player */ 122 // AndroidBufferQueueItf callback for an audio player 243 // destroy streaming media player object, and invalidate all associated interfaces 313 // create streaming media player 357 // create media player 368 // realize the player 405 // prepare the player 421 // set the playing state for the streaming media player [all...] |