/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/injector/ |
D | SystemAppForegroundHelperTest.java | 78 private void setImportance(int uid, int importance) { in setImportance() method in SystemAppForegroundHelperTest 91 setImportance(0, IMPORTANCE_FOREGROUND); in testListeners() 94 setImportance(1, IMPORTANCE_FOREGROUND_SERVICE); in testListeners() 97 setImportance(2, IMPORTANCE_VISIBLE); in testListeners() 103 setImportance(0, IMPORTANCE_FOREGROUND); in testIsAppForeground() 106 setImportance(0, IMPORTANCE_FOREGROUND_SERVICE); in testIsAppForeground() 109 setImportance(0, IMPORTANCE_VISIBLE); in testIsAppForeground()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/coordinator/ |
D | ColorizedFgsCoordinatorTest.java | 81 .setImportance(IMPORTANCE_DEFAULT) in testIncludeFGSInSection_importanceDefault() 94 .setImportance(IMPORTANCE_MIN) in testDiscludeFGSInSection_importanceMin() 107 .setImportance(IMPORTANCE_HIGH) in testDiscludeNonFGSInSection() 119 .setImportance(IMPORTANCE_DEFAULT) in testIncludeCallInSection_importanceDefault() 131 .setImportance(IMPORTANCE_MIN) in testDiscludeCallInSection_importanceMin()
|
D | PreparationCoordinatorTest.java | 489 .setSummary(getNotificationEntryBuilder().setId(summaryId).setImportance(1).build()) in testPartiallyInflatedGroupsAreNotFilteredOutIfSummaryReinflate() 505 summary.setRanking(new RankingBuilder(summary.getRanking()).setImportance(4).build()); in testPartiallyInflatedGroupsAreNotFilteredOutIfSummaryReinflate()
|
D | RankingCoordinatorTest.java | 330 .setImportance(ambient in setRankingAmbient()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/ |
D | HighPriorityProviderTest.java | 72 .setImportance(IMPORTANCE_HIGH) in highImportance() 89 .setImportance(IMPORTANCE_LOW) in peopleNotification() 107 .setImportance(IMPORTANCE_HIGH) in highImportanceConversation() 124 .setImportance(IMPORTANCE_LOW) in lowImportanceConversation() 179 .setImportance(IMPORTANCE_LOW) in lowImportanceForeground() 241 .setImportance(IMPORTANCE_HIGH) in testIsHighPriority_summaryUpdated() 286 .setImportance(IMPORTANCE_HIGH) in testIsHighPriority_childEntryRankingUpdated() 295 .setImportance(highPriority ? IMPORTANCE_HIGH : IMPORTANCE_MIN) in createNotifEntry()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/interruption/ |
D | KeyguardNotificationVisibilityProviderTest.java | 260 .setImportance(IMPORTANCE_LOW) in hideSilentNotificationsPerUserSettingWithHighPriorityParent() 265 .setImportance(IMPORTANCE_LOW) in hideSilentNotificationsPerUserSettingWithHighPriorityParent() 279 .setImportance(IMPORTANCE_LOW) in keyguardShowing_hideSilentNotifications_perUserSetting() 295 .setImportance(IMPORTANCE_LOW) in keyguardShowing_hideSilentNotifications_perUserSetting_withHighPriorityParent() 300 .setImportance(IMPORTANCE_LOW) in keyguardShowing_hideSilentNotifications_perUserSetting_withHighPriorityParent() 318 .setImportance(IMPORTANCE_LOW) in hideSilentOnLockscreenSetting() 337 .setImportance(IMPORTANCE_LOW) in showSilentOnLockscreenSetting() 354 .setImportance(IMPORTANCE_LOW) in defaultSilentOnLockscreenSettingIsHide() 494 .setImportance(IMPORTANCE_MIN) in doesNotExceedThresholdToShow() 513 .setImportance(IMPORTANCE_MIN) in highPriorityCharacteristicsIgnored() [all …]
|
D | NotificationInterruptStateProviderImplTest.java | 239 .setImportance(IMPORTANCE_DEFAULT) in testShouldNotHeadsUp_suppressedForGroups() 1070 .setImportance(IMPORTANCE_HIGH) in createBubble() 1092 .setImportance(importance) in createNotification()
|
D | VisualInterruptionDecisionProviderTestBase.kt | 1271 neb.setImportance(importance) in <lambda>()
|
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/notification/collection/coordinator/ |
D | ConversationCoordinatorTest.kt | 171 val alertingEntry = makeEntryOfPeopleType(TYPE_PERSON) { setImportance(IMPORTANCE_DEFAULT) } in testInAlertingPeopleSectionWhenTheImportanceIsAtLeastDefault() 181 val silentEntry = makeEntryOfPeopleType(TYPE_PERSON) { setImportance(IMPORTANCE_LOW) } in testInAlertingPeopleSectionWhenTheImportanceIsLowerThanDefault() 191 val silentEntry = makeEntryOfPeopleType(TYPE_PERSON) { setImportance(IMPORTANCE_LOW) } in testInSilentPeopleSectionWhenTheImportanceIsLowerThanDefault() 204 val entry = makeEntryOfPeopleType(TYPE_NON_PERSON) { setImportance(IMPORTANCE_LOW) } in testNotInPeopleSection() 206 makeEntryOfPeopleType(TYPE_NON_PERSON) { setImportance(IMPORTANCE_HIGH) } in testNotInPeopleSection() 219 makeEntryOfPeopleType(TYPE_NON_PERSON) { setTag("A").setImportance(IMPORTANCE_DEFAULT) } in testInAlertingPeopleSectionWhenThereIsAnImportantChild() 221 makeEntryOfPeopleType(TYPE_NON_PERSON) { setTag("B").setImportance(IMPORTANCE_LOW) } in testInAlertingPeopleSectionWhenThereIsAnImportantChild() 222 val summary = makeEntryOfPeopleType(TYPE_PERSON) { setId(2).setImportance(IMPORTANCE_LOW) } in testInAlertingPeopleSectionWhenThereIsAnImportantChild()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/ |
D | NotificationInfoTest.java | 802 mNotificationChannel.setImportance(IMPORTANCE_LOW); in testDoesNotUpdateNotificationChannelAfterImportanceChanged() 829 mNotificationChannel.setImportance(IMPORTANCE_DEFAULT); in testDoesNotUpdateNotificationChannelAfterImportanceChangedSilenced() 856 mNotificationChannel.setImportance(IMPORTANCE_DEFAULT); in testDoesNotUpdateNotificationChannelAfterImportanceChangedAutomatic() 946 mNotificationChannel.setImportance(IMPORTANCE_UNSPECIFIED); in testHandleCloseControls_DoesNotUpdateNotificationChannelIfUnspecified() 974 mNotificationChannel.setImportance(IMPORTANCE_DEFAULT); in testSilenceCallsUpdateNotificationChannel() 1015 mNotificationChannel.setImportance(IMPORTANCE_LOW); in testUnSilenceCallsUpdateNotificationChannel() 1051 mNotificationChannel.setImportance(IMPORTANCE_DEFAULT); in testAutomaticUnlocksUserImportance() 1084 mNotificationChannel.setImportance(IMPORTANCE_UNSPECIFIED); in testSilenceCallsUpdateNotificationChannel_channelImportanceUnspecified() 1120 mNotificationChannel.setImportance(IMPORTANCE_MIN); in testSilenceCallsUpdateNotificationChannel_channelImportanceMin() 1158 mNotificationChannel.setImportance(IMPORTANCE_DEFAULT); in testSilence_closeGutsThenTryToSave() [all …]
|
D | NotificationConversationInfoTest.java | 515 mConversationChannel.setImportance(IMPORTANCE_LOW); in testBindNotification_silentSelected_isFave_isSilent() 543 mConversationChannel.setImportance(IMPORTANCE_HIGH); in testBindNotification_defaultSelected_notFave_notSilent() 575 mConversationChannel.setImportance(IMPORTANCE_HIGH); in testBindNotification_default_allCanBubble() 613 mConversationChannel.setImportance(IMPORTANCE_HIGH); in testBindNotification_priorityDnd() 642 mConversationChannel.setImportance(IMPORTANCE_HIGH); in testBindNotification_priorityBaseline() 678 mConversationChannel.setImportance(IMPORTANCE_HIGH); in testBindNotification_priorityDndAndBubble() 707 mConversationChannel.setImportance(IMPORTANCE_LOW); in testFavorite() 753 mConversationChannel.setImportance(IMPORTANCE_LOW); in testDefault() 796 mConversationChannel.setImportance(IMPORTANCE_DEFAULT); in testSilence() 841 mConversationChannel.setImportance(IMPORTANCE_LOW); in testFavorite_andSave() [all …]
|
D | FeedbackInfoTest.java | 238 .setImportance(newImportance) in getEntry()
|
D | NotificationGutsManagerTest.java | 462 .setImportance(IMPORTANCE_HIGH) in testInitializeNotificationInfoView_highPriority()
|
D | NotificationGutsManagerWithScenesTest.kt | 486 .setImportance(NotificationManager.IMPORTANCE_HIGH) in <lambda>()
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/notification/collection/ |
D | NotificationEntryBuilder.java | 325 public NotificationEntryBuilder setImportance(@NotificationManager.Importance int importance) { in setImportance() method in NotificationEntryBuilder 326 mRankingBuilder.setImportance(importance); in setImportance()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ |
D | NotificationConversationInfo.java | 644 mChannelToUpdate.setImportance(Math.max( in run() 648 mChannelToUpdate.setImportance(Math.max( in run() 658 mChannelToUpdate.setImportance(IMPORTANCE_LOW); in run()
|
D | NotificationInfo.java | 668 mChannelToUpdate.setImportance(mNewImportance);
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/ |
D | AssistantFeedbackControllerTest.java | 165 .setImportance(newImportance) in getEntry()
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/ |
D | RankingBuilder.java | 220 public RankingBuilder setImportance(@Importance int importance) { in setImportance() method in RankingBuilder
|
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/ |
D | NotificationRecordTest.java | 524 defaultChannel.setImportance(IMPORTANCE_LOW); in testImportance_locked_preUpgrade() 536 defaultChannel.setImportance(NotificationManager.IMPORTANCE_UNSPECIFIED); in testImportance_locked_unspecified_preUpgrade() 1126 channel.setImportance(IMPORTANCE_HIGH); in testCalculateImportance_systemImportance() 1144 channel.setImportance(IMPORTANCE_HIGH); in testCalculateImportance_asstImportance() 1165 channel.setImportance(IMPORTANCE_HIGH); in testCalculateImportance_asstImportanceChannelUpdate() 1185 channel.setImportance(IMPORTANCE_LOW); in testSetContactAffinity()
|
D | PreferencesHelperTest.java | 1853 defaultChannel.setImportance(NotificationManager.IMPORTANCE_LOW); in testChannelXml_defaultChannelUpdatedApp_userSettings() 2070 defaultChannel.setImportance(IMPORTANCE_NONE); in testUpdate_preUpgrade_updatesAppFields() 2097 channel.setImportance(IMPORTANCE_NONE); in testUpdate_postUpgrade_noUpdateAppFields() 2123 channel.setImportance(IMPORTANCE_NONE); in testUpdate_preUpgrade_noUpdateAppFieldsWithMultipleChannels() 2134 defaultChannel.setImportance(IMPORTANCE_NONE); in testUpdate_preUpgrade_noUpdateAppFieldsWithMultipleChannels() 2288 update2.setImportance(IMPORTANCE_DEFAULT); in testLockFields_lightsAndImportance() 3277 channel1.setImportance(IMPORTANCE_LOW); in testGetChannelGroups_noSideEffects() 5427 parentUpdate.setImportance(IMPORTANCE_HIGH); in testUpdateConversationParent_updatesUnlockedFields() 5471 parentUpdate.setImportance(IMPORTANCE_HIGH); in testUpdateConversationParent_doesNotUpdateLockedFields() 6027 channel.setImportance(IMPORTANCE_NONE); in testGetNotificationChannelGroups_withChannelFilter_includeBlocked() [all …]
|
/frameworks/base/services/core/java/com/android/server/os/ |
D | NativeTombstoneManager.java | 542 info.setImportance(RunningAppProcessInfo.IMPORTANCE_GONE); in toAppExitInfo()
|
/frameworks/base/core/java/android/app/ |
D | ApplicationExitInfo.java | 987 public void setImportance(final @Importance int importance) { in setImportance() method in ApplicationExitInfo
|
D | NotificationChannel.java | 719 public void setImportance(@Importance int importance) { in setImportance() method in NotificationChannel
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | PreferencesHelper.java | 1022 existing.setImportance(channel.getImportance()); in createNotificationChannel() 1159 updatedChannel.setImportance(channel.getImportance()); in updateNotificationChannel() 1255 conversation.setImportance(updatedParent.getImportance()); in maybeUpdateChildConversationChannel()
|