/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/audio_util/ |
D | MediaPlayerList.java | 134 void onActivePlayerChanged(MediaPlayerWrapper player); in onActivePlayerChanged() argument 287 for (MediaPlayerWrapper player : mMediaPlayers.values()) { in cleanup() 288 player.cleanup(); in cleanup() 295 for (BrowsedPlayerWrapper player : mBrowsablePlayers.values()) { in cleanup() 296 player.disconnect(); in cleanup() 397 final MediaPlayerWrapper player = getActivePlayer(); in getCurrentMediaId() local 398 if (player == null) return ""; in getCurrentMediaId() 400 final PlaybackState state = player.getPlaybackState(); in getCurrentMediaId() 401 final List<Metadata> queue = player.getCurrentQueue(); in getCurrentMediaId() 424 final MediaPlayerWrapper player = getActivePlayer(); in getCurrentSongInfo() local [all …]
|
D | BrowsablePlayerConnector.java | 81 BrowsedPlayerWrapper player = in connectToPlayers() local 84 newConnector.mPendingPlayers.add(player); in connectToPlayers() 85 player.connect( in connectToPlayers()
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | NotificationPlayer.java | 89 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/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/avrcpcontroller/ |
D | AvrcpControllerNativeInterfaceTest.java | 87 AvrcpPlayer player = in createFromNativePlayerItem() local 96 assertThat(player.getDevice().getAddress()).isEqualTo(REMOTE_DEVICE_ADDRESS); in createFromNativePlayerItem() 97 assertThat(player.getId()).isEqualTo(playerId); in createFromNativePlayerItem() 98 assertThat(player.supportsFeature(0)).isTrue(); in createFromNativePlayerItem() 99 assertThat(player.getName()).isEqualTo(name); in createFromNativePlayerItem() 100 assertThat(player.getPlayStatus()).isEqualTo(PlaybackStateCompat.STATE_REWINDING); in createFromNativePlayerItem()
|
/packages/modules/Bluetooth/system/packet/tests/avrcp/ |
D | get_folder_items_packet_test.cc | 35 auto player = MediaPlayerItem(0x0001, "com.google.android.music", true); in TEST() local 36 builder->AddMediaPlayer(player); in TEST() 43 auto player = MediaPlayerItem(0x0001, "com.google.android.music", true); in TEST() local 44 builder->AddMediaPlayer(player); in TEST() 180 auto player = MediaPlayerItem(0x0001, "com.google.android.music", true); in TEST() local 181 builder->AddMediaPlayer(player); in TEST() 191 auto player = MediaPlayerItem(0x0001, "com.google.android.music", true); in TEST() local 212 ASSERT_DEATH(builder->AddMediaPlayer(player), in TEST() 222 ASSERT_DEATH(builder->AddMediaPlayer(player), in TEST()
|
/packages/modules/Bluetooth/flags/ |
D | avrcp_controller.aconfig | 17 …Uncache media player items when changing to a new player so updated player contents can be fetched…
|
D | mcp.aconfig | 7 description: "Handle LeAudio play same as in AVRCP in case player is not active"
|
D | avrcp.aconfig | 24 …description: "Broadcast all players instead of BT player, remove MediaBrowser preload, support pac…
|
/packages/modules/AdServices/sdksandbox/tests/manual-test-apps/SdkSandboxCodeProvider/src/com/android/sdksandboxcode_1/ |
D | PlayerViewProvider.java | 62 final Player player = playerState.initializePlayer(); in createPlayerView() local 63 view.setPlayer(player); in createPlayerView() 77 final Player player = state.initializePlayer(); in onHostActivityStarted() local 78 view.setPlayer(player); in onHostActivityStarted() 162 private PlayerListener(Player player, PlayerViewLogger logger) { in PlayerListener() argument 163 mPlayer = player; in PlayerListener()
|
/packages/modules/Bluetooth/system/stack/avrc/ |
D | avrc_pars_ct.cc | 278 tAVRC_ITEM_PLAYER* player = &(curr_item->u.player); in avrc_pars_browse_rsp() local 283 BE_STREAM_TO_UINT16(player->player_id, p); in avrc_pars_browse_rsp() 284 BE_STREAM_TO_UINT8(player->major_type, p); in avrc_pars_browse_rsp() 285 BE_STREAM_TO_UINT32(player->sub_type, p); in avrc_pars_browse_rsp() 286 BE_STREAM_TO_UINT8(player->play_status, p); in avrc_pars_browse_rsp() 287 BE_STREAM_TO_ARRAY(p, player->features, AVRC_FEATURE_MASK_SIZE); in avrc_pars_browse_rsp() 292 BE_STREAM_TO_UINT16(player->name.charset_id, p); in avrc_pars_browse_rsp() 293 BE_STREAM_TO_UINT16(player->name.str_len, p); in avrc_pars_browse_rsp() 294 min_len += player->name.str_len; in avrc_pars_browse_rsp() 296 player->name.p_str = (uint8_t*)osi_calloc( in avrc_pars_browse_rsp() [all …]
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/audio_util/ |
D | BrowsablePlayerConnectorTest.java | 93 ResolveInfo player = new ResolveInfo(); in setUp() local 94 player.serviceInfo = new ServiceInfo(); in setUp() 95 player.serviceInfo.packageName = "com.android.bluetooth.test"; in setUp() 96 player.serviceInfo.name = "TestPlayer"; in setUp() 98 mPlayerList.add(player); in setUp()
|
/packages/apps/Camera2/src/com/android/camera/ui/focus/ |
D | FocusSound.java | 31 public FocusSound(SoundPlayer player, int soundId) { in FocusSound() argument 32 mPlayer = player; in FocusSound()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/avrcpcontroller/ |
D | BrowseTree.java | 170 BrowseNode(AvrcpPlayer player) { in BrowseNode() argument 175 aid.setDevice(player.getDevice()); in BrowseNode() 176 aid.setUid(player.getId()); in BrowseNode() 178 aid.setDisplayableName(player.getName()); in BrowseNode() 179 aid.setTitle(player.getName()); in BrowseNode() 180 aid.setBrowsable(player.supportsFeature(AvrcpPlayer.FEATURE_BROWSING)); in BrowseNode()
|
D | AvrcpPlayer.java | 346 AvrcpPlayer player = in build() local 349 player.updateCurrentTrack(mTrack); in build() 350 return player; in build()
|
D | AvrcpControllerStateMachine.java | 267 AvrcpPlayer player = mAvailablePlayerList.valueAt(i); in dump() local 268 boolean isAddressed = (player.getId() == mAddressedPlayerId); in dump() 269 ProfileService.println(sb, "\t" + (isAddressed ? "(Addressed) " : "") + player); in dump() 952 AvrcpPlayer player = mAvailablePlayerList.valueAt(i); in processMessage() local 953 AvrcpItem track = player.getCurrentTrack(); in processMessage() 960 for (AvrcpPlayer player : playerList) { in processMessage() 961 mAvailablePlayerList.put(player.getId(), player); in processMessage() local
|
/packages/apps/Music/kotlin/src/com/android/music/ |
D | AudioPreview.kt | 98 val player = getLastNonConfigurationInstance() as PreviewPlayer? in onCreate() constant 99 if (player == null) { in onCreate() 115 mPlayer = player in onCreate() 193 val player = mPlayer in onRetainNonConfigurationInstance() constant 195 return player in onRetainNonConfigurationInstance()
|
/packages/apps/Music/src/com/android/music/ |
D | AudioPreview.java | 107 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/TV/src/com/android/tv/dvr/ |
D | DvrTvView.java | 47 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/ |
D | NewVoicemailMediaPlayer.java | 46 public NewVoicemailMediaPlayer(@NonNull MediaPlayer player) { in NewVoicemailMediaPlayer() argument 47 mediaPlayer = Assert.isNotNull(player); in NewVoicemailMediaPlayer()
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/tvinput/ |
D | TunerSessionWorker.java | 557 public void onDrawnToSurface(MpegTsPlayer player, Surface surface) { in onDrawnToSurface() argument 1491 MpegTsPlayer player = in createPlayer() local 1500 player.setCaptionServiceNumber(Cea708Data.EMPTY_SERVICE_NUMBER); in createPlayer() 1501 player.setVideoEventListener(this); in createPlayer() 1502 player.setCaptionServiceNumber( in createPlayer() 1506 return player; in createPlayer() 1777 MpegTsPlayer player = createPlayer(mAudioCapabilities); in preparePlayback() local 1778 if (!player.prepare(mContext, mChannel, mHasSoftwareAudioDecoder, this)) { in preparePlayback() 1780 player.release(); in preparePlayback() 1792 mPlayer = player; in preparePlayback()
|
D | TunerSessionWorkerExoV2.java | 1422 MpegTsPlayerV2 player = new MpegTsPlayerV2(mContext,this); in createPlayer() local 1423 player.setVideoEventListener(this); in createPlayer() 1424 player.setCaptionServiceNumber( in createPlayer() 1428 return player; in createPlayer() 1699 MpegTsPlayerV2 player = createPlayer(mAudioCapabilities); in preparePlayback() local 1706 player.release(); in preparePlayback() 1726 player.prepare(source, mediaSource); in preparePlayback() 1727 mPlayer = player; in preparePlayback()
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/avrcp/ |
D | AvrcpTargetService.java | 502 MediaPlayerWrapper player = mMediaPlayerList.getActivePlayer(); in sendMediaKeyEvent() local 513 + (player == null ? null : player.getPackageName())); in sendMediaKeyEvent()
|
/packages/apps/TV/tuner/SampleNetworkTuner/src/com/android/tv/tuner/sample/network/ |
D | README.md | 9 * A Nexus player with a USB Tuner attached will work.
|
/packages/apps/TV/tuner/SampleDvbTuner/src/com/android/tv/tuner/sample/dvb/ |
D | README.md | 9 * A Nexus player with a USB Tuner attached will work.
|
/packages/modules/Bluetooth/android/app/src/com/android/bluetooth/mcp/ |
D | MediaControlProfile.java | 751 MediaPlayerWrapper player = mMediaPlayerList.getActivePlayer(); in getCurrentPlayerName() local 752 if (player == null) return null; in getCurrentPlayerName() 754 String player_name = player.getPackageName(); in getCurrentPlayerName() 757 ApplicationInfo info = pm.getApplicationInfo(player.getPackageName(), 0); in getCurrentPlayerName()
|