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.java349 mHelper.getNotificationChannel(package10, uid10, channel10.getId(), false)); in testWriteXml_onlyBackupsTargetUser()
350 assertNull(mHelper.getNotificationChannel(package0, uid0, channel0.getId(), false)); in testWriteXml_onlyBackupsTargetUser()
375 mHelper.getNotificationChannel(package0, expectedUid, channel0.getId(), false)); in testReadXml_onlyRestoresTargetUser()
376 assertNull(mHelper.getNotificationChannel(package0, uid0, channel0.getId(), false)); in testReadXml_onlyRestoresTargetUser()
420 mHelper.getNotificationChannel(PKG_N_MR1, UID_N_MR1, channel1.getId(), false)); in testChannelXml()
422 mHelper.getNotificationChannel(PKG_N_MR1, UID_N_MR1, channel2.getId(), false)); in testChannelXml()
497 mHelper.getNotificationChannel(PKG_N_MR1, UID_N_MR1, channel1.getId(), false)); in testChannelXmlForBackup()
499 mHelper.getNotificationChannel(PKG_N_MR1, UID_N_MR1, channel2.getId(), false)); in testChannelXmlForBackup()
501 mHelper.getNotificationChannel(PKG_N_MR1, UID_N_MR1, channel3.getId(), false)); in testChannelXmlForBackup()
565 NotificationChannel actualChannel = mHelper.getNotificationChannel( in testRestoreXml_withExistentCanonicalizedSoundUri()
[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()
DNotificationManagerServiceTest.java511 assertNotNull(mBinderService.getNotificationChannel( in setUp()
835 mBinderService.getNotificationChannel(PKG, mContext.getUserId(), PKG, "id"); in testCreateNotificationChannels_SingleChannel()
858 assertTrue(mBinderService.getNotificationChannel( in testCreateNotificationChannels_TwoChannels()
860 assertTrue(mBinderService.getNotificationChannel( in testCreateNotificationChannels_TwoChannels()
878 mBinderService.getNotificationChannel(PKG, mContext.getUserId(), PKG, "id"); in testCreateNotificationChannels_SecondCreateDoesNotChangeImportance()
896 mBinderService.getNotificationChannel(PKG, mContext.getUserId(), PKG, "id"); in testCreateNotificationChannels_SecondCreateAllowedToDowngradeImportance()
919 mBinderService.getNotificationChannel(PKG, mContext.getUserId(), PKG, "id"); in testCreateNotificationChannels_CannotDowngradeImportanceIfAlreadyUpdated()
933 mBinderService.getNotificationChannel(PKG, mContext.getUserId(), PKG, "id"); in testCreateNotificationChannels_IdenticalChannelsInListIgnoresSecond()
987 assertEquals(IMPORTANCE_LOW, mBinderService.getNotificationChannel( in testEnqueuedBlockedNotifications_appBlockedChannelForegroundService()
1005 assertEquals(IMPORTANCE_NONE, mBinderService.getNotificationChannel( in testEnqueuedBlockedNotifications_userBlockedChannelForegroundService()
[all …]
DBubbleExtractorTest.java104 when(mConfig.getNotificationChannel(PKG, UID, CHANNEL_ID, false)).thenReturn(mChannel); in setUp()
/frameworks/base/core/java/android/service/notification/
DConversationChannelWrapper.java79 public NotificationChannel getNotificationChannel() { in getNotificationChannel() method in ConversationChannelWrapper
133 return Objects.equals(getNotificationChannel(), that.getNotificationChannel()) && in equals()
143 return Objects.hash(getNotificationChannel(), getGroupLabel(), getParentChannelLabel(), in hashCode()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationManagerInternal.java23 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.java327 NotificationChannel channel = mBinderService.getNotificationChannel( in onCommand()
449 + mBinderService.getNotificationChannel(callingPackage, in ensureChannel()
DNotificationManagerService.java2409 mPreferencesHelper.getNotificationChannel(pkg, uid, channel.getId(), true);
2415 final NotificationChannel modifiedChannel = mPreferencesHelper.getNotificationChannel(
3308 mPreferencesHelper.getNotificationChannel(pkg, uid, channel.getId(),
3350 public NotificationChannel getNotificationChannel(String callingPkg, int userId,
3396 mPreferencesHelper.getNotificationChannel(pkg, callingUid, channelId, true),
3416 mPreferencesHelper.getNotificationChannel(
3520 conversation.getNotificationChannel().getConversationId(),
3547 conversation.getNotificationChannel().getConversationId(),
5522 public NotificationChannel getNotificationChannel(String pkg, int uid, String
5524 return mPreferencesHelper.getNotificationChannel(pkg, uid, channelId, false);
DPreferencesHelper.java1005 public NotificationChannel getNotificationChannel(String pkg, int uid, String channelId, in getNotificationChannel() method in PreferencesHelper
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/
DNotificationChannels.java87 nm.getNotificationChannel(SCREENSHOTS_LEGACY)), in createAll()
/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.java158 NotificationChannel channel = mNotificationManager.getNotificationChannel(mNotificationTag); in createNotificationChannel()
/frameworks/base/core/java/android/app/
DNotificationManager.java847 public NotificationChannel getNotificationChannel(String channelId) { in getNotificationChannel() method in NotificationManager
850 return service.getNotificationChannel(mContext.getOpPackageName(), in getNotificationChannel()
866 public @Nullable NotificationChannel getNotificationChannel(@NonNull String channelId, in getNotificationChannel() method in NotificationManager
DINotificationManager.aidl99 …NotificationChannel getNotificationChannel(String callingPkg, int userId, String pkg, String chann… in getNotificationChannel() method
/frameworks/base/services/core/java/com/android/server/am/
DServiceRecord.java885 if (nm.getNotificationChannel(localPackageName, appUid, in postNotification()
/frameworks/base/services/
Dart-profile21329 HSPLcom/android/server/notification/NotificationManagerService$10;->getNotificationChannel(Ljava/la…
21389 PLcom/android/server/notification/NotificationManagerService$11;->getNotificationChannel(Ljava/lang…
22141 HSPLcom/android/server/notification/PreferencesHelper;->getNotificationChannel(Ljava/lang/String;IL…
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-28.jarMETA-INF/ META-INF/MANIFEST.MF javax/ javax/net/ javax/ ...
/frameworks/base/config/
Dboot-image-profile.txt2241 HSPLandroid/app/INotificationManager$Stub$Proxy;->getNotificationChannel(Ljava/lang/String;ILjava/l…
2868 HSPLandroid/app/NotificationManager;->getNotificationChannel(Ljava/lang/String;)Landroid/app/Notifi…
/frameworks/base/api/
Dcurrent.txt6009 method public android.app.NotificationChannel getNotificationChannel(String);
6010 …method @Nullable public android.app.NotificationChannel getNotificationChannel(@NonNull String, @N…