Home
last modified time | relevance | path

Searched refs:NotificationChannelGroup (Results 1 – 25 of 42) sorted by relevance

12

/frameworks/base/core/tests/coretests/src/android/app/
DNotificationChannelGroupTest.java44 NotificationChannelGroup group = new NotificationChannelGroup("my_group_01", "groupName"); in testLongStringFields()
69 NotificationChannelGroup fromParcel = in testLongStringFields()
70 NotificationChannelGroup.CREATOR.createFromParcel(parcel); in testLongStringFields()
71 assertEquals(NotificationChannelGroup.MAX_TEXT_LENGTH, fromParcel.getId().length()); in testLongStringFields()
72 assertEquals(NotificationChannelGroup.MAX_TEXT_LENGTH, fromParcel.getName().length()); in testLongStringFields()
73 assertEquals(NotificationChannelGroup.MAX_TEXT_LENGTH, in testLongStringFields()
79 NotificationChannelGroup group = new NotificationChannelGroup("my_group_01", null); in testNullableFields()
85 NotificationChannelGroup fromParcel = in testNullableFields()
86 NotificationChannelGroup.CREATOR.createFromParcel(parcel); in testNullableFields()
/frameworks/base/core/java/android/app/
DNotificationChannelGroup.java43 public final class NotificationChannelGroup implements Parcelable { class
86 public NotificationChannelGroup(String id, CharSequence name) { in NotificationChannelGroup() method in NotificationChannelGroup
94 protected NotificationChannelGroup(Parcel in) { in NotificationChannelGroup() method in NotificationChannelGroup
111 mChannels = in.readParcelable(NotificationChannelGroup.class.getClassLoader(), in NotificationChannelGroup()
292 public static final @android.annotation.NonNull Creator<NotificationChannelGroup> CREATOR =
293 new Creator<NotificationChannelGroup>() {
295 public NotificationChannelGroup createFromParcel(Parcel in) {
296 return new NotificationChannelGroup(in);
300 public NotificationChannelGroup[] newArray(int size) {
301 return new NotificationChannelGroup[size];
[all …]
DNotificationChannelGroup.aidl19 parcelable NotificationChannelGroup;
DINotificationManager.aidl24 import android.app.NotificationChannelGroup;
102NotificationChannelGroup getNotificationChannelGroupForPackage(String groupId, String pkg, int uid… in getNotificationChannelGroupForPackage()
103NotificationChannelGroup getPopulatedNotificationChannelGroupForPackage(String pkg, int uid, Strin… in getPopulatedNotificationChannelGroupForPackage()
105 …void updateNotificationChannelGroupForPackage(String pkg, int uid, in NotificationChannelGroup gro… in updateNotificationChannelGroupForPackage()
120 NotificationChannelGroup getNotificationChannelGroup(String pkg, String channelGroupId); in getNotificationChannelGroup()
176 …in INotificationListener token, String pkg, in UserHandle user, in NotificationChannelGroup group); in updateNotificationChannelGroupFromPrivilegedListener()
DNotificationManager.java973 public void createNotificationChannelGroup(@NonNull NotificationChannelGroup group) { in createNotificationChannelGroup()
982 public void createNotificationChannelGroups(@NonNull List<NotificationChannelGroup> groups) { in createNotificationChannelGroups()
1113 public NotificationChannelGroup getNotificationChannelGroup(String channelGroupId) { in getNotificationChannelGroup()
1125 public List<NotificationChannelGroup> getNotificationChannelGroups() { in getNotificationChannelGroups()
1128 final ParceledListSlice<NotificationChannelGroup> parceledList = in getNotificationChannelGroups()
/frameworks/base/core/java/android/app/people/
DConversationChannel.java21 import android.app.NotificationChannelGroup;
40 private NotificationChannelGroup mNotificationChannelGroup;
60 NotificationChannelGroup parentNotificationChannelGroup, long lastEventTimestamp, in ConversationChannel()
72 NotificationChannelGroup parentNotificationChannelGroup, long lastEventTimestamp, in ConversationChannel()
90 …in.readParcelable(NotificationChannelGroup.class.getClassLoader(), android.app.NotificationChannel… in ConversationChannel()
127 public NotificationChannelGroup getNotificationChannelGroup() { in getNotificationChannelGroup()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationChannelLogger.java23 import android.app.NotificationChannelGroup;
86 default void logNotificationChannelGroup(@NonNull NotificationChannelGroup channelGroup, in logNotificationChannelGroup()
98 default void logNotificationChannelGroupDeleted(@NonNull NotificationChannelGroup channelGroup, in logNotificationChannelGroupDeleted()
136 @NonNull NotificationChannelGroup channelGroup, int uid, String pkg, in logNotificationChannelGroup()
227 static int getIdHash(@NonNull NotificationChannelGroup group) { in getIdHash()
255 static int getImportance(@NonNull NotificationChannelGroup channelGroup) { in getImportance()
DRankingConfig.java19 import android.app.NotificationChannelGroup;
39 Collection<NotificationChannelGroup> getNotificationChannelGroups(String pkg, in getNotificationChannelGroups()
41 void createNotificationChannelGroup(String pkg, int uid, NotificationChannelGroup group, in createNotificationChannelGroup()
DNotificationChannelLoggerImpl.java20 import android.app.NotificationChannelGroup;
54 NotificationChannelGroup channelGroup, int uid, String pkg, boolean wasBlocked) { in logNotificationChannelGroup()
DNotificationManagerInternal.java21 import android.app.NotificationChannelGroup;
28 NotificationChannelGroup getNotificationChannelGroup(String pkg, int uid, String channelId); in getNotificationChannelGroup()
DPreferencesHelper.java44 import android.app.NotificationChannelGroup;
370 NotificationChannelGroup group = in restorePackage()
371 new NotificationChannelGroup(id, groupName); in restorePackage()
712 for (NotificationChannelGroup group : r.groups.values()) { in writePackageXml()
887 NotificationChannelGroup group = r.groups.get(groupId); in isGroupBlocked()
908 public void createNotificationChannelGroup(String pkg, int uid, NotificationChannelGroup group, in createNotificationChannelGroup()
928 final NotificationChannelGroup oldGroup = r.groups.get(group.getId()); in createNotificationChannelGroup()
940 group.lockFields(NotificationChannelGroup.USER_LOCKED_BLOCKED_STATE); in createNotificationChannelGroup()
1494 public NotificationChannelGroup getNotificationChannelGroupWithChannels(String pkg, in getNotificationChannelGroupWithChannels()
1502 NotificationChannelGroup group = r.groups.get(groupId).clone(); in getNotificationChannelGroupWithChannels()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DChannelEditorDialogController.kt23 import android.app.NotificationChannelGroup in <lambda>()
93 private val channelGroupList = mutableListOf<NotificationChannelGroup>() in <lambda>()
146 groupList: Sequence<NotificationChannelGroup> in <lambda>()
220 private fun fetchNotificationChannelGroups(): List<NotificationChannelGroup> { in <lambda>()
223 .list as? List<NotificationChannelGroup> ?: listOf() in <lambda>()
DPartialConversationInfo.java21 import android.app.NotificationChannelGroup;
195 final NotificationChannelGroup notificationChannelGroup =
DNotificationConversationInfo.java39 import android.app.NotificationChannelGroup;
386 final NotificationChannelGroup notificationChannelGroup = in bindGroup()
DNotificationInfo.java33 import android.app.NotificationChannelGroup;
398 final NotificationChannelGroup notificationChannelGroup =
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DPreferencesHelperTest.java90 import android.app.NotificationChannelGroup;
453 private void compareGroups(NotificationChannelGroup expected, NotificationChannelGroup actual) { in compareGroups()
585 NotificationChannelGroup ncg = new NotificationChannelGroup("1", "bye"); in testChannelXml()
588 NotificationChannelGroup ncg2 = new NotificationChannelGroup("2", "hello"); in testChannelXml()
630 List<NotificationChannelGroup> actualGroups = mXmlHelper.getNotificationChannelGroups( in testChannelXml()
633 for (NotificationChannelGroup actual : actualGroups) { in testChannelXml()
644 for (NotificationChannelGroup actual : actualGroups) { in testChannelXml()
655 NotificationChannelGroup ncg = new NotificationChannelGroup("1", "bye"); in testChannelXmlForBackup()
656 NotificationChannelGroup ncg2 = new NotificationChannelGroup("2", "hello"); in testChannelXmlForBackup()
714 List<NotificationChannelGroup> actualGroups = mXmlHelper.getNotificationChannelGroups( in testChannelXmlForBackup()
[all …]
DNotificationChannelLoggerFake.java21 import android.app.NotificationChannelGroup;
82 NotificationChannelGroup channelGroup, int uid, String pkg, boolean wasBlocked) { in logNotificationChannelGroup()
DNotificationListenersTest.java57 import android.app.NotificationChannelGroup;
667 final NotificationChannelGroup updated = new NotificationChannelGroup("id", "name"); in testUpdateGroup_notifyTwoListeners()
675 NotificationChannelGroup existing = new NotificationChannelGroup("id", "name"); in testUpdateGroup_notifyTwoListeners()
934 final NotificationChannelGroup toParcel) in getParcelingListener()
/frameworks/base/core/java/android/service/notification/
DINotificationListener.aidl21 import android.app.NotificationChannelGroup;
47 …ChannelGroupModification(String pkgName, in UserHandle user, in NotificationChannelGroup group, in… in onNotificationChannelGroupModification()
DNotificationListenerService.java31 import android.app.NotificationChannelGroup;
656 NotificationChannelGroup group, @ChannelOrGroupModificationTypes int modificationType) { in onNotificationChannelGroupModified()
944 public final List<NotificationChannelGroup> getNotificationChannelGroups(@NonNull String pkg, in getNotificationChannelGroups()
1639 NotificationChannelGroup group, in onNotificationChannelGroupModification()
2470 NotificationChannelGroup group = (NotificationChannelGroup) args.arg3; in handleMessage()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
DChannelEditorDialogControllerTest.kt21 import android.app.NotificationChannelGroup
58 private lateinit var group: NotificationChannelGroup
80 group = NotificationChannelGroup(TEST_GROUP_ID, TEST_GROUP_NAME) in setup()
114 val group2 = NotificationChannelGroup("two", "group two") in testPrepareDialogForApp_AddsAllChannelsAllGroups()
DNotificationInfoTest.java47 import android.app.NotificationChannelGroup;
300 final NotificationChannelGroup notificationChannelGroup = in testBindNotification_SetsGroupNameIfNonNull()
301 new NotificationChannelGroup("test_group_id", "Test Group Name"); in testBindNotification_SetsGroupNameIfNonNull()
/frameworks/base/services/core/java/com/android/server/wm/
DAlertWindowNotification.java29 import android.app.NotificationChannelGroup;
50 private static NotificationChannelGroup sChannelGroup;
148 sChannelGroup = new NotificationChannelGroup(CHANNEL_PREFIX, in createNotificationChannel()
/frameworks/base/core/proto/android/app/
Dnotification_channel_group.proto26 * An android.app.NotificationChannelGroup object.
Dnotification_channel.proto54 // Provided by the app but will match a NotificationChannelGroup id.

12