Home
last modified time | relevance | path

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

12

/packages/apps/Bluetooth/src/com/android/bluetooth/avrcp/
DMediaPlayerList.java195 for (MediaPlayerWrapper player : mMediaPlayers.values()) { in cleanup()
196 player.cleanup(); in cleanup()
203 for (BrowsedPlayerWrapper player : mBrowsablePlayers.values()) { in cleanup()
204 player.disconnect(); in cleanup()
247 final MediaPlayerWrapper player = getActivePlayer(); in getCurrentMediaId() local
248 if (player == null) return ""; in getCurrentMediaId()
250 final PlaybackState state = player.getPlaybackState(); in getCurrentMediaId()
251 final List<Metadata> queue = player.getCurrentQueue(); in getCurrentMediaId()
268 final MediaPlayerWrapper player = getActivePlayer(); in getCurrentSongInfo() local
269 if (player == null) return Util.empty_data(); in getCurrentSongInfo()
[all …]
DBrowsablePlayerConnector.java75 BrowsedPlayerWrapper player = BrowsedPlayerWrapper.wrap( in connectToPlayers() local
79 newWrapper.mPendingPlayers.add(player); in connectToPlayers()
80 player.connect((int status, BrowsedPlayerWrapper wrapper) -> { in connectToPlayers()
/packages/apps/Messaging/src/com/android/messaging/util/
DNotificationPlayer.java89 final MediaPlayer player = new MediaPlayer(); in run() local
90 player.setAudioStreamType(mCmd.stream); in run()
91 player.setDataSource(Factory.get().getApplicationContext(), mCmd.uri); in run()
92 player.setLooping(mCmd.looping); in run()
93 player.setVolume(mCmd.volume, mCmd.volume); in run()
94 player.prepare(); in run()
101 player.setOnCompletionListener(NotificationPlayer.this); in run()
102 player.start(); in run()
106 mPlayer = player; in run()
/packages/apps/Bluetooth/src/com/android/bluetooth/avrcpcontroller/
DBrowseTree.java138 BrowseNode(AvrcpPlayer player) { in BrowseNode() argument
143 String playerKey = PLAYER_PREFIX + player.getId(); in BrowseNode()
144 mBluetoothId = player.getId(); in BrowseNode()
147 mdb.setTitle(player.getName()); in BrowseNode()
148 int mediaItemFlags = player.supportsFeature(AvrcpPlayer.FEATURE_BROWSING) in BrowseNode()
DAvrcpControllerStateMachine.java511 for (AvrcpPlayer player : playerList) { in processMessage()
512 mAvailablePlayerList.put(player.getId(), player); in processMessage() local
DAvrcpControllerService.java540 AvrcpPlayer player = new AvrcpPlayer(id, name, transportFlags, playStatus, playerType); in createFromNativePlayerItem() local
541 return player; in createFromNativePlayerItem()
/packages/apps/Music/src/com/android/music/
DAudioPreview.java107 PreviewPlayer player = (PreviewPlayer) getLastNonConfigurationInstance(); in onCreate() local
108 if (player == null) { in onCreate()
124 mPlayer = player; in onCreate()
216 PreviewPlayer player = mPlayer; in onRetainNonConfigurationInstance() local
218 return player; in onRetainNonConfigurationInstance()
/packages/apps/Camera2/src/com/android/camera/ui/focus/
DFocusSound.java31 public FocusSound(SoundPlayer player, int soundId) { in FocusSound() argument
32 mPlayer = player; in FocusSound()
/packages/apps/TV/tuner/src/com/android/tv/tuner/tvinput/
DTunerSessionWorkerExoV2.java532 public void onDrawnToSurface(MpegTsPlayer player, Surface surface) { in onDrawnToSurface() argument
1443 MpegTsPlayer player = in createPlayer() local
1455 player.setCaptionServiceNumber(Cea708Data.EMPTY_SERVICE_NUMBER); in createPlayer()
1456 player.setVideoEventListener(this); in createPlayer()
1457 player.setCaptionServiceNumber( in createPlayer()
1461 return player; in createPlayer()
1733 MpegTsPlayer player = createPlayer(mAudioCapabilities); in preparePlayback() local
1734 if (!player.prepare(mContext, mChannel, mHasSoftwareAudioDecoder, this)) { in preparePlayback()
1736 player.release(); in preparePlayback()
1748 mPlayer = player; in preparePlayback()
DTunerSessionWorker.java526 public void onDrawnToSurface(MpegTsPlayer player, Surface surface) { in onDrawnToSurface() argument
1433 MpegTsPlayer player = in createPlayer() local
1443 player.setCaptionServiceNumber(Cea708Data.EMPTY_SERVICE_NUMBER); in createPlayer()
1444 player.setVideoEventListener(this); in createPlayer()
1445 player.setCaptionServiceNumber( in createPlayer()
1449 return player; in createPlayer()
1719 MpegTsPlayer player = createPlayer(mAudioCapabilities); in preparePlayback() local
1720 if (!player.prepare(mContext, mChannel, mHasSoftwareAudioDecoder, this)) { in preparePlayback()
1722 player.release(); in preparePlayback()
1734 mPlayer = player; in preparePlayback()
/packages/apps/TV/src/com/android/tv/dvr/
DDvrTvView.java47 public DvrTvView(Context context, AppLayerTvView tvView, DvrPlayer player) { in DvrTvView() argument
49 mDvrPlayer = player; in DvrTvView()
/packages/apps/Dialer/java/com/android/dialer/voicemail/listui/
DNewVoicemailMediaPlayer.java46 public NewVoicemailMediaPlayer(@NonNull MediaPlayer player) { in NewVoicemailMediaPlayer() argument
47 mediaPlayer = Assert.isNotNull(player); in NewVoicemailMediaPlayer()
/packages/apps/Bluetooth/jni/
Dcom_android_bluetooth_avrcp_target.cpp584 jobject player = sCallbackEnv->CallObjectMethod(player_list, method_get, i); in getMediaPlayerList() local
587 temp.id = sCallbackEnv->GetIntField(player, field_playerId); in getMediaPlayerList()
589 jstring jstr = (jstring)sCallbackEnv->GetObjectField(player, field_name); in getMediaPlayerList()
598 sCallbackEnv->GetBooleanField(player, field_browsable) == JNI_TRUE in getMediaPlayerList()
603 sCallbackEnv->DeleteLocalRef(player); in getMediaPlayerList()
Dcom_android_bluetooth_avrcp_controller.cpp554 jint id = (jint)item->player.player_id; in btavrcp_get_folder_items_callback()
555 jint playerType = (jint)item->player.major_type; in btavrcp_get_folder_items_callback()
556 jint playStatus = (jint)item->player.play_status; in btavrcp_get_folder_items_callback()
568 (jbyte*)item->player.features); in btavrcp_get_folder_items_callback()
571 sCallbackEnv->NewStringUTF((const char*)item->player.name)); in btavrcp_get_folder_items_callback()
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastAlertAudio.java475 MediaPlayer player, int res) throws java.io.IOException { in setDataSourceFromResource() argument
478 player.setDataSource(afd.getFileDescriptor(), afd.getStartOffset(), in setDataSourceFromResource()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DMoviePlayer.java156 public void onPrepared(MediaPlayer player) { in MoviePlayer()
351 public boolean onError(MediaPlayer player, int arg1, int arg2) { in onError() argument
/packages/apps/TV/tuner/SampleNetworkTuner/src/com/android/tv/tuner/sample/network/
DREADME.md9 * A Nexus player with a USB Tuner attached will work.
/packages/apps/TV/tuner/SampleDvbTuner/src/com/android/tv/tuner/sample/dvb/
DREADME.md9 * A Nexus player with a USB Tuner attached will work.
/packages/apps/Messaging/src/com/android/messaging/datamodel/
DBugleNotifications.java1109 final NotificationPlayer player = new NotificationPlayer(LogUtil.BUGLE_TAG); in playObservableConversationNotificationSound() local
1110 player.play(ringtoneUri, false, in playObservableConversationNotificationSound()
1118 player.stop(); in playObservableConversationNotificationSound()
/packages/apps/Gallery/src/com/android/camera/
DMovieViewControl.java230 public boolean onError(MediaPlayer player, int arg1, int arg2) { in onError() argument
/packages/apps/TV/tuner/tests/unittests/javatests/com/android/tv/tuner/
DZappingTimeTest.java347 public void onDrawnToSurface(MpegTsPlayer player, Surface surface) { in onDrawnToSurface() argument
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer/
DMpegTsPlayer.java79 void onDrawnToSurface(MpegTsPlayer player, Surface surface); in onDrawnToSurface() argument
/packages/inputmethods/LatinIME/dictionaries/
Dsl_wordlist.combined.gz1dictionary=main:sl,locale=sl,description=Slovenščina,date=1393228152, ...
Den_US_wordlist.combined.gz
Den_GB_wordlist.combined.gz

12