Home
last modified time | relevance | path

Searched refs:setImportance (Results 1 – 25 of 29) sorted by relevance

12

/aosp14/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/injector/
H A DSystemAppForegroundHelperTest.java78 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()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/coordinator/
H A DColorizedFgsCoordinatorTest.java81 .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()
H A DConversationCoordinatorTest.kt144 .setImportance(IMPORTANCE_DEFAULT).build()
156 .setImportance(IMPORTANCE_LOW).build()
171 .setImportance(IMPORTANCE_LOW).build()
173 .setImportance(IMPORTANCE_HIGH).build()
188 .setImportance(IMPORTANCE_DEFAULT).build()
190 .setImportance(IMPORTANCE_LOW).build()
192 .setImportance(IMPORTANCE_LOW).setChannel(channel).build()
H A DPreparationCoordinatorTest.java478 .setSummary(getNotificationEntryBuilder().setId(summaryId).setImportance(1).build()) in testPartiallyInflatedGroupsAreNotFilteredOutIfSummaryReinflate()
494 summary.setRanking(new RankingBuilder(summary.getRanking()).setImportance(4).build()); in testPartiallyInflatedGroupsAreNotFilteredOutIfSummaryReinflate()
H A DRankingCoordinatorTest.java330 .setImportance(ambient in setRankingAmbient()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/
H A DHighPriorityProviderTest.java72 .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()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/interruption/
H A DKeyguardNotificationVisibilityProviderTest.java257 .setImportance(IMPORTANCE_LOW) in hideSilentNotificationsPerUserSettingWithHighPriorityParent()
271 .setImportance(IMPORTANCE_LOW) in keyguardShowing_hideSilentNotifications_perUserSetting()
292 .setImportance(IMPORTANCE_LOW) in keyguardShowing_hideSilentNotifications_perUserSetting_withHighPriorityParent()
310 .setImportance(IMPORTANCE_LOW) in hideSilentOnLockscreenSetting()
329 .setImportance(IMPORTANCE_LOW) in showSilentOnLockscreenSetting()
346 .setImportance(IMPORTANCE_LOW) in defaultSilentOnLockscreenSettingIsHide()
461 .setImportance(IMPORTANCE_MIN) in doesNotExceedThresholdToShow()
480 .setImportance(IMPORTANCE_MIN) in highPriorityCharacteristicsIgnored()
556 .setImportance(IMPORTANCE_MIN) in summaryExceedsThresholdToShow()
570 .setImportance(IMPORTANCE_MIN) in summaryExceedsThresholdToShow()
[all …]
H A DNotificationInterruptStateProviderImplTest.java214 .setImportance(IMPORTANCE_DEFAULT) in testShouldNotHeadsUp_suppressedForGroups()
995 .setImportance(IMPORTANCE_HIGH) in createBubble()
1016 .setImportance(importance) in createNotification()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
H A DNotificationConversationInfoTest.java514 mConversationChannel.setImportance(IMPORTANCE_LOW); in testBindNotification_silentSelected_isFave_isSilent()
542 mConversationChannel.setImportance(IMPORTANCE_HIGH); in testBindNotification_defaultSelected_notFave_notSilent()
574 mConversationChannel.setImportance(IMPORTANCE_HIGH); in testBindNotification_default_allCanBubble()
612 mConversationChannel.setImportance(IMPORTANCE_HIGH); in testBindNotification_priorityDnd()
641 mConversationChannel.setImportance(IMPORTANCE_HIGH); in testBindNotification_priorityBaseline()
677 mConversationChannel.setImportance(IMPORTANCE_HIGH); in testBindNotification_priorityDndAndBubble()
706 mConversationChannel.setImportance(IMPORTANCE_LOW); in testFavorite()
752 mConversationChannel.setImportance(IMPORTANCE_LOW); in testDefault()
840 mConversationChannel.setImportance(IMPORTANCE_LOW); in testFavorite_andSave()
880 mConversationChannel.setImportance(9); in testFavorite_andSave_doesNotLowerImportance()
[all …]
H A DNotificationInfoTest.java913 mNotificationChannel.setImportance(IMPORTANCE_LOW); in testDoesNotUpdateNotificationChannelAfterImportanceChanged()
941 mNotificationChannel.setImportance(IMPORTANCE_DEFAULT); in testDoesNotUpdateNotificationChannelAfterImportanceChangedSilenced()
969 mNotificationChannel.setImportance(IMPORTANCE_DEFAULT); in testDoesNotUpdateNotificationChannelAfterImportanceChangedAutomatic()
1133 mNotificationChannel.setImportance(IMPORTANCE_LOW); in testUnSilenceCallsUpdateNotificationChannel()
1241 mNotificationChannel.setImportance(IMPORTANCE_MIN); in testSilenceCallsUpdateNotificationChannel_channelImportanceMin()
1312 mNotificationChannel.setImportance(IMPORTANCE_MIN); in testAlertCallsUpdateNotificationChannel_channelImportanceMin()
1381 mNotificationChannel.setImportance(IMPORTANCE_LOW); in testDoneText()
1413 mNotificationChannel.setImportance(IMPORTANCE_LOW); in testUnSilenceCallsUpdateNotificationChannel_channelImportanceUnspecified()
1449 mNotificationChannel.setImportance(IMPORTANCE_LOW); in testCloseControlsDoesNotUpdateIfSaveIsFalse()
1483 mNotificationChannel.setImportance(IMPORTANCE_LOW); in testCloseControlsUpdatesWhenCheckSaveListenerUsesCallback()
[all …]
H A DFeedbackInfoTest.java221 .setImportance(newImportance) in getEntry()
H A DNotificationGutsManagerTest.java355 .setImportance(IMPORTANCE_HIGH) in testInitializeNotificationInfoView_highPriority()
/aosp14/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/notification/collection/
H A DNotificationEntryBuilder.java308 public NotificationEntryBuilder setImportance(@NotificationManager.Importance int importance) { in setImportance() method in NotificationEntryBuilder
309 mRankingBuilder.setImportance(importance); in setImportance()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
H A DNotificationConversationInfo.java645 mChannelToUpdate.setImportance(Math.max( in run()
649 mChannelToUpdate.setImportance(Math.max( in run()
659 mChannelToUpdate.setImportance(IMPORTANCE_LOW); in run()
H A DNotificationInfo.java688 mChannelToUpdate.setImportance(mNewImportance);
/aosp14/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
H A DNotificationRecordTest.java390 defaultChannel.setImportance(IMPORTANCE_LOW); in testImportance_locked_preUpgrade()
402 defaultChannel.setImportance(NotificationManager.IMPORTANCE_UNSPECIFIED); in testImportance_locked_unspecified_preUpgrade()
960 channel.setImportance(IMPORTANCE_HIGH); in testCalculateImportance_systemImportance()
978 channel.setImportance(IMPORTANCE_HIGH); in testCalculateImportance_asstImportance()
999 channel.setImportance(IMPORTANCE_HIGH); in testCalculateImportance_asstImportanceChannelUpdate()
1019 channel.setImportance(IMPORTANCE_LOW); in testSetContactAffinity()
H A DPreferencesHelperTest.java1661 defaultChannel.setImportance(NotificationManager.IMPORTANCE_LOW); in testChannelXml_defaultChannelUpdatedApp_userSettings()
1876 defaultChannel.setImportance(IMPORTANCE_NONE); in testUpdate_preUpgrade_updatesAppFields()
1903 channel.setImportance(IMPORTANCE_NONE); in testUpdate_postUpgrade_noUpdateAppFields()
1929 channel.setImportance(IMPORTANCE_NONE); in testUpdate_preUpgrade_noUpdateAppFieldsWithMultipleChannels()
1940 defaultChannel.setImportance(IMPORTANCE_NONE); in testUpdate_preUpgrade_noUpdateAppFieldsWithMultipleChannels()
2094 update2.setImportance(IMPORTANCE_DEFAULT); in testLockFields_lightsAndImportance()
3052 channel1.setImportance(IMPORTANCE_LOW); in testGetChannelGroups_noSideEffects()
5223 parentUpdate.setImportance(IMPORTANCE_HIGH); in testUpdateConversationParent_updatesUnlockedFields()
5267 parentUpdate.setImportance(IMPORTANCE_HIGH); in testUpdateConversationParent_doesNotUpdateLockedFields()
/aosp14/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/
H A DRankingBuilder.java220 public RankingBuilder setImportance(@Importance int importance) { in setImportance() method in RankingBuilder
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/
H A DAssistantFeedbackControllerTest.java164 .setImportance(newImportance) in getEntry()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
H A DCentralSurfacesImplTest.java724 .setImportance(IMPORTANCE_HIGH) in testShouldHeadsUp_nonSuppressedGroupSummary()
747 .setImportance(IMPORTANCE_HIGH) in testShouldHeadsUp_suppressedGroupSummary()
767 .setImportance(IMPORTANCE_HIGH) in testShouldHeadsUp_suppressedHeadsUp()
787 .setImportance(IMPORTANCE_HIGH) in testShouldHeadsUp_noSuppressedHeadsUp()
/aosp14/frameworks/base/services/core/java/com/android/server/os/
H A DNativeTombstoneManager.java520 info.setImportance(RunningAppProcessInfo.IMPORTANCE_GONE); in toAppExitInfo()
/aosp14/frameworks/base/core/java/android/app/
H A DApplicationExitInfo.java977 public void setImportance(final @Importance int importance) { in setImportance() method in ApplicationExitInfo
H A DNotificationChannel.java606 public void setImportance(@Importance int importance) { in setImportance() method in NotificationChannel
/aosp14/frameworks/base/services/core/java/com/android/server/notification/
H A DPreferencesHelper.java962 existing.setImportance(channel.getImportance()); in createNotificationChannel()
1099 updatedChannel.setImportance(channel.getImportance()); in updateNotificationChannel()
1195 conversation.setImportance(updatedParent.getImportance()); in maybeUpdateChildConversationChannel()
/aosp14/frameworks/base/services/core/java/com/android/server/am/
H A DAppExitInfoTracker.java1046 info.setImportance(procStateToImportance(app.mState.getReportedProcState())); in obtainRawRecord()

12