Home
last modified time | relevance | path

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

12

/aosp14/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
H A DPreferencesHelperTest.java2699 assertEquals(sound, mHelper.getNotificationChannel( in testCreateChannel_noOverrideSound()
2753 assertNull(mHelper.getNotificationChannel( in testDeleteGroup()
2896 assertNotNull(mHelper.getNotificationChannel( in testOnPackageChange_downgradeTargetSdk()
2977 assertEquals(ncg.getId(), mHelper.getNotificationChannel( in testCannotCreateChannel_goodGroup()
4071 assertFalse(mHelper.getNotificationChannel( in testUpdateFixedImportance_multiUser()
4116 assertFalse(mHelper.getNotificationChannel( in testUpdateDefaultApps_add_multiUser()
4948 if (ccw.getNotificationChannel().equals(expected)) { in conversationWrapperContainsChannel()
5053 assertThat(convo.getNotificationChannel()) in testGetConversations()
5167 assertThat(mHelper.getNotificationChannel(PKG_O, UID_O, "A", in testUpdateConversationParent_updatesConversations()
5169 assertThat(mHelper.getNotificationChannel(PKG_O, UID_O, "B", in testUpdateConversationParent_updatesConversations()
[all …]
H A 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()
H A DVisibilityExtractorTest.java82 when(mConfig.getNotificationChannel(mPkg, mUid, "a", false)).thenReturn(channel); in getNotificationRecord()
H A DNotificationManagerServiceTest.java702 assertNotNull(mBinderService.getNotificationChannel( in setUp()
1202 assertTrue(mBinderService.getNotificationChannel( in testCreateNotificationChannels_TwoChannels()
1204 assertTrue(mBinderService.getNotificationChannel( in testCreateNotificationChannels_TwoChannels()
3210 when(mPreferencesHelper.getNotificationChannel( in testTvExtenderChannelOverride_onTv()
3225 when(mPreferencesHelper.getNotificationChannel( in testTvExtenderChannelOverride_notOnTv()
3384 when(mPreferencesHelper.getNotificationChannel(eq(PKG), anyInt(), in testUpdateChannelNotifyCreatorBlock()
3410 when(mPreferencesHelper.getNotificationChannel(eq(PKG), anyInt(), in testUpdateChannelNotifyCreatorUnblock()
3432 when(mPreferencesHelper.getNotificationChannel(eq(PKG), anyInt(), in testUpdateChannelNoNotifyCreatorOtherChanges()
3503 when(mPreferencesHelper.getNotificationChannel(eq(PKG), anyInt(), in testCreateChannelNotifyListener()
3507 when(mPreferencesHelper.getNotificationChannel(eq(PKG), anyInt(), in testCreateChannelNotifyListener()
[all …]
H A DBubbleExtractorTest.java104 when(mConfig.getNotificationChannel(PKG, UID, CHANNEL_ID, false)).thenReturn(mChannel); in setUp()
/aosp14/frameworks/base/core/java/android/service/notification/
H A 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()
/aosp14/frameworks/base/core/java/android/app/people/
H A 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()
H A DConversationChannel.java123 public NotificationChannel getNotificationChannel() { in getNotificationChannel() method in ConversationChannel
/aosp14/frameworks/base/services/core/java/com/android/server/notification/
H A DNotificationManagerInternal.java26 NotificationChannel getNotificationChannel(String pkg, int uid, String channelId); in getNotificationChannel() method
H A DRankingConfig.java50 NotificationChannel getNotificationChannel(String pkg, int uid, String channelId, in getNotificationChannel() method
H A DNotificationShellCmd.java311 NotificationChannel channel = mBinderService.getNotificationChannel( in onCommand()
442 + mBinderService.getNotificationChannel(callingPackage, in ensureChannel()
H A DNotificationManagerService.java2878 mPreferencesHelper.getNotificationChannel(pkg, uid, channel.getId(), true);
2889 final NotificationChannel modifiedChannel = mPreferencesHelper.getNotificationChannel(
3929 mPreferencesHelper.getNotificationChannel(pkg, uid, channel.getId(),
3995 public NotificationChannel getNotificationChannel(String callingPkg, int userId,
4078 mPreferencesHelper.getNotificationChannel(pkg, callingUid, channelId, true),
4204 conversation.getNotificationChannel().getConversationId(),
4231 conversation.getNotificationChannel().getConversationId(),
5782 final NotificationChannel originalChannel = mPreferencesHelper.getNotificationChannel(
6468 public NotificationChannel getNotificationChannel(String pkg, int uid, String
6470 return mPreferencesHelper.getNotificationChannel(pkg, uid, channelId, false);
H A DPreferencesHelper.java1239 public NotificationChannel getNotificationChannel(String pkg, int uid, String channelId, in getNotificationChannel() method in PreferencesHelper
/aosp14/frameworks/base/services/core/java/com/android/server/wm/
H A DAlertWindowNotification.java157 NotificationChannel channel = mNotificationManager.getNotificationChannel(mNotificationTag); in createNotificationChannel()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/people/widget/
H A DPeopleSpaceWidgetManager.java717 NotificationChannel channel = conversation.getNotificationChannel(); in updateStorageAndViewWithConversationData()
998 .filter(c -> c.getNotificationChannel() != null in getPriorityTiles()
999 && c.getNotificationChannel().isImportantConversation()) in getPriorityTiles()
1015 .filter(c -> c.getNotificationChannel() == null in getRecentTiles()
1016 || !c.getNotificationChannel().isImportantConversation()) in getRecentTiles()
/aosp14/frameworks/base/services/tests/servicestests/src/com/android/server/people/data/
H A 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()
/aosp14/frameworks/base/core/java/android/app/
H A DNotificationManager.java980 public NotificationChannel getNotificationChannel(String channelId) { in getNotificationChannel() method in NotificationManager
983 return service.getNotificationChannel(mContext.getOpPackageName(), in getNotificationChannel()
999 public @Nullable NotificationChannel getNotificationChannel(@NonNull String channelId, in getNotificationChannel() method in NotificationManager
H A DINotificationManager.aidl105 …NotificationChannel getNotificationChannel(String callingPkg, int userId, String pkg, String chann… in getNotificationChannel() method
/aosp14/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/
H A DJobNotificationCoordinator.java341 if (null == mNotificationManagerInternal.getNotificationChannel( in validateNotification()
/aosp14/frameworks/base/packages/CarrierDefaultApp/src/com/android/carrierdefaultapp/
H A DSlicePurchaseBroadcastReceiver.java338 NotificationChannel channel = notificationManager.getNotificationChannel( in onDisplayPerformanceBoostNotification()
/aosp14/frameworks/base/services/people/java/com/android/server/people/data/
H A DDataManager.java291 mNotificationManagerInternal.getNotificationChannel(packageName, uid, in getConversationChannel()
317 if (channel == null || channel.getNotificationChannel() == null) { in getRecentConversations()
/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/
H A DJobNotificationCoordinatorTest.java80 .getNotificationChannel(anyString(), anyInt(), eq(NOTIFICATION_CHANNEL_ID)); in setUp()
/aosp14/frameworks/base/services/core/java/com/android/server/am/
H A DServiceRecord.java1416 if (nm.getNotificationChannel(localPackageName, appUid, in postNotification()
/aosp14/frameworks/base/tools/aapt2/integration-tests/CommandTests/
H A Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/aosp14/frameworks/base/boot/
H A Dboot-image-profile.txt1961 HSPLandroid/app/INotificationManager$Stub$Proxy;->getNotificationChannel(Ljava/lang/String;ILjava/l…
2404 HSPLandroid/app/NotificationManager;->getNotificationChannel(Ljava/lang/String;)Landroid/app/Notifi…

12