Home
last modified time | relevance | path

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

12

/aosp14/frameworks/base/core/tests/coretests/src/android/app/
H A DNotificationChannelGroupTest.java43 NotificationChannelGroup group = new NotificationChannelGroup("my_group_01", "groupName"); in testLongStringFields()
68 NotificationChannelGroup fromParcel = in testLongStringFields()
69 NotificationChannelGroup.CREATOR.createFromParcel(parcel); in testLongStringFields()
70 assertEquals(NotificationChannelGroup.MAX_TEXT_LENGTH, fromParcel.getId().length()); in testLongStringFields()
71 assertEquals(NotificationChannelGroup.MAX_TEXT_LENGTH, fromParcel.getName().length()); in testLongStringFields()
72 assertEquals(NotificationChannelGroup.MAX_TEXT_LENGTH, in testLongStringFields()
78 NotificationChannelGroup group = new NotificationChannelGroup("my_group_01", null); in testNullableFields()
84 NotificationChannelGroup fromParcel = in testNullableFields()
85 NotificationChannelGroup.CREATOR.createFromParcel(parcel); in testNullableFields()
/aosp14/frameworks/base/core/java/android/app/
H A 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
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];
314 NotificationChannelGroup that = (NotificationChannelGroup) o; in equals()
330 public NotificationChannelGroup clone() { in clone()
[all …]
H A DINotificationManager.aidl24 import android.app.NotificationChannelGroup;
99NotificationChannelGroup getNotificationChannelGroupForPackage(String groupId, String pkg, int uid… in getNotificationChannelGroupForPackage()
100NotificationChannelGroup getPopulatedNotificationChannelGroupForPackage(String pkg, int uid, Strin… in getPopulatedNotificationChannelGroupForPackage()
101 …void updateNotificationChannelGroupForPackage(String pkg, int uid, in NotificationChannelGroup gro… in updateNotificationChannelGroupForPackage()
116 NotificationChannelGroup getNotificationChannelGroup(String pkg, String channelGroupId); in getNotificationChannelGroup()
168 …in INotificationListener token, String pkg, in UserHandle user, in NotificationChannelGroup group); in updateNotificationChannelGroupFromPrivilegedListener()
H A DNotificationChannelGroup.aidl19 parcelable NotificationChannelGroup;
H A DNotificationManager.java910 public void createNotificationChannelGroup(@NonNull NotificationChannelGroup group) { in createNotificationChannelGroup()
919 public void createNotificationChannelGroups(@NonNull List<NotificationChannelGroup> groups) { in createNotificationChannelGroups()
1050 public NotificationChannelGroup getNotificationChannelGroup(String channelGroupId) { in getNotificationChannelGroup()
1062 public List<NotificationChannelGroup> getNotificationChannelGroups() { in getNotificationChannelGroups()
1065 final ParceledListSlice<NotificationChannelGroup> parceledList = in getNotificationChannelGroups()
/aosp14/frameworks/base/core/java/android/app/people/
H A 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()
/aosp14/frameworks/base/services/core/java/com/android/server/notification/
H A 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()
H A 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()
43 ParceledListSlice<NotificationChannelGroup> getNotificationChannelGroups(String pkg, in getNotificationChannelGroups()
H A DNotificationChannelLoggerImpl.java20 import android.app.NotificationChannelGroup;
54 NotificationChannelGroup channelGroup, int uid, String pkg, boolean wasBlocked) { in logNotificationChannelGroup()
H A DNotificationManagerInternal.java21 import android.app.NotificationChannelGroup;
27 NotificationChannelGroup getNotificationChannelGroup(String pkg, int uid, String channelId); in getNotificationChannelGroup()
H A DPreferencesHelper.java45 import android.app.NotificationChannelGroup;
345 NotificationChannelGroup group = in restorePackage()
346 new NotificationChannelGroup(id, groupName); in restorePackage()
639 for (NotificationChannelGroup group : r.groups.values()) { in writeXml()
827 NotificationChannelGroup group = r.groups.get(groupId); in isGroupBlocked()
1472 Map<String, NotificationChannelGroup> groups = new ArrayMap<>(); in getNotificationChannelGroups()
1478 NotificationChannelGroup nonGrouped = new NotificationChannelGroup(null, null); in getNotificationChannelGroups()
1503 for (NotificationChannelGroup group : r.groups.values()) { in getNotificationChannelGroups()
1548 List<NotificationChannelGroup> groups = new ArrayList<>(); in getNotificationChannelGroups()
2064 for (NotificationChannelGroup group : r.groups.values()) { in dumpPackagePreferencesLocked()
[all …]
/aosp14/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
H A DPreferencesHelperTest.java526 NotificationChannelGroup ncg = new NotificationChannelGroup("1", "bye"); in testChannelXml()
529 NotificationChannelGroup ncg2 = new NotificationChannelGroup("2", "hello"); in testChannelXml()
596 NotificationChannelGroup ncg = new NotificationChannelGroup("1", "bye"); in testChannelXmlForBackup()
597 NotificationChannelGroup ncg2 = new NotificationChannelGroup("2", "hello"); in testChannelXmlForBackup()
1072 NotificationChannelGroup ncg = new NotificationChannelGroup("1", "bye"); in testChannelXmlForNonBackup_postMigration()
1073 NotificationChannelGroup ncg2 = new NotificationChannelGroup("2", "hello"); in testChannelXmlForNonBackup_postMigration()
1158 NotificationChannelGroup ncg = new NotificationChannelGroup("1", "bye"); in testChannelXmlForBackup_postMigration()
1246 NotificationChannelGroup ncg = new NotificationChannelGroup("1", "bye"); in testChannelXmlForBackup_postMigration_noExternal()
1594 NotificationChannelGroup ncg = new NotificationChannelGroup("1", "bye"); in testChannelXml_backup()
4440 NotificationChannelGroup group = new NotificationChannelGroup( in testTooManyGroups()
[all …]
H A DNotificationChannelLoggerFake.java21 import android.app.NotificationChannelGroup;
82 NotificationChannelGroup channelGroup, int uid, String pkg, boolean wasBlocked) { in logNotificationChannelGroup()
H A DNotificationListenersTest.java53 import android.app.NotificationChannelGroup;
613 final NotificationChannelGroup updated = new NotificationChannelGroup("id", "name"); in testUpdateGroup_notifyTwoListeners()
621 NotificationChannelGroup existing = new NotificationChannelGroup("id", "name"); in testUpdateGroup_notifyTwoListeners()
683 final NotificationChannelGroup toParcel) in getParcelingListener()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
H A DChannelEditorDialogController.kt23 import android.app.NotificationChannelGroup
93 private val channelGroupList = mutableListOf<NotificationChannelGroup>()
156 groupList: Sequence<NotificationChannelGroup>
232 private fun fetchNotificationChannelGroups(): List<NotificationChannelGroup> {
235 .list as? List<NotificationChannelGroup> ?: listOf()
H A DPartialConversationInfo.java21 import android.app.NotificationChannelGroup;
200 final NotificationChannelGroup notificationChannelGroup =
H A DNotificationConversationInfo.java38 import android.app.NotificationChannelGroup;
387 final NotificationChannelGroup notificationChannelGroup = in bindGroup()
H A DNotificationInfo.java32 import android.app.NotificationChannelGroup;
418 final NotificationChannelGroup notificationChannelGroup =
/aosp14/frameworks/base/core/java/android/service/notification/
H A DINotificationListener.aidl21 import android.app.NotificationChannelGroup;
47 …ChannelGroupModification(String pkgName, in UserHandle user, in NotificationChannelGroup group, in… in onNotificationChannelGroupModification()
H A DNotificationListenerService.java30 import android.app.NotificationChannelGroup;
639 NotificationChannelGroup group, @ChannelOrGroupModificationTypes int modificationType) { in onNotificationChannelGroupModified()
928 public final List<NotificationChannelGroup> getNotificationChannelGroups(@NonNull String pkg, in getNotificationChannelGroups()
1618 NotificationChannelGroup group, in onNotificationChannelGroupModification()
2438 NotificationChannelGroup group = (NotificationChannelGroup) args.arg3; in handleMessage()
/aosp14/frameworks/base/services/core/java/com/android/server/wm/
H A DAlertWindowNotification.java29 import android.app.NotificationChannelGroup;
50 private static NotificationChannelGroup sChannelGroup;
148 sChannelGroup = new NotificationChannelGroup(CHANNEL_PREFIX, in createNotificationChannel()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
H A DChannelEditorDialogControllerTest.kt21 import android.app.NotificationChannelGroup
58 private lateinit var group: NotificationChannelGroup
80 group = NotificationChannelGroup(TEST_GROUP_ID, TEST_GROUP_NAME)
H A DNotificationConversationInfoTest.java50 import android.app.NotificationChannelGroup;
313 NotificationChannelGroup group = new NotificationChannelGroup("id", "name"); in testBindNotification_SetsTextGroupName()
/aosp14/frameworks/base/core/proto/android/app/
H A Dnotification_channel_group.proto26 * An android.app.NotificationChannelGroup object.
H A Dnotification_channel.proto54 // Provided by the app but will match a NotificationChannelGroup id.

12