Home
last modified time | relevance | path

Searched refs:KEY_IMPORTANCE (Results 1 – 8 of 8) 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;
490 signals.putInt(KEY_IMPORTANCE, IMPORTANCE_LOW); in testLogMakerImportanceAsst()
491 record.addAdjustment(new Adjustment(PKG_O, KEY_IMPORTANCE, signals, "", uid)); in testLogMakerImportanceAsst()
567 signals.putInt(KEY_IMPORTANCE, IMPORTANCE_LOW); in testLogMakerImportanceMulti()
568 record.addAdjustment(new Adjustment(PKG_O, KEY_IMPORTANCE, signals, "", uid)); in testLogMakerImportanceMulti()
970 bundle.putInt(KEY_IMPORTANCE, IMPORTANCE_LOW); in testIgnoreImportanceAdjustmentsForOemLockedChannels()
994 bundle.putInt(KEY_IMPORTANCE, IMPORTANCE_LOW); in testIgnoreImportanceAdjustmentsForDefaultAppLockedChannels()
1018 bundle.putInt(KEY_IMPORTANCE, IMPORTANCE_LOW); in testApplyImportanceAdjustmentsForNonOemDefaultAppLockedChannels()
DNotificationManagerServiceTest.java47 import static android.service.notification.Adjustment.KEY_IMPORTANCE;
940 bundle.putInt(KEY_IMPORTANCE, IMPORTANCE_NONE); in testBlockedNotifications_blockedByAssistant()
2991 signals.putInt(KEY_IMPORTANCE, IMPORTANCE_NONE); in testAssistantBlockingTriggersCancel()
3032 signals.putInt(KEY_IMPORTANCE, IMPORTANCE_LOW); in testApplyEnqueuedAdjustmentFromAssistant_importance()
4959 when(mAssistants.isAdjustmentAllowed(KEY_IMPORTANCE)).thenReturn(true); in testAdjustRestrictedKey()
4963 signals.putInt(KEY_IMPORTANCE, IMPORTANCE_LOW); in testAdjustRestrictedKey()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationRecord.java652 if (signals.containsKey(Adjustment.KEY_IMPORTANCE)) { in applyAdjustments()
653 int importance = signals.getInt(Adjustment.KEY_IMPORTANCE); in applyAdjustments()
DNotificationManagerService.java1899 mAssistants.allowAdjustmentType(Adjustment.KEY_IMPORTANCE); in registerDeviceConfigChange()
4093 if (adjustment.getSignals().containsKey(Adjustment.KEY_IMPORTANCE)
4094 && adjustment.getSignals().getInt(Adjustment.KEY_IMPORTANCE)
/frameworks/base/api/
Dtest-current.txt2935 field public static final String KEY_IMPORTANCE = "key_importance";
Dsystem-current.txt7383 field public static final String KEY_IMPORTANCE = "key_importance";
/frameworks/base/non-updatable-api/
Dsystem-current.txt7281 field public static final String KEY_IMPORTANCE = "key_importance";