/aosp12/packages/apps/Settings/src/com/android/settings/notification/app/ |
H A D | AppConversationListPreferenceController.java | 140 if (conversation.getNotificationChannel().isDemoted()) { in populateConversations() 159 : conversation.getNotificationChannel().getName()); in populateConversationPreference() 160 pref.setSummary(conversation.getNotificationChannel().getGroup() != null in populateConversationPreference() 166 conversation.getNotificationChannel().isImportantConversation())); in populateConversationPreference() 168 pref.setKey(conversation.getNotificationChannel().getId()); in populateConversationPreference() 174 conversation.getNotificationChannel().getParentChannelId()); in populateConversationPreference() 176 conversation.getNotificationChannel().getConversationId()); in populateConversationPreference() 189 if (left.getNotificationChannel().isImportantConversation() 193 left.getNotificationChannel().isImportantConversation()); 195 return left.getNotificationChannel().getId().compareTo( [all …]
|
H A D | ConversationListPreferenceController.java | 89 if (conversation.getNotificationChannel().isDemoted() in populateConversations() 106 conversation.getNotificationChannel().isImportantConversation())); in createConversationPref() 107 pref.setKey(conversation.getNotificationChannel().getId()); in createConversationPref() 127 : conversation.getNotificationChannel().getName(); in getTitle() 136 conversation.getNotificationChannel().getId()); in getSubSettingLauncher() 138 conversation.getNotificationChannel().getConversationId()); in getSubSettingLauncher() 161 return o1.getNotificationChannel().getId().compareTo( 162 o2.getNotificationChannel().getId());
|
H A D | RecentConversationsPreferenceController.java | 144 if (conversation.getNotificationChannel().getImportance() == IMPORTANCE_NONE in populateConversations() 184 pref.setKey(conversation.getNotificationChannel().getId() in createConversationPref() 189 conversation.getNotificationChannel(), in createConversationPref() 200 ? conversation.getNotificationChannel().getName() in getSummary() 202 conversation.getNotificationChannel().getName(), in getSummary() 218 conversation.getNotificationChannel().getId()); in getSubSettingLauncher() 245 return o1.getNotificationChannel().getId().compareTo( 246 o2.getNotificationChannel().getId());
|
H A D | AllConversationsPreferenceController.java | 64 return !conversation.getNotificationChannel().isImportantConversation(); in matchesFilter()
|
H A D | PriorityConversationsPreferenceController.java | 64 return conversation.getNotificationChannel().isImportantConversation(); in matchesFilter()
|
/aosp12/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
H A D | PreferencesHelperTest.java | 794 assertEquals(null, mHelper.getNotificationChannel(PKG_O, UID_O, in testChannelXml_upgradeCreateDefaultChannel() 1657 assertEquals(sound, mHelper.getNotificationChannel( in testCreateChannel_noOverrideSound() 1703 assertNull(mHelper.getNotificationChannel( in testDeleteGroup() 1819 assertNotNull(mHelper.getNotificationChannel( in testOnPackageChange_downgradeTargetSdk() 1901 assertEquals(ncg.getId(), mHelper.getNotificationChannel( in testCannotCreateChannel_goodGroup() 2824 assertTrue(mHelper.getNotificationChannel(PKG_O, 3, "b", false) in testLockChannelsForOEM_channelSpecific_appDoesNotExistYet_restoreData() 2921 assertFalse(mHelper.getNotificationChannel( in testUpdateDefaultApps_add_multiUser() 3217 assertEquals(user10Importance, mHelper.getNotificationChannel( in testRestoreMultiUser() 3398 nc1 = mHelper.getNotificationChannel(PKG_P, UID_P, "id", true); in testUnDelete_time() 3605 if (ccw.getNotificationChannel().equals(expected)) { in conversationWrapperContainsChannel() [all …]
|
H A D | BadgeExtractorTest.java | 71 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()
|
/aosp12/frameworks/base/core/java/android/service/notification/ |
H A D | ConversationChannelWrapper.java | 80 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()
|
/aosp12/packages/apps/Settings/src/com/android/settings/notification/ |
H A D | AppBubbleListPreferenceController.java | 112 return c.getNotificationChannel().canBubble(); in filterAndSortConversations() 114 return c.getNotificationChannel().getAllowBubbles() == 0; in filterAndSortConversations() 136 conversation.getNotificationChannel().setAllowBubbles(DEFAULT_ALLOW_BUBBLE); 137 mBackend.updateChannel(mAppRow.pkg, mAppRow.uid, conversation.getNotificationChannel());
|
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/app/ |
H A D | AppBubbleListPreferenceControllerTest.java | 139 assertThat(result.get(0).getNotificationChannel().getId()) in filterAndSortConversations_BUBBLE_PREFERENCE_SELECTED_filtersAllowedBubbles() 152 assertThat(result.get(0).getNotificationChannel().getId()) in filterAndSortConversations_BUBBLE_PREFERENCE_ALL_filtersExcludedBubbles() 170 verify(ccw.getNotificationChannel()).setAllowBubbles(DEFAULT_ALLOW_BUBBLE); in clickConversationPref_updatesChannel()
|
H A D | RecentConversationsPreferenceControllerTest.java | 166 ccw.getNotificationChannel().getName()); in getSummary_withGroup() 179 ccw.getNotificationChannel().getName()); in getSummary_noGroup() 211 ccw.getNotificationChannel().getId()); in testGetSubSettingLauncher() 234 si.getPackage(), ccw.getUid(), ccw.getNotificationChannel(), si.getId()); in testCreatesChannel()
|
H A D | ConversationListPreferenceControllerTest.java | 197 ccw.getNotificationChannel().getName()); in getTitle_noShortcut() 215 ccw.getNotificationChannel().getId()); in testGetSubSettingLauncher() 217 ccw.getNotificationChannel().getConversationId()); in testGetSubSettingLauncher()
|
/aosp12/frameworks/base/core/java/android/app/people/ |
H A D | PeopleSpaceTile.java | 310 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 D | ConversationChannel.java | 123 public NotificationChannel getNotificationChannel() { in getNotificationChannel() method in ConversationChannel
|
/aosp12/packages/apps/Settings/src/com/android/settings/notification/zen/ |
H A D | ZenModeConversationsImagePreferenceController.java | 138 if (!conversation.getNotificationChannel().isDemoted()) { in loadConversations() 144 conversation.getNotificationChannel() in loadConversations()
|
H A D | ZenModePriorityConversationsPreferenceController.java | 153 if (!conversation.getNotificationChannel().isDemoted()) { in updateChannelCounts() 165 if (!conversation.getNotificationChannel().isDemoted()) { in updateChannelCounts()
|
/aosp12/frameworks/base/services/core/java/com/android/server/notification/ |
H A D | NotificationManagerInternal.java | 26 NotificationChannel getNotificationChannel(String pkg, int uid, String channelId); in getNotificationChannel() method
|
H A D | RankingConfig.java | 51 NotificationChannel getNotificationChannel(String pkg, int uid, String channelId, in getNotificationChannel() method
|
H A D | NotificationShellCmd.java | 311 NotificationChannel channel = mBinderService.getNotificationChannel( in onCommand() 442 + mBinderService.getNotificationChannel(callingPackage, in ensureChannel()
|
/aosp12/packages/modules/NetworkStack/tests/unit/src/com/android/networkstack/ |
H A D | NetworkStackNotifierTest.kt | 170 .`when`(mNotificationChannelsNm).getNotificationChannel(CHANNEL_VENUE_INFO) 275 doReturn(channel).`when`(mNotificationChannelsNm).getNotificationChannel(CHANNEL_VENUE_INFO) 311 doReturn(null).`when`(mNm).getNotificationChannel(CHANNEL_VENUE_INFO)
|
/aosp12/packages/apps/DeskClock/src/com/android/deskclock/ |
H A D | NotificationUtils.kt | 125 val channel: NotificationChannel? = nm.getNotificationChannel(channelId)
|
/aosp12/frameworks/opt/telephony/src/java/com/android/internal/telephony/util/ |
H A D | NotificationChannelController.java | 136 .getNotificationChannel(channelId); in getChannel()
|
/aosp12/frameworks/base/services/core/java/com/android/server/wm/ |
H A D | AlertWindowNotification.java | 157 NotificationChannel channel = mNotificationManager.getNotificationChannel(mNotificationTag); in createNotificationChannel()
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/people/widget/ |
H A D | PeopleSpaceWidgetManager.java | 720 NotificationChannel channel = conversation.getNotificationChannel(); in updateStorageAndViewWithConversationData() 997 .filter(c -> c.getNotificationChannel() != null in getPriorityTiles() 998 && c.getNotificationChannel().isImportantConversation()) in getPriorityTiles() 1014 .filter(c -> c.getNotificationChannel() == null in getRecentTiles() 1015 || !c.getNotificationChannel().isImportantConversation()) in getRecentTiles()
|
/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/people/data/ |
H A D | DataManagerTest.java | 256 when(mNotificationManagerInternal.getNotificationChannel(anyString(), anyInt(), in setUp() 258 when(mNotificationManagerInternal.getNotificationChannel(anyString(), anyInt(), in setUp() 679 assertEquals(mNotificationChannel.getId(), result.getNotificationChannel().getId()); in testGetConversation() 681 result.getNotificationChannel().getParentChannelId()); in testGetConversation() 703 assertFalse(result.getNotificationChannel().canBubble()); in testOnNotificationChannelModified() 1209 result.get(0).getNotificationChannel().getId()); in testGetRecentConversations() 1210 assertEquals(null, result.get(0).getNotificationChannel().getParentChannelId()); in testGetRecentConversations()
|