/frameworks/base/tests/OneMedia/src/com/android/onemedia/playback/ |
D | MediaItem.java | 26 public class MediaItem implements Parcelable { class 29 public MediaItem() { in MediaItem() method in MediaItem 33 private MediaItem(Parcel in) { in MediaItem() method in MediaItem 63 public static final Parcelable.Creator<MediaItem> CREATOR 64 = new Parcelable.Creator<MediaItem>() { 65 public MediaItem createFromParcel(Parcel in) { 66 return new MediaItem(in); 69 public MediaItem[] newArray(int size) { 70 return new MediaItem[size];
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/dialog/ |
D | MediaItem.java | 34 public class MediaItem { class 56 public static MediaItem createDeviceMediaItem(@NonNull MediaDevice device) { in createDeviceMediaItem() 57 return new MediaItem(device, device.getName(), MediaItemType.TYPE_DEVICE); in createDeviceMediaItem() 64 public static MediaItem createPairNewDeviceMediaItem() { in createPairNewDeviceMediaItem() 65 return new MediaItem( in createPairNewDeviceMediaItem() 73 public static MediaItem createGroupDividerMediaItem(@Nullable String title) { in createGroupDividerMediaItem() 74 return new MediaItem(/* device */ null, title, MediaItemType.TYPE_GROUP_DIVIDER); in createGroupDividerMediaItem() 77 private MediaItem( in MediaItem() method in MediaItem
|
D | MediaOutputController.java | 140 private final List<MediaItem> mMediaItemList = new CopyOnWriteArrayList<>(); 379 mMediaItemList.removeIf((MediaItem::isMutingExpectedDevice)); in cancelMuteAwaitConnection() 635 List<MediaItem> updatedMediaItems = buildMediaItems(mMediaItemList, devices); in buildMediaItems() 641 protected List<MediaItem> buildMediaItems(List<MediaItem> oldMediaItems, in buildMediaItems() 673 final Map<Integer, MediaItem> dividerItems = new HashMap<>(); in buildMediaItems() 674 for (MediaItem originalMediaItem : oldMediaItems) { in buildMediaItems() 684 == MediaItem.MediaItemType.TYPE_GROUP_DIVIDER) { in buildMediaItems() 692 List<MediaItem> finalMediaItems = targetMediaDevices.stream() in buildMediaItems() 693 .map(MediaItem::createDeviceMediaItem) in buildMediaItems() 706 private List<MediaItem> categorizeMediaItemsLocked(MediaDevice connectedMediaDevice, in categorizeMediaItemsLocked() [all …]
|
D | MediaOutputAdapter.java | 58 protected List<MediaItem> mMediaItemList = new CopyOnWriteArrayList<>(); 77 case MediaItem.MediaItemType.TYPE_GROUP_DIVIDER: in onCreateViewHolder() 79 case MediaItem.MediaItemType.TYPE_PAIR_NEW_DEVICE: in onCreateViewHolder() 80 case MediaItem.MediaItemType.TYPE_DEVICE: in onCreateViewHolder() 95 MediaItem currentMediaItem = mMediaItemList.get(position); in onBindViewHolder() 97 case MediaItem.MediaItemType.TYPE_GROUP_DIVIDER: in onBindViewHolder() 100 case MediaItem.MediaItemType.TYPE_PAIR_NEW_DEVICE: in onBindViewHolder() 103 case MediaItem.MediaItemType.TYPE_DEVICE: in onBindViewHolder() 119 MediaItem currentMediaItem = mMediaItemList.get(position); in getItemId() 129 return MediaItem.MediaItemType.TYPE_GROUP_DIVIDER; in getItemViewType()
|
D | MediaOutputMetricLogger.java | 80 public void logOutputItemSuccess(String selectedDeviceType, List<MediaItem> deviceItemList) { in logOutputItemSuccess() 194 public void logOutputItemFailure(List<MediaItem> deviceItemList, int reason) { in logOutputItemFailure() 250 private void updateLoggingMediaItemCount(List<MediaItem> deviceItemList) { in updateLoggingMediaItemCount() 254 for (MediaItem mediaItem : deviceItemList) { in updateLoggingMediaItemCount()
|
D | MediaOutputBaseAdapter.java | 92 mHolderView = LayoutInflater.from(mContext).inflate(MediaItem.getMediaLayoutId(viewType), in onCreateViewHolder()
|
/frameworks/base/media/java/android/media/browse/ |
D | MediaBrowser.java | 462 if (item != null && !(item instanceof MediaItem)) { in getItem() 466 cb.onItemLoaded((MediaItem) item); in getItem() 676 List<MediaItem> data = list == null ? null : list.getList(); in onLoadChildren() 754 public static class MediaItem implements Parcelable { class in MediaBrowser 784 public MediaItem(@NonNull MediaDescription description, @Flags int flags) { in MediaItem() method in MediaBrowser.MediaItem 798 private MediaItem(Parcel in) { in MediaItem() method in MediaBrowser.MediaItem 823 public static final @android.annotation.NonNull Parcelable.Creator<MediaItem> CREATOR = 824 new Parcelable.Creator<MediaItem>() { 826 public MediaItem createFromParcel(Parcel in) { 827 return new MediaItem(in); [all …]
|
D | MediaBrowserUtils.java | 86 public static List<MediaBrowser.MediaItem> applyPagingOptions( in applyPagingOptions() 87 List<MediaBrowser.MediaItem> list, final Bundle options) { in applyPagingOptions()
|
D | MediaBrowser.aidl | 18 parcelable MediaBrowser.MediaItem;
|
/frameworks/base/media/java/android/service/media/ |
D | MediaBrowserService.java | 387 @NonNull Result<List<MediaBrowser.MediaItem>> result); in onLoadChildren() 413 @NonNull Result<List<MediaBrowser.MediaItem>> result, @NonNull Bundle options) { in onLoadChildren() 440 public void onLoadItem(String itemId, Result<MediaBrowser.MediaItem> result) { in onLoadItem() 845 Result<List<MediaBrowser.MediaItem>> result = in performLoadChildrenOnHandler() 849 List<MediaBrowser.MediaItem> list, @ResultFlags int flag) { in performLoadChildrenOnHandler() 863 List<MediaBrowser.MediaItem> filteredList = in performLoadChildrenOnHandler() 867 ParceledListSlice<MediaBrowser.MediaItem> pls = null; in performLoadChildrenOnHandler() 917 Result<MediaBrowser.MediaItem> result = in performLoadItemOnHandler() 920 void onResultSent(MediaBrowser.MediaItem item, @ResultFlags int flag) { in performLoadItemOnHandler()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/domain/resume/ |
D | ResumeMediaBrowserTest.kt | 359 val child = MediaBrowser.MediaItem(description, 0) in capture() 370 val child = MediaBrowser.MediaItem(description, MediaBrowser.MediaItem.FLAG_PLAYABLE) in capture()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/dialog/ |
D | MediaOutputAdapterTest.java | 93 private List<MediaItem> mMediaItems = new ArrayList<>(); 116 mMediaItems.add(MediaItem.createDeviceMediaItem(mMediaDevice1)); in setUp() 117 mMediaItems.add(MediaItem.createDeviceMediaItem(mMediaDevice2)); in setUp() 149 mMediaItems.add(MediaItem.createPairNewDeviceMediaItem()); in onBindViewHolder_bindPairNew_verifyView() 150 mMediaItems.add(MediaItem.createPairNewDeviceMediaItem()); in onBindViewHolder_bindPairNew_verifyView() 593 mMediaItems.add(MediaItem.createPairNewDeviceMediaItem()); in onItemClick_clickPairNew_verifyLaunchBluetoothPairing() 728 List<MediaItem> updatedList = new ArrayList<>(); in updateItems_controllerItemsUpdated_notUpdatesInAdapterUntilUpdateItems() 729 updatedList.add(MediaItem.createPairNewDeviceMediaItem()); in updateItems_controllerItemsUpdated_notUpdatesInAdapterUntilUpdateItems()
|
D | MediaOutputControllerTest.java | 470 for (MediaItem item : mMediaOutputController.getMediaItemList()) { in onDeviceListUpdate_verifyDeviceListCallback() 505 for (MediaItem item : mMediaOutputController.getMediaItemList()) { in advanced_onDeviceListUpdateWithConnectedDeviceRemote_verifyItemSize() 529 for (MediaItem item : mMediaOutputController.getMediaItemList()) { in advanced_categorizeMediaItems_withSuggestedDevice_verifyDeviceListSize() 533 if (item.getMediaItemType() == MediaItem.MediaItemType.TYPE_GROUP_DIVIDER) { in advanced_categorizeMediaItems_withSuggestedDevice_verifyDeviceListSize()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/controls/domain/resume/ |
D | ResumeMediaBrowser.java | 106 List<MediaBrowser.MediaItem> children) { 115 MediaBrowser.MediaItem child = children.get(0);
|
/frameworks/base/packages/SystemUI/docs/ |
D | media-controls.md | 81 … connect and find a recent [`MediaItem`](https://developer.android.com/reference/android/media/bro…
|
/frameworks/base/boot/ |
D | preloaded-classes | 5420 android.media.browse.MediaBrowser$MediaItem$1 5421 android.media.browse.MediaBrowser$MediaItem
|
D | boot-image-profile.txt | 27815 Landroid/media/browse/MediaBrowser$MediaItem$1; 27816 Landroid/media/browse/MediaBrowser$MediaItem;
|
/frameworks/base/config/ |
D | preloaded-classes | 5424 android.media.browse.MediaBrowser$MediaItem$1 5425 android.media.browse.MediaBrowser$MediaItem
|
D | boot-image-profile.txt | 37949 Landroid/media/browse/MediaBrowser$MediaItem$1; 37950 Landroid/media/browse/MediaBrowser$MediaItem;
|
/frameworks/base/core/api/ |
D | current.txt | 25929 method public void onItemLoaded(android.media.browse.MediaBrowser.MediaItem); 25932 public static class MediaBrowser.MediaItem implements android.os.Parcelable { 25933 ctor public MediaBrowser.MediaItem(@NonNull android.media.MediaDescription, int); 25941 …ic static final android.os.Parcelable.Creator<android.media.browse.MediaBrowser.MediaItem> CREATOR; 25948 …ldrenLoaded(@NonNull String, @NonNull java.util.List<android.media.browse.MediaBrowser.MediaItem>); 25949 …nNull String, @NonNull java.util.List<android.media.browse.MediaBrowser.MediaItem>, @NonNull andro… 41072 …ice.media.MediaBrowserService.Result<java.util.List<android.media.browse.MediaBrowser.MediaItem>>); 41073 …aBrowserService.Result<java.util.List<android.media.browse.MediaBrowser.MediaItem>>, @NonNull andr… 41074 …ng, android.service.media.MediaBrowserService.Result<android.media.browse.MediaBrowser.MediaItem>);
|
/frameworks/opt/setupwizard/tools/docs/ |
D | android-22.txt | 16162 public static class MediaBrowser.MediaItem implements android.os.Parcelable { 16163 ctor public MediaBrowser.MediaItem(android.media.MediaDescription, int); 16171 …ic static final android.os.Parcelable.Creator<android.media.browse.MediaBrowser.MediaItem> CREATOR; 16178 …id onChildrenLoaded(java.lang.String, java.util.List<android.media.browse.MediaBrowser.MediaItem>); 27021 …ice.media.MediaBrowserService.Result<java.util.List<android.media.browse.MediaBrowser.MediaItem>>);
|
/frameworks/base/tools/aapt2/integration-tests/CommandTests/ |
D | android-33.jar | AndroidManifest.xml
META-INF/
META-INF/MANIFEST.MF
NOTICES/
NOTICES/libcore ... |
/frameworks/base/boot/hiddenapi/ |
D | hiddenapi-max-target-o.txt | 25028 Landroid/media/browse/MediaBrowser$MediaItem;-><init>(Landroid/os/Parcel;)V 25029 Landroid/media/browse/MediaBrowser$MediaItem;->mDescription:Landroid/media/MediaDescription; 25030 Landroid/media/browse/MediaBrowser$MediaItem;->mFlags:I
|