/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | PreferencesHelperTest.java | 547 mXmlHelper.getNotificationChannel(package10, uid10, channel10.getId(), false)); in testWriteXml_onlyBackupsTargetUser() 548 assertNull(mXmlHelper.getNotificationChannel(package0, uid0, channel0.getId(), false)); in testWriteXml_onlyBackupsTargetUser() 579 mXmlHelper.getNotificationChannel(package0, expectedUid, channel0.getId(), false)); in testReadXml_onlyRestoresTargetUser() 580 assertNull(mXmlHelper.getNotificationChannel(package0, uid0, channel0.getId(), false)); in testReadXml_onlyRestoresTargetUser() 626 mXmlHelper.getNotificationChannel(PKG_N_MR1, UID_N_MR1, channel1.getId(), false)); in testChannelXml() 628 mXmlHelper.getNotificationChannel(PKG_N_MR1, UID_N_MR1, channel2.getId(), false)); in testChannelXml() 708 mXmlHelper.getNotificationChannel(PKG_N_MR1, UID_N_MR1, channel1.getId(), false)); in testChannelXmlForBackup() 710 mXmlHelper.getNotificationChannel(PKG_N_MR1, UID_N_MR1, channel2.getId(), false)); in testChannelXmlForBackup() 712 mXmlHelper.getNotificationChannel(PKG_N_MR1, UID_N_MR1, channel3.getId(), false)); in testChannelXmlForBackup() 786 mXmlHelper.getNotificationChannel(PKG_N_MR1, UID_N_MR1, idn.getId(), false)); in testReadXml_oldXml_migrates() [all …]
|
D | BadgeExtractorTest.java | 71 when(mConfig.getNotificationChannel(mPkg, mUid, "a", false)).thenReturn(channel); in getNotificationRecord() 89 when(mConfig.getNotificationChannel(mPkg, mUid, "a", false)).thenReturn(channel); in getNotificationRecordWithBubble() 120 when(mConfig.getNotificationChannel(mPkg, mUid, "a", false)).thenReturn(channel); in getNotificationRecordWithMedia()
|
D | VisibilityExtractorTest.java | 72 when(mConfig.getNotificationChannel(mPkg, mUid, "a", false)).thenReturn(channel); in getNotificationRecord()
|
D | BubbleExtractorTest.java | 104 when(mConfig.getNotificationChannel(PKG, UID, CHANNEL_ID, false)).thenReturn(mChannel); in setUp()
|
D | NotificationManagerServiceTest.java | 861 assertNotNull(mBinderService.getNotificationChannel( in initNMS() 863 assertNotNull(mBinderService.getNotificationChannel( in initNMS() 1469 mBinderService.getNotificationChannel(mPkg, mContext.getUserId(), mPkg, "id"); in testCreateNotificationChannels_SingleChannel() 1534 assertTrue(mBinderService.getNotificationChannel( in testCreateNotificationChannels_TwoChannels() 1536 assertTrue(mBinderService.getNotificationChannel( in testCreateNotificationChannels_TwoChannels() 1554 mBinderService.getNotificationChannel(mPkg, mContext.getUserId(), mPkg, "id"); in testCreateNotificationChannels_SecondCreateDoesNotChangeImportance() 1572 mBinderService.getNotificationChannel(mPkg, mContext.getUserId(), mPkg, "id"); in testCreateNotificationChannels_SecondCreateAllowedToDowngradeImportance() 1595 mBinderService.getNotificationChannel(mPkg, mContext.getUserId(), mPkg, "id"); in testCreateNotificationChannels_CannotDowngradeImportanceIfAlreadyUpdated() 1609 mBinderService.getNotificationChannel(mPkg, mContext.getUserId(), mPkg, "id"); in testCreateNotificationChannels_IdenticalChannelsInListIgnoresSecond() 1664 assertEquals(IMPORTANCE_LOW, mBinderService.getNotificationChannel( in testEnqueuedBlockedNotifications_appBlockedChannelForegroundService() [all …]
|
/frameworks/base/core/java/android/service/notification/ |
D | ConversationChannelWrapper.java | 80 public NotificationChannel getNotificationChannel() { in getNotificationChannel() method in ConversationChannelWrapper 134 return Objects.equals(getNotificationChannel(), that.getNotificationChannel()) && in equals() 144 return Objects.hash(getNotificationChannel(), getGroupLabel(), getParentChannelLabel(), in hashCode()
|
/frameworks/base/core/java/android/app/people/ |
D | PeopleSpaceTile.java | 310 mIsImportantConversation = channel.getNotificationChannel() != null in Builder() 311 && channel.getNotificationChannel().isImportantConversation(); in Builder() 312 mCanBypassDnd = channel.getNotificationChannel() != null in Builder() 313 && channel.getNotificationChannel().canBypassDnd(); in Builder()
|
D | ConversationChannel.java | 123 public NotificationChannel getNotificationChannel() { in getNotificationChannel() method in ConversationChannel
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | NotificationManagerInternal.java | 27 NotificationChannel getNotificationChannel(String pkg, int uid, String channelId); in getNotificationChannel() method
|
D | RankingConfig.java | 48 NotificationChannel getNotificationChannel(String pkg, int uid, String channelId, in getNotificationChannel() method
|
D | NotificationShellCmd.java | 316 NotificationChannel channel = mBinderService.getNotificationChannel( in onCommand() 447 + mBinderService.getNotificationChannel(callingPackage, in ensureChannel()
|
D | NotificationManagerService.java | 3081 mPreferencesHelper.getNotificationChannel(pkg, uid, channel.getId(), true); 3092 final NotificationChannel modifiedChannel = mPreferencesHelper.getNotificationChannel( 4156 mPreferencesHelper.getNotificationChannel(pkg, uid, channel.getId(), 4222 public NotificationChannel getNotificationChannel(String callingPkg, int userId, 4306 mPreferencesHelper.getNotificationChannel(pkg, callingUid, channelId, true), 4432 conversation.getNotificationChannel().getConversationId(), 4488 conversation.getNotificationChannel().getConversationId(), 6352 final NotificationChannel originalChannel = mPreferencesHelper.getNotificationChannel( 7013 public NotificationChannel getNotificationChannel(String pkg, int uid, String 7015 return mPreferencesHelper.getNotificationChannel(pkg, uid, channelId, false);
|
D | PreferencesHelper.java | 1301 public NotificationChannel getNotificationChannel(String pkg, int uid, String channelId, in getNotificationChannel() method in PreferencesHelper
|
/frameworks/opt/telephony/src/java/com/android/internal/telephony/util/ |
D | NotificationChannelController.java | 136 .getNotificationChannel(channelId); in getChannel()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | AlertWindowNotification.java | 157 NotificationChannel channel = mNotificationManager.getNotificationChannel(mNotificationTag); in createNotificationChannel()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/people/widget/ |
D | PeopleSpaceWidgetManager.java | 750 NotificationChannel channel = conversation.getNotificationChannel(); in updateStorageAndViewWithConversationData() 1031 .filter(c -> c.getNotificationChannel() != null in getPriorityTiles() 1032 && c.getNotificationChannel().isImportantConversation()) in getPriorityTiles() 1048 .filter(c -> c.getNotificationChannel() == null in getRecentTiles() 1049 || !c.getNotificationChannel().isImportantConversation()) in getRecentTiles()
|
/frameworks/base/services/tests/servicestests/src/com/android/server/people/data/ |
D | DataManagerTest.java | 256 when(mNotificationManagerInternal.getNotificationChannel(anyString(), anyInt(), in setUp() 258 when(mNotificationManagerInternal.getNotificationChannel(anyString(), anyInt(), in setUp() 684 assertEquals(mNotificationChannel.getId(), result.getNotificationChannel().getId()); in testGetConversation() 686 result.getNotificationChannel().getParentChannelId()); in testGetConversation() 765 assertFalse(result.getNotificationChannel().canBubble()); in testOnNotificationChannelModified() 1341 result.get(0).getNotificationChannel().getId()); in testGetRecentConversations() 1342 assertEquals(null, result.get(0).getNotificationChannel().getParentChannelId()); in testGetRecentConversations()
|
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/ |
D | JobNotificationCoordinator.java | 341 if (null == mNotificationManagerInternal.getNotificationChannel( in validateNotification()
|
/frameworks/base/core/java/android/app/ |
D | NotificationManager.java | 1043 public NotificationChannel getNotificationChannel(String channelId) { in getNotificationChannel() method in NotificationManager 1046 return service.getNotificationChannel(mContext.getOpPackageName(), in getNotificationChannel() 1062 public @Nullable NotificationChannel getNotificationChannel(@NonNull String channelId, in getNotificationChannel() method in NotificationManager
|
D | INotificationManager.aidl | 109 …NotificationChannel getNotificationChannel(String callingPkg, int userId, String pkg, String chann… in getNotificationChannel() method
|
/frameworks/base/packages/CarrierDefaultApp/src/com/android/carrierdefaultapp/ |
D | SlicePurchaseBroadcastReceiver.java | 338 NotificationChannel channel = notificationManager.getNotificationChannel( in onDisplayPerformanceBoostNotification()
|
/frameworks/base/services/people/java/com/android/server/people/data/ |
D | DataManager.java | 291 mNotificationManagerInternal.getNotificationChannel(packageName, uid, in getConversationChannel() 317 if (channel == null || channel.getNotificationChannel() == null) { in getRecentConversations()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/ |
D | JobNotificationCoordinatorTest.java | 80 .getNotificationChannel(anyString(), anyInt(), eq(NOTIFICATION_CHANNEL_ID)); in setUp()
|
/frameworks/base/services/core/java/com/android/server/am/ |
D | ServiceRecord.java | 1664 if (nm.getNotificationChannel(localPackageName, appUid, in postNotification()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/ |
D | ActivityManagerServiceTest.java | 1391 .getNotificationChannel(anyString(), anyInt(), anyString()); in testStartForegroundServiceDelegate()
|