Home
last modified time | relevance | path

Searched refs:MediaStyle (Results 1 – 25 of 26) sorted by relevance

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/logging/
DNotificationMemoryMeter.kt9 import android.app.Notification.MediaStyle in <lambda>()
177 MediaStyle::class.java.name -> NotificationEnums.STYLE_MEDIA in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/controls/domain/pipeline/
DMediaDataProcessorTest.kt22 import android.app.Notification.MediaStyle
264 it.setStyle(MediaStyle().apply { setMediaSession(session.sessionToken) }) in setup()
274 MediaStyle().apply { in setup()
496 it.setStyle(MediaStyle().apply { setMediaSession(session.sessionToken) }) in testOnNotificationAdded_hasSubstituteName_isUsed()
529 MediaStyle().apply { setRemotePlaybackInfo("Remote device", 0, null) } in testLoadMediaDataInBg_invalidTokenNoCrash()
551 MediaStyle().apply { in testLoadMediaDataInBg_invalidMediaRemoteIntentNoCrash()
655 it.setStyle(MediaStyle().apply { setMediaSession(session.sessionToken) }) in testOnNotificationAdded_emptyMetadata_usesNotificationTitle()
1218 it.setStyle(MediaStyle().apply { setMediaSession(session.sessionToken) }) in testBadArtwork_doesNotUse()
1604 MediaStyle().apply { in testTooManyCompactActions_isTruncated()
1641 it.setStyle(MediaStyle().apply { setMediaSession(session.sessionToken) }) in testTooManyNotificationActions_isTruncated()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/coordinator/
DMediaCoordinatorTest.java31 import android.app.Notification.MediaStyle;
84 new MediaStyle().setMediaSession(mMediaSession.getSessionToken())); in setUp()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DBadgeExtractorTest.java122 Notification.MediaStyle style = new Notification.MediaStyle(); in getNotificationRecordWithMedia()
DNotificationComparatorTest.java254 .setStyle(new Notification.MediaStyle()) in setUp()
DNotificationManagerServiceTest.java5452 Notification.MediaStyle style = new Notification.MediaStyle(); in testMediaStyle_enforceNoClearFlagEnabled()
5480 Notification.MediaStyle style = new Notification.MediaStyle(); in testMediaStyle_enforceNoClearFlagDisabled()
5510 Notification.MediaStyle style = new Notification.MediaStyle(); in testMediaStyleRemote_hasPermission()
5529 Notification.MediaStyle style = new Notification.MediaStyle(); in testMediaStyleRemote_noPermission()
12296 nb.setStyle(new Notification.MediaStyle());
12305 nb.setStyle(new Notification.MediaStyle());
12317 nb.setStyle(new Notification.MediaStyle().setMediaSession(mock(MediaSession.Token.class)));
12355 nb.setStyle(new Notification.MediaStyle());
12372 nb.setStyle(new Notification.MediaStyle().setMediaSession(mock(MediaSession.Token.class)));
13393 .setStyle(new Notification.MediaStyle()
[all …]
/frameworks/base/core/tests/coretests/src/android/app/
DNotificationTest.java819 Notification.MediaStyle mediaStyle = new Notification.MediaStyle(); in testIsMediaNotification_nullSession_returnsFalse()
831 Notification.MediaStyle mediaStyle = new Notification.MediaStyle(); in testIsMediaNotification_invalidSession_returnsFalse()
925 .setStyle(new Notification.MediaStyle()) in testIsMediaNotification_invalidExtra_noCrash()
963 Notification.Style style = new Notification.MediaStyle(); in testRestoreFromExtras_Media_invalidExtra_noCrash()
1013 .setStyle(new Notification.MediaStyle()) in testWearableExtender_invalidExtra_noCrash()
1027 .setStyle(new Notification.MediaStyle()) in testCarExtender_invalidExtra_noCrash()
1040 .setStyle(new Notification.MediaStyle()) in testTvExtender_invalidExtra_noCrash()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/bubbles/
DBubbleTest.java112 doReturn(Notification.MediaStyle.class).when(mNotif).getNotificationStyle(); in testGetUpdateMessage_media()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationShellCmd.java488 Notification.MediaStyle mediaStyle = null; in doNotify()
589 mediaStyle = new Notification.MediaStyle(); in doNotify()
DNotificationManagerService.java7715 if (notification.isStyle(Notification.MediaStyle.class)
/frameworks/base/tests/OneMedia/src/com/android/onemedia/
DNotificationHelper.java226 .setStyle(new Notification.MediaStyle() in updateNotification()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/
DNotificationEntryTest.java153 .setStyle(new Notification.MediaStyle() in testIsExemptFromDndVisualSuppression_media()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
DNotificationContentInflaterTest.java276 mBuilder.setStyle(new Notification.MediaStyle()); in doesntReapplyDisallowedRemoteView()
DNotificationRowContentBinderImplTest.kt278 mBuilder.setStyle(Notification.MediaStyle()) in <lambda>()
/frameworks/base/core/java/android/app/
DNotification.java766 BigTextStyle.class, BigPictureStyle.class, InboxStyle.class, MediaStyle.class,
7468 if (mStyle == null || !MediaStyle.class.equals(mStyle.getClass())) { in textColorsNeedInversion()
7697 boolean isMediaStyle = (MediaStyle.class.equals(style) in isMediaNotification()
10084 public static class MediaStyle extends Style { class in Notification.Builder
10103 public MediaStyle() { in MediaStyle() method in Notification.Builder.MediaStyle
10110 public MediaStyle(Builder builder) { in MediaStyle() method in Notification.Builder.MediaStyle
10120 public MediaStyle setShowActionsInCompactView(int...actions) { in setShowActionsInCompactView()
10129 public MediaStyle setMediaSession(MediaSession.Token token) { in setMediaSession()
10153 public MediaStyle setRemotePlaybackInfo(@NonNull CharSequence deviceName, in setRemotePlaybackInfo()
11069 public static class DecoratedMediaCustomViewStyle extends MediaStyle {
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/bubbles/
DBubble.java1096 } else if (Notification.MediaStyle.class.equals(style)) { in extractFlyoutMessage()
/frameworks/proto_logging/stats/enums/app/wearservices/
Dwearservices_enums.proto282 // The notification is MediaStyle.
/frameworks/base/config/
Ddirty-image-objects221 Landroid/app/Notification$MediaStyle; 11
Dboot-image-profile.txt2231 HSPLandroid/app/Notification$MediaStyle;-><init>()V
2232 HSPLandroid/app/Notification$MediaStyle;->addExtras(Landroid/os/Bundle;)V
2233 HSPLandroid/app/Notification$MediaStyle;->buildStyled(Landroid/app/Notification;)Landroid/app/Notif…
2234 HSPLandroid/app/Notification$MediaStyle;->restoreFromExtras(Landroid/os/Bundle;)V
33139 Landroid/app/Notification$MediaStyle;
Dpreloaded-classes634 android.app.Notification$MediaStyle
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt7758 Landroid/app/Notification$MediaStyle;->addExtras(Landroid/os/Bundle;)V
7759 Landroid/app/Notification$MediaStyle;->areNotificationsVisiblyDifferent(Landroid/app/Notification$S…
7760 Landroid/app/Notification$MediaStyle;->generateMediaActionButton(Landroid/app/Notification$Action;I…
7761 Landroid/app/Notification$MediaStyle;->getActionColor()I
7762 Landroid/app/Notification$MediaStyle;->handleImage(Landroid/widget/RemoteViews;)V
7763 Landroid/app/Notification$MediaStyle;->hasProgress()Z
7764 Landroid/app/Notification$MediaStyle;->mActionsToShowInCompact:[I
7765 Landroid/app/Notification$MediaStyle;->makeBigContentView()Landroid/widget/RemoteViews;
7766 Landroid/app/Notification$MediaStyle;->makeContentView(Z)Landroid/widget/RemoteViews;
7767 Landroid/app/Notification$MediaStyle;->makeHeadsUpContentView(Z)Landroid/widget/RemoteViews;
[all …]
/frameworks/base/boot/
Dboot-image-profile.txt2231 HSPLandroid/app/Notification$MediaStyle;-><init>()V
2232 HSPLandroid/app/Notification$MediaStyle;->addExtras(Landroid/os/Bundle;)V
2233 HSPLandroid/app/Notification$MediaStyle;->buildStyled(Landroid/app/Notification;)Landroid/app/Notif…
2234 HSPLandroid/app/Notification$MediaStyle;->restoreFromExtras(Landroid/os/Bundle;)V
23009 Landroid/app/Notification$MediaStyle;
Dpreloaded-classes634 android.app.Notification$MediaStyle
/frameworks/base/core/api/
Dcurrent.txt6789 …atic class Notification.DecoratedMediaCustomViewStyle extends android.app.Notification.MediaStyle {
6805 public static class Notification.MediaStyle extends android.app.Notification.Style {
6806 ctor public Notification.MediaStyle();
6807 ctor @Deprecated public Notification.MediaStyle(android.app.Notification.Builder);
6808 …method public android.app.Notification.MediaStyle setMediaSession(android.media.session.MediaSessi…
6809 …fest.permission.MEDIA_CONTENT_CONTROL) public android.app.Notification.MediaStyle setRemotePlaybac…
6810 method public android.app.Notification.MediaStyle setShowActionsInCompactView(int...);
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt4775 public static class Notification.MediaStyle extends android.app.Notification.Style {
4776 ctor public Notification.MediaStyle();
4777 ctor public Notification.MediaStyle(android.app.Notification.Builder);
4778 …method public android.app.Notification.MediaStyle setMediaSession(android.media.session.MediaSessi…
4779 method public android.app.Notification.MediaStyle setShowActionsInCompactView(int...);

12