Home
last modified time | relevance | path

Searched refs:getNotificationChannel (Results 1 – 25 of 31) sorted by relevance

12

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DPreferencesHelperTest.java547 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 …]
DBadgeExtractorTest.java71 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()
DVisibilityExtractorTest.java72 when(mConfig.getNotificationChannel(mPkg, mUid, "a", false)).thenReturn(channel); in getNotificationRecord()
DBubbleExtractorTest.java104 when(mConfig.getNotificationChannel(PKG, UID, CHANNEL_ID, false)).thenReturn(mChannel); in setUp()
DNotificationManagerServiceTest.java861 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/
DConversationChannelWrapper.java80 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/
DPeopleSpaceTile.java310 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()
DConversationChannel.java123 public NotificationChannel getNotificationChannel() { in getNotificationChannel() method in ConversationChannel
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationManagerInternal.java27 NotificationChannel getNotificationChannel(String pkg, int uid, String channelId); in getNotificationChannel() method
DRankingConfig.java48 NotificationChannel getNotificationChannel(String pkg, int uid, String channelId, in getNotificationChannel() method
DNotificationShellCmd.java316 NotificationChannel channel = mBinderService.getNotificationChannel( in onCommand()
447 + mBinderService.getNotificationChannel(callingPackage, in ensureChannel()
DNotificationManagerService.java3081 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);
DPreferencesHelper.java1301 public NotificationChannel getNotificationChannel(String pkg, int uid, String channelId, in getNotificationChannel() method in PreferencesHelper
/frameworks/opt/telephony/src/java/com/android/internal/telephony/util/
DNotificationChannelController.java136 .getNotificationChannel(channelId); in getChannel()
/frameworks/base/services/core/java/com/android/server/wm/
DAlertWindowNotification.java157 NotificationChannel channel = mNotificationManager.getNotificationChannel(mNotificationTag); in createNotificationChannel()
/frameworks/base/packages/SystemUI/src/com/android/systemui/people/widget/
DPeopleSpaceWidgetManager.java750 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/
DDataManagerTest.java256 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/
DJobNotificationCoordinator.java341 if (null == mNotificationManagerInternal.getNotificationChannel( in validateNotification()
/frameworks/base/core/java/android/app/
DNotificationManager.java1043 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
DINotificationManager.aidl109 …NotificationChannel getNotificationChannel(String callingPkg, int userId, String pkg, String chann… in getNotificationChannel() method
/frameworks/base/packages/CarrierDefaultApp/src/com/android/carrierdefaultapp/
DSlicePurchaseBroadcastReceiver.java338 NotificationChannel channel = notificationManager.getNotificationChannel( in onDisplayPerformanceBoostNotification()
/frameworks/base/services/people/java/com/android/server/people/data/
DDataManager.java291 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/
DJobNotificationCoordinatorTest.java80 .getNotificationChannel(anyString(), anyInt(), eq(NOTIFICATION_CHANNEL_ID)); in setUp()
/frameworks/base/services/core/java/com/android/server/am/
DServiceRecord.java1664 if (nm.getNotificationChannel(localPackageName, appUid, in postNotification()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/
DActivityManagerServiceTest.java1391 .getNotificationChannel(anyString(), anyInt(), anyString()); in testStartForegroundServiceDelegate()

12