Home
last modified time | relevance | path

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

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DPreferencesHelperTest.java285 mHelper.getNotificationChannel(package10, uid10, channel10.getId(), false)); in testWriteXml_onlyBackupsTargetUser()
286 assertNull(mHelper.getNotificationChannel(package0, uid0, channel0.getId(), false)); in testWriteXml_onlyBackupsTargetUser()
311 mHelper.getNotificationChannel(package0, expectedUid, channel0.getId(), false)); in testReadXml_onlyRestoresTargetUser()
312 assertNull(mHelper.getNotificationChannel(package0, uid0, channel0.getId(), false)); in testReadXml_onlyRestoresTargetUser()
354 mHelper.getNotificationChannel(PKG_N_MR1, UID_N_MR1, channel1.getId(), false)); in testChannelXml()
356 mHelper.getNotificationChannel(PKG_N_MR1, UID_N_MR1, channel2.getId(), false)); in testChannelXml()
424 mHelper.getNotificationChannel(PKG_N_MR1, UID_N_MR1, channel1.getId(), false)); in testChannelXmlForBackup()
426 mHelper.getNotificationChannel(PKG_N_MR1, UID_N_MR1, channel2.getId(), false)); in testChannelXmlForBackup()
428 mHelper.getNotificationChannel(PKG_N_MR1, UID_N_MR1, channel3.getId(), false)); in testChannelXmlForBackup()
491 NotificationChannel actualChannel = mHelper.getNotificationChannel( in testRestoreXml_withExistentCanonicalizedSoundUri()
[all …]
DNotificationChannelExtractorTest.java68 when(mConfig.getNotificationChannel(any(), anyInt(), eq("a"), eq(false))) in testExtractsUpdatedChannel()
DNotificationManagerServiceTest.java404 assertNotNull(mBinderService.getNotificationChannel( in setUp()
425 when(mPreferencesHelper.getNotificationChannel( in setUpPrefsForBubbles()
552 mBinderService.getNotificationChannel(PKG, mContext.getUserId(), PKG, "id"); in testCreateNotificationChannels_SingleChannel()
575 assertTrue(mBinderService.getNotificationChannel( in testCreateNotificationChannels_TwoChannels()
577 assertTrue(mBinderService.getNotificationChannel( in testCreateNotificationChannels_TwoChannels()
595 mBinderService.getNotificationChannel(PKG, mContext.getUserId(), PKG, "id"); in testCreateNotificationChannels_SecondCreateDoesNotChangeImportance()
613 mBinderService.getNotificationChannel(PKG, mContext.getUserId(), PKG, "id"); in testCreateNotificationChannels_SecondCreateAllowedToDowngradeImportance()
636 mBinderService.getNotificationChannel(PKG, mContext.getUserId(), PKG, "id"); in testCreateNotificationChannels_CannotDowngradeImportanceIfAlreadyUpdated()
650 mBinderService.getNotificationChannel(PKG, mContext.getUserId(), PKG, "id"); in testCreateNotificationChannels_IdenticalChannelsInListIgnoresSecond()
703 assertEquals(IMPORTANCE_LOW, mBinderService.getNotificationChannel( in testEnqueuedBlockedNotifications_appBlockedChannelForegroundService()
[all …]
DBubbleExtractorTest.java65 when(mConfig.getNotificationChannel(mPkg, mUid, "a", false)).thenReturn(channel); in getNotificationRecord()
DBadgeExtractorTest.java67 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.java45 …NotificationChannel getNotificationChannel(String pkg, int uid, String channelId, boolean includeD… in getNotificationChannel() method
DNotificationManagerService.java1965 mPreferencesHelper.getNotificationChannel(pkg, uid, channel.getId(), true);
1972 mPreferencesHelper.getNotificationChannel(pkg, uid, channel.getId(), false);
2664 mPreferencesHelper.getNotificationChannel(pkg, uid, channel.getId(),
2689 public NotificationChannel getNotificationChannel(String callingPkg, int userId,
2699 return mPreferencesHelper.getNotificationChannel(
2710 return mPreferencesHelper.getNotificationChannel(pkg, uid, channelId, includeDeleted);
2725 mPreferencesHelper.getNotificationChannel(pkg, callingUid, channelId, true),
4614 public NotificationChannel getNotificationChannel(String pkg, int uid, String
4616 return mPreferencesHelper.getNotificationChannel(pkg, uid, channelId, false);
4706 final NotificationChannel channel = mPreferencesHelper.getNotificationChannel(pkg,
DPreferencesHelper.java801 public NotificationChannel getNotificationChannel(String pkg, int uid, String channelId, in getNotificationChannel() method in PreferencesHelper
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/
DNotificationChannels.java83 nm.getNotificationChannel(SCREENSHOTS_LEGACY)), in createAll()
/frameworks/opt/telephony/src/java/com/android/internal/telephony/util/
DNotificationChannelController.java128 .getNotificationChannel(channelId); in getChannel()
/frameworks/base/services/core/java/com/android/server/wm/
DAlertWindowNotification.java158 NotificationChannel channel = mNotificationManager.getNotificationChannel(mNotificationTag); in createNotificationChannel()
/frameworks/base/core/java/android/app/
DINotificationManager.aidl93 …NotificationChannel getNotificationChannel(String callingPkg, int userId, String pkg, String chann… in getNotificationChannel() method
DNotificationManager.java725 public NotificationChannel getNotificationChannel(String channelId) { in getNotificationChannel() method in NotificationManager
728 return service.getNotificationChannel(mContext.getOpPackageName(), in getNotificationChannel()
/frameworks/base/services/core/java/com/android/server/am/
DServiceRecord.java867 if (nm.getNotificationChannel(localPackageName, appUid, in postNotification()
/frameworks/base/services/
Dart-profile9389 HSPLcom/android/server/notification/NotificationManagerService$10;->getNotificationChannel(Ljava/la…
9425 PLcom/android/server/notification/NotificationManagerService$11;->getNotificationChannel(Ljava/lang…
9782 HSPLcom/android/server/notification/PreferencesHelper;->getNotificationChannel(Ljava/lang/String;IL…
/frameworks/base/config/
Dboot-image-profile.txt1606 HSPLandroid/app/INotificationManager$Stub$Proxy;->getNotificationChannel(Ljava/lang/String;ILjava/l…
1985 HSPLandroid/app/NotificationManager;->getNotificationChannel(Ljava/lang/String;)Landroid/app/Notifi…
Dhiddenapi-greylist-max-o.txt6867 Landroid/app/INotificationManager$Stub$Proxy;->getNotificationChannel(Ljava/lang/String;Ljava/lang/…
7059 Landroid/app/INotificationManager;->getNotificationChannel(Ljava/lang/String;Ljava/lang/String;)Lan…
/frameworks/base/api/
Dcurrent.txt5823 method public android.app.NotificationChannel getNotificationChannel(String);