Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/service/notification/
DAdjustment.java56 KEY_CONTEXTUAL_ACTIONS, KEY_GROUP_KEY, KEY_IMPORTANCE, KEY_PEOPLE, KEY_SNOOZE_CRITERIA,
124 public static final String KEY_IMPORTANCE = "key_importance"; field in Adjustment
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationRecordTest.java22 import static android.service.notification.Adjustment.KEY_IMPORTANCE;
464 signals.putInt(KEY_IMPORTANCE, IMPORTANCE_LOW); in testLogMakerImportanceAsst()
465 record.addAdjustment(new Adjustment(PKG_O, KEY_IMPORTANCE, signals, "", uid)); in testLogMakerImportanceAsst()
541 signals.putInt(KEY_IMPORTANCE, IMPORTANCE_LOW); in testLogMakerImportanceMulti()
542 record.addAdjustment(new Adjustment(PKG_O, KEY_IMPORTANCE, signals, "", uid)); in testLogMakerImportanceMulti()
944 bundle.putInt(KEY_IMPORTANCE, IMPORTANCE_LOW); in testIgnoreImportanceAdjustmentsForOemLockedChannels()
968 bundle.putInt(KEY_IMPORTANCE, IMPORTANCE_LOW); in testIgnoreImportanceAdjustmentsForDefaultAppLockedChannels()
992 bundle.putInt(KEY_IMPORTANCE, IMPORTANCE_LOW); in testApplyImportanceAdjustmentsForNonOemDefaultAppLockedChannels()
DNotificationManagerServiceTest.java46 import static android.service.notification.Adjustment.KEY_IMPORTANCE;
884 bundle.putInt(KEY_IMPORTANCE, IMPORTANCE_NONE); in testBlockedNotifications_blockedByAssistant()
2927 signals.putInt(KEY_IMPORTANCE, IMPORTANCE_NONE); in testAssistantBlockingTriggersCancel()
2968 signals.putInt(KEY_IMPORTANCE, IMPORTANCE_LOW); in testApplyEnqueuedAdjustmentFromAssistant_importance()
4890 when(mAssistants.isAdjustmentAllowed(KEY_IMPORTANCE)).thenReturn(true); in testAdjustRestrictedKey()
4894 signals.putInt(KEY_IMPORTANCE, IMPORTANCE_LOW); in testAdjustRestrictedKey()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationRecord.java682 if (signals.containsKey(Adjustment.KEY_IMPORTANCE)) { in applyAdjustments()
683 int importance = signals.getInt(Adjustment.KEY_IMPORTANCE); in applyAdjustments()
DNotificationManagerService.java4016 if (adjustment.getSignals().containsKey(Adjustment.KEY_IMPORTANCE)
4017 && adjustment.getSignals().getInt(Adjustment.KEY_IMPORTANCE)
/frameworks/base/api/
Dtest-current.txt2646 field public static final String KEY_IMPORTANCE = "key_importance";
Dsystem-current.txt6561 field public static final String KEY_IMPORTANCE = "key_importance";