Home
last modified time | relevance | path

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

12

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/
DAppForegroundHelperTest.java78 private void setImportance(int uid, int importance) { in setImportance() method in AppForegroundHelperTest
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/
DNotificationRankingManagerTest.kt90 .setImportance(IMPORTANCE_LOW) // low priority in <lambda>()
104 .setImportance(IMPORTANCE_HIGH) // high priority in <lambda>()
130 .setImportance(IMPORTANCE_HIGH) in <lambda>()
145 .setImportance(IMPORTANCE_HIGH) in <lambda>()
167 .setImportance(IMPORTANCE_HIGH) in <lambda>()
184 .setImportance(IMPORTANCE_HIGH) in <lambda>()
210 .setImportance(IMPORTANCE_HIGH) in <lambda>()
226 .setImportance(IMPORTANCE_HIGH) in <lambda>()
255 .setImportance(IMPORTANCE_HIGH) in <lambda>()
271 .setImportance(IMPORTANCE_HIGH) in <lambda>()
[all …]
DHighPriorityProviderTest.java71 .setImportance(IMPORTANCE_HIGH) in highImportance()
88 .setImportance(IMPORTANCE_LOW) in peopleNotification()
123 .setImportance(IMPORTANCE_LOW) in lowImportanceForeground()
141 .setImportance(IMPORTANCE_MIN) in minImportanceForeground()
203 .setImportance(IMPORTANCE_HIGH) in testIsHighPriority_summaryUpdated()
240 .setImportance(IMPORTANCE_HIGH) in testIsHighPriority_childEntryRankingUpdated()
250 .setImportance(highPriority ? IMPORTANCE_HIGH : IMPORTANCE_MIN) in createNotifEntry()
DNotificationEntryBuilder.java256 public NotificationEntryBuilder setImportance(@NotificationManager.Importance int importance) { in setImportance() method in NotificationEntryBuilder
257 mRankingBuilder.setImportance(importance); in setImportance()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/coordinator/
DKeyguardCoordinatorTest.java177 .setImportance(IMPORTANCE_MIN) in doesNotExceedThresholdToShow()
198 .setImportance(IMPORTANCE_MIN) in summaryExceedsThresholdToShow()
204 .setImportance(IMPORTANCE_HIGH) in summaryExceedsThresholdToShow()
213 .setImportance(IMPORTANCE_MIN) in summaryExceedsThresholdToShow()
245 .setImportance(IMPORTANCE_HIGH) in setupUnfilteredState()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
DNotificationInfoTest.java708 mNotificationChannel.setImportance(IMPORTANCE_LOW); in testDoesNotUpdateNotificationChannelAfterImportanceChanged()
734 mNotificationChannel.setImportance(IMPORTANCE_DEFAULT); in testDoesNotUpdateNotificationChannelAfterImportanceChangedSilenced()
794 mNotificationChannel.setImportance(IMPORTANCE_UNSPECIFIED); in testHandleCloseControls_DoesNotUpdateNotificationChannelIfUnspecified()
821 mNotificationChannel.setImportance(IMPORTANCE_DEFAULT); in testSilenceCallsUpdateNotificationChannel()
860 mNotificationChannel.setImportance(IMPORTANCE_LOW); in testUnSilenceCallsUpdateNotificationChannel()
894 mNotificationChannel.setImportance(IMPORTANCE_UNSPECIFIED); in testSilenceCallsUpdateNotificationChannel_channelImportanceUnspecified()
928 mNotificationChannel.setImportance(IMPORTANCE_MIN); in testSilenceCallsUpdateNotificationChannel_channelImportanceMin()
965 mNotificationChannel.setImportance(IMPORTANCE_MIN); in testAlertCallsUpdateNotificationChannel_channelImportanceMin()
1001 mNotificationChannel.setImportance(IMPORTANCE_DEFAULT); in testAdjustImportanceTemporarilyAllowsReordering()
1028 mNotificationChannel.setImportance(IMPORTANCE_LOW); in testDoneText()
[all …]
DNotificationConversationInfoTest.java506 mConversationChannel.setImportance(IMPORTANCE_LOW); in testBindNotification_silentSelected_isFave_isSilent()
533 mConversationChannel.setImportance(IMPORTANCE_HIGH); in testBindNotification_defaultSelected_notFave_notSilent()
564 mConversationChannel.setImportance(IMPORTANCE_HIGH); in testBindNotification_default_allCanBubble()
594 mConversationChannel.setImportance(IMPORTANCE_LOW); in testFavorite()
639 mConversationChannel.setImportance(IMPORTANCE_LOW); in testDefault()
681 mConversationChannel.setImportance(IMPORTANCE_DEFAULT); in testSilence()
725 mConversationChannel.setImportance(IMPORTANCE_LOW); in testFavorite_andSave()
763 mConversationChannel.setImportance(9); in testFavorite_andSave_doesNotLowerImportance()
798 mConversationChannel.setImportance(IMPORTANCE_HIGH); in testFavorite_thenDefaultThenFavorite_andSave_nothingChanged()
908 mConversationChannel.setImportance(9); in testDefault_andSave_doesNotDemoteImportance()
[all …]
DNotificationGutsManagerTest.java349 .setImportance(IMPORTANCE_HIGH) in testInitializeNotificationInfoView_highPriority()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DNotificationLockscreenUserManagerTest.java330 .setImportance(IMPORTANCE_LOW) in testShowSilentNotifications_settingSaysShow()
349 .setImportance(IMPORTANCE_LOW) in testShowSilentNotifications_settingSaysHide()
368 .setImportance(IMPORTANCE_LOW) in testShowSilentNotificationsPeopleBucket_settingSaysHide()
387 .setImportance(IMPORTANCE_LOW) in testShowSilentNotificationsMediaBucket_settingSaysHide()
DRankingBuilder.java204 public RankingBuilder setImportance(@Importance int importance) { in setImportance() method in RankingBuilder
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/interruption/
DNotificationInterruptStateProviderImplTest.java209 .setImportance(IMPORTANCE_DEFAULT) in testShouldNotHeadsUp_suppressedForGroups()
494 .setImportance(IMPORTANCE_HIGH) in createBubble()
510 .setImportance(importance) in createNotification()
/frameworks/base/services/core/java/com/android/server/notification/
DRankingConfig.java27 void setImportance(String packageName, int uid, int importance); in setImportance() method
DPreferencesHelper.java848 existing.setImportance(channel.getImportance()); in createNotificationChannel()
967 updatedChannel.setImportance(channel.getImportance()); in updateNotificationChannel()
973 updatedChannel.setImportance(channel.getImportance()); in updateNotificationChannel()
1648 public void setImportance(String pkgName, int uid, int importance) { in setImportance() method in PreferencesHelper
1660 setImportance(packageName, uid, in setEnabled()
DNotificationManagerService.java5724 channel.setImportance(IMPORTANCE_LOW);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DNotificationConversationInfo.java637 mChannelToUpdate.setImportance(Math.max( in run()
641 mChannelToUpdate.setImportance(Math.max( in run()
651 mChannelToUpdate.setImportance(IMPORTANCE_LOW); in run()
DNotificationInfo.java621 mChannelToUpdate.setImportance(mNewImportance);
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/
DChannelsTest.java85 legacyChannel.setImportance(NotificationManager.IMPORTANCE_NONE);; in testInheritFromLegacy_keepsUserLockedLegacySettings()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/
DNotificationChannels.java127 screenshotChannel.setImportance(legacySS.getImportance()); in createScreenshotChannel()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/
DForegroundServiceControllerTest.java556 .setImportance(NotificationManager.IMPORTANCE_DEFAULT) in createFgEntry()
573 .setImportance(importance) in entryAdded()
581 .setImportance(importance) in entryUpdated()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationRecordTest.java348 defaultChannel.setImportance(IMPORTANCE_LOW); in testImportance_locked_preUpgrade()
360 defaultChannel.setImportance(NotificationManager.IMPORTANCE_UNSPECIFIED); in testImportance_locked_unspecified_preUpgrade()
865 channel.setImportance(IMPORTANCE_HIGH); in testCalculateImportance_systemImportance()
883 channel.setImportance(IMPORTANCE_HIGH); in testCalculateImportance_asstImportance()
904 channel.setImportance(IMPORTANCE_HIGH); in testCalculateImportance_asstImportanceChannelUpdate()
922 channel.setImportance(IMPORTANCE_LOW); in testSetContactAffinity()
DPreferencesHelperTest.java478 mHelper.setImportance(PKG_O, UID_O, IMPORTANCE_NONE); in testChannelXmlForBackup()
698 defaultChannel.setImportance(NotificationManager.IMPORTANCE_LOW); in testChannelXml_defaultChannelUpdatedApp_userSettings()
792 mHelper.setImportance(PKG_N_MR1, UID_N_MR1, IMPORTANCE_NONE); in testCreateChannel_blocked()
862 mHelper.setImportance(PKG_N_MR1, UID_N_MR1, IMPORTANCE_UNSPECIFIED); in testUpdate_preUpgrade_updatesAppFields()
873 defaultChannel.setImportance(IMPORTANCE_NONE); in testUpdate_preUpgrade_updatesAppFields()
900 channel.setImportance(IMPORTANCE_NONE); in testUpdate_postUpgrade_noUpdateAppFields()
927 channel.setImportance(IMPORTANCE_NONE); in testUpdate_preUpgrade_noUpdateAppFieldsWithMultipleChannels()
937 defaultChannel.setImportance(IMPORTANCE_NONE); in testUpdate_preUpgrade_noUpdateAppFieldsWithMultipleChannels()
1085 update2.setImportance(IMPORTANCE_DEFAULT); in testLockFields_lightsAndImportance()
1721 mHelper.setImportance(PKG_N_MR1, UID_N_MR1, NotificationManager.IMPORTANCE_HIGH); in testOnPackageChanged_packageRemoval_importance()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DStatusBarTest.java576 .setImportance(IMPORTANCE_HIGH) in testShouldHeadsUp_nonSuppressedGroupSummary()
600 .setImportance(IMPORTANCE_HIGH) in testShouldHeadsUp_suppressedGroupSummary()
620 .setImportance(IMPORTANCE_HIGH) in testShouldHeadsUp_suppressedHeadsUp()
641 .setImportance(IMPORTANCE_HIGH) in testShouldHeadsUp_noSuppressedHeadsUp()
/frameworks/base/core/java/android/app/
DApplicationExitInfo.java749 public void setImportance(final @Importance int importance) { in setImportance() method in ApplicationExitInfo
DNotificationChannel.java533 public void setImportance(@Importance int importance) { in setImportance() method in NotificationChannel
/frameworks/base/services/core/java/com/android/server/am/
DAppExitInfoTracker.java943 info.setImportance(procStateToImportance(app.setProcState)); in obtainRawRecordLocked()

12