Home
last modified time | relevance | path

Searched refs:isDemoted (Results 1 – 25 of 28) sorted by relevance

12

/aosp12/frameworks/base/services/tests/servicestests/src/com/android/server/people/data/
H A DConversationInfoTest.java87 assertTrue(conversationInfo.isDemoted()); in testBuild()
113 assertFalse(conversationInfo.isDemoted()); in testBuildEmpty()
H A DDataManagerTest.java822 assertFalse(conversationInfo.isDemoted()); in testNotificationChannelCreated()
847 assertFalse(conversationInfo.isDemoted()); in testNotificationChannelModified()
876 assertFalse(conversationInfo.isDemoted()); in testNotificationChannelDeleted()
/aosp12/packages/apps/Settings/src/com/android/settings/notification/zen/
H A DZenModePriorityConversationsPreferenceController.java153 if (!conversation.getNotificationChannel().isDemoted()) { in updateChannelCounts()
165 if (!conversation.getNotificationChannel().isDemoted()) { in updateChannelCounts()
H A DZenModeConversationsImagePreferenceController.java138 if (!conversation.getNotificationChannel().isDemoted()) { in loadConversations()
H A DZenModeBypassingAppsPreferenceController.java115 if (!TextUtils.isEmpty(channel.getConversationId()) && !channel.isDemoted()) { in updateAppsBypassingDndSummaryText()
/aosp12/frameworks/base/services/core/java/com/android/server/notification/
H A DNotificationChannelLoggerImpl.java48 /* bool is_conversation_demoted */ channel.isDemoted(), in logNotificationChannel()
H A DPreferencesHelper.java709 public void setInvalidMsgAppDemoted(String packageName, int uid, boolean isDemoted) { in setInvalidMsgAppDemoted() argument
712 r.userDemotedMsgApp = isDemoted; in setInvalidMsgAppDemoted()
1424 && !nc.isDemoted() in getConversations()
1471 && !nc.isDemoted()) { in getConversations()
2048 event.writeBoolean(channel.isDemoted()); in pullPackageChannelPreferencesStats()
H A DNotificationRecord.java1456 if (mChannel.isDemoted() || mAppDemotedFromConvo) { in isConversation()
/aosp12/packages/apps/Settings/src/com/android/settings/notification/app/
H A DConversationDemotePreferenceController.java57 return !TextUtils.isEmpty(mChannel.getConversationId()) && !mChannel.isDemoted(); in isAvailable()
H A DConversationPromotePreferenceController.java57 return !TextUtils.isEmpty(mChannel.getConversationId()) && mChannel.isDemoted(); in isAvailable()
H A DChannelNotificationSettings.java71 if (!TextUtils.isEmpty(mChannel.getConversationId()) && !mChannel.isDemoted()) { in onResume()
H A DAppConversationListPreferenceController.java140 if (conversation.getNotificationChannel().isDemoted()) { in populateConversations()
H A DConversationListPreferenceController.java89 if (conversation.getNotificationChannel().isDemoted() in populateConversations()
H A DAppChannelsBypassingDndPreferenceController.java236 return channel.getConversationId() != null && !channel.isDemoted(); in isConversation()
H A DChannelListPreferenceController.java255 if (!TextUtils.isEmpty(channel.getConversationId()) && !channel.isDemoted()) { in updateGroupPreferences()
H A DNotificationSettings.java277 || mChannel.isDemoted()) { in loadConversation()
/aosp12/frameworks/base/core/java/android/app/
H A DNotificationChannel.java913 public boolean isDemoted() { in isDemoted() method in NotificationChannel
1113 if (isDemoted()) { in writeXml()
1114 out.attributeBoolean(null, ATT_DEMOTE, isDemoted()); in writeXml()
1269 && isDemoted() == that.isDemoted() in equals()
H A DINotificationManager.aidl65 void setInvalidMsgAppDemoted(String pkg, int uid, boolean isDemoted); in setInvalidMsgAppDemoted() argument
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/app/
H A DConversationDemotePreferenceControllerTest.java147 assertTrue(captor.getValue().isDemoted()); in testHandlePreferenceClick()
H A DConversationPromotePreferenceControllerTest.java150 assertFalse(captor.getValue().isDemoted()); in testHandlePreferenceClick()
/aosp12/frameworks/base/services/people/java/com/android/server/people/data/
H A DConversationInfo.java205 public boolean isDemoted() { in isDemoted() method in ConversationInfo
288 if (isDemoted()) { in toString()
H A DDataManager.java279 if (conversationInfo == null || conversationInfo.isDemoted()) { in getConversationChannel()
1245 builder.setDemoted(channel.isDemoted()); in onNotificationChannelModified()
/aosp12/packages/apps/Settings/src/com/android/settings/notification/
H A DNotificationBackend.java334 public void setInvalidMsgAppDemoted(String pkg, int uid, boolean isDemoted) { in setInvalidMsgAppDemoted() argument
336 sINM.setInvalidMsgAppDemoted(pkg, uid, isDemoted); in setInvalidMsgAppDemoted()
/aosp12/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/zen/
H A DZenModeBypassingAppsPreferenceControllerTest.java210 when(demotedConversation.isDemoted()).thenReturn(true); in testUpdateBypassingApps_demotedConversation()
/aosp12/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
H A DPreferencesHelperTest.java328 assertEquals(expected.isDemoted(), actual.isDemoted()); in compareChannels()

12