Searched refs:KEY_IMPORTANCE (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/core/java/android/service/notification/ |
D | Adjustment.java | 56 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/ |
D | NotificationRecordTest.java | 22 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()
|
D | NotificationManagerServiceTest.java | 46 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/ |
D | NotificationRecord.java | 682 if (signals.containsKey(Adjustment.KEY_IMPORTANCE)) { in applyAdjustments() 683 int importance = signals.getInt(Adjustment.KEY_IMPORTANCE); in applyAdjustments()
|
D | NotificationManagerService.java | 4016 if (adjustment.getSignals().containsKey(Adjustment.KEY_IMPORTANCE) 4017 && adjustment.getSignals().getInt(Adjustment.KEY_IMPORTANCE)
|
/frameworks/base/api/ |
D | test-current.txt | 2646 field public static final String KEY_IMPORTANCE = "key_importance";
|
D | system-current.txt | 6561 field public static final String KEY_IMPORTANCE = "key_importance";
|