Home
last modified time | relevance | path

Searched refs:KEY_IMPORTANCE (Results 1 – 6 of 6) sorted by relevance

/aosp14/frameworks/base/core/java/android/service/notification/
H A DAdjustment.java60 KEY_IMPORTANCE,
133 public static final String KEY_IMPORTANCE = "key_importance"; field in Adjustment
/aosp14/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
H A DNotificationRecordTest.java23 import static android.service.notification.Adjustment.KEY_IMPORTANCE;
554 signals.putInt(KEY_IMPORTANCE, IMPORTANCE_LOW); in testLogMakerImportanceAsst()
555 record.addAdjustment(new Adjustment(PKG_O, KEY_IMPORTANCE, signals, "", uid)); in testLogMakerImportanceAsst()
631 signals.putInt(KEY_IMPORTANCE, IMPORTANCE_LOW); in testLogMakerImportanceMulti()
632 record.addAdjustment(new Adjustment(PKG_O, KEY_IMPORTANCE, signals, "", uid)); in testLogMakerImportanceMulti()
1089 bundle.putInt(KEY_IMPORTANCE, IMPORTANCE_LOW); in testIgnoreImportanceAdjustmentsForFixedRecords()
1112 bundle.putInt(KEY_IMPORTANCE, IMPORTANCE_LOW); in testApplyImportanceAdjustments()
H A DNotificationManagerServiceTest.java71 import static android.service.notification.Adjustment.KEY_IMPORTANCE;
1549 bundle.putInt(KEY_IMPORTANCE, IMPORTANCE_NONE); in testBlockedNotifications_blockedByAssistant()
5539 signals.putInt(KEY_IMPORTANCE, IMPORTANCE_NONE); in testAssistantBlockingTriggersCancel()
5580 signals.putInt(KEY_IMPORTANCE, IMPORTANCE_LOW); in testApplyEnqueuedAdjustmentFromAssistant_importance()
5675 signals1.putInt(Adjustment.KEY_IMPORTANCE, IMPORTANCE_HIGH); in testApplyAdjustmentsLogged()
5739 signals1.putInt(Adjustment.KEY_IMPORTANCE, IMPORTANCE_NONE); in testAdjustmentToImportanceNone_cancelsNotification()
5797 signals.putInt(Adjustment.KEY_IMPORTANCE, in testEnqueuedAdjustmentAppliesAdjustments_MultiNotifications()
8686 when(mAssistants.isAdjustmentAllowed(KEY_IMPORTANCE)).thenReturn(true); in testAdjustRestrictedKey()
8690 signals.putInt(KEY_IMPORTANCE, IMPORTANCE_LOW); in testAdjustRestrictedKey()
/aosp14/frameworks/base/services/core/java/com/android/server/notification/
H A DNotificationRecord.java732 if (signals.containsKey(Adjustment.KEY_IMPORTANCE)) { in applyAdjustments()
733 int importance = signals.getInt(Adjustment.KEY_IMPORTANCE); in applyAdjustments()
737 EventLogTags.writeNotificationAdjusted(getKey(), Adjustment.KEY_IMPORTANCE, in applyAdjustments()
H A DNotificationManagerService.java414 Adjustment.KEY_IMPORTANCE,
5743 if (adjustment.getSignals().containsKey(Adjustment.KEY_IMPORTANCE)
5744 && adjustment.getSignals().getInt(Adjustment.KEY_IMPORTANCE)
/aosp14/frameworks/base/core/api/
H A Dsystem-current.txt12558 field public static final String KEY_IMPORTANCE = "key_importance";