Home
last modified time | relevance | path

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

/frameworks/base/services/tests/notification/src/com/android/server/notification/
DRankingHelperTest.java357 assertEquals(channel1, mHelper.getNotificationChannel(PKG, UID, channel1.getId(), false)); in testChannelXml()
359 mHelper.getNotificationChannel(PKG, UID, channel2.getId(), false)); in testChannelXml()
425 assertEquals(channel1, mHelper.getNotificationChannel(PKG, UID, channel1.getId(), false)); in testChannelXmlForBackup()
427 mHelper.getNotificationChannel(PKG, UID, channel2.getId(), false)); in testChannelXmlForBackup()
429 mHelper.getNotificationChannel(PKG, UID, channel3.getId(), false)); in testChannelXmlForBackup()
490 NotificationChannel actualChannel = mHelper.getNotificationChannel( in testRestoreXml_withExistentCanonicalizedSoundUri()
511 NotificationChannel actualChannel = mHelper.getNotificationChannel( in testRestoreXml_withNonExistentCanonicalizedSoundUri()
538 NotificationChannel actualChannel = mHelper.getNotificationChannel(PKG, UID, id, false); in testRestoreXml_withUncanonicalizedNonLocalSoundUri()
552 NotificationChannel actualChannel = mHelper.getNotificationChannel( in testBackupRestoreXml_withNullSoundUri()
577 assertEquals(channel2, mHelper.getNotificationChannel(PKG, UID, channel2.getId(), false)); in testChannelXml_backup()
[all …]
DNotificationManagerServiceTest.java230 assertNotNull(mBinderService.getNotificationChannel(PKG, TEST_CHANNEL_ID)); in setUp()
319 mBinderService.getNotificationChannel(PKG, "id"); in testCreateNotificationChannels_SingleChannel()
342 assertTrue(mBinderService.getNotificationChannel(PKG, "id1") != null); in testCreateNotificationChannels_TwoChannels()
343 assertTrue(mBinderService.getNotificationChannel(PKG, "id2") != null); in testCreateNotificationChannels_TwoChannels()
360 mBinderService.getNotificationChannel(PKG, "id"); in testCreateNotificationChannels_SecondCreateDoesNotChangeImportance()
378 mBinderService.getNotificationChannel(PKG, "id"); in testCreateNotificationChannels_SecondCreateAllowedToDowngradeImportance()
401 mBinderService.getNotificationChannel(PKG, "id"); in testCreateNotificationChannels_CannotDowngradeImportanceIfAlreadyUpdated()
415 mBinderService.getNotificationChannel(PKG, "id"); in testCreateNotificationChannels_IdenticalChannelsInListIgnoresSecond()
468 mBinderService.getNotificationChannel(PKG, channel.getId()).getImportance()); in testEnqueuedBlockedNotifications_appBlockedChannelForegroundService()
486 mBinderService.getNotificationChannel(PKG, channel.getId()).getImportance()); in testEnqueuedBlockedNotifications_userBlockedChannelForegroundService()
[all …]
DNotificationChannelExtractorTest.java69 when(mConfig.getNotificationChannel(any(), anyInt(), eq("a"), eq(false))) in testExtractsUpdatedChannel()
DBadgeExtractorTest.java64 when(mConfig.getNotificationChannel(mPkg, mUid, "a", false)).thenReturn(channel); in getNotificationRecord()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationManagerInternal.java23 NotificationChannel getNotificationChannel(String pkg, int uid, String channelId); in getNotificationChannel() method
DNotificationChannelExtractor.java45 record.updateNotificationChannel(mConfig.getNotificationChannel(record.sbn.getPackageName(), in process()
DRankingConfig.java42 …NotificationChannel getNotificationChannel(String pkg, int uid, String channelId, boolean includeD… in getNotificationChannel() method
DNotificationManagerService.java1503 mRankingHelper.getNotificationChannel(pkg, uid, channel.getId(), false);
1832 mRankingHelper.getNotificationChannel(pkg, uid, channel.getId(), false),
1853 public NotificationChannel getNotificationChannel(String pkg, String channelId) {
1855 return mRankingHelper.getNotificationChannel(
1863 return mRankingHelper.getNotificationChannel(pkg, uid, channelId, includeDeleted);
1878 mRankingHelper.getNotificationChannel(pkg, callingUid, channelId, true),
3399 public NotificationChannel getNotificationChannel(String pkg, int uid, String
3401 return mRankingHelper.getNotificationChannel(pkg, uid, channelId, false);
3497 final NotificationChannel channel = mRankingHelper.getNotificationChannel(pkg,
DRankingHelper.java640 public NotificationChannel getNotificationChannel(String pkg, int uid, String channelId, in getNotificationChannel() method in RankingHelper
/frameworks/opt/telephony/src/java/com/android/internal/telephony/util/
DNotificationChannelController.java103 .getNotificationChannel(channelId); in getChannel()
/frameworks/base/core/java/android/app/
DNotificationManager.java465 public NotificationChannel getNotificationChannel(String channelId) { in getNotificationChannel() method in NotificationManager
468 return service.getNotificationChannel(mContext.getPackageName(), channelId); in getNotificationChannel()
DINotificationManager.aidl65 NotificationChannel getNotificationChannel(String pkg, String channelId); in getNotificationChannel() method
/frameworks/base/services/core/java/com/android/server/am/
DServiceRecord.java522 if (nm.getNotificationChannel(localPackageName, appUid, in postNotification()
/frameworks/base/services/
Dart-profile2925 HPLcom/android/server/notification/NotificationManagerService$7;->getNotificationChannel(Ljava/lang…
3024 HPLcom/android/server/notification/RankingConfig;->getNotificationChannel(Ljava/lang/String;ILjava/…
3040 HPLcom/android/server/notification/RankingHelper;->getNotificationChannel(Ljava/lang/String;ILjava/…
/frameworks/base/config/
Dboot-image-profile.txt16713 HSPLandroid/app/INotificationManager$Stub$Proxy;->getNotificationChannel(Ljava/lang/String;Ljava/la…
16755 HSPLandroid/app/INotificationManager;->getNotificationChannel(Ljava/lang/String;Ljava/lang/String;)…
17261 HSPLandroid/app/NotificationManager;->getNotificationChannel(Ljava/lang/String;)Landroid/app/Notifi…
/frameworks/base/api/
Dcurrent.txt5604 method public android.app.NotificationChannel getNotificationChannel(java.lang.String);
Dtest-current.txt5618 method public android.app.NotificationChannel getNotificationChannel(java.lang.String);
Dsystem-current.txt5810 method public android.app.NotificationChannel getNotificationChannel(java.lang.String);