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;
512 signals.putInt(KEY_IMPORTANCE, IMPORTANCE_LOW); in testLogMakerImportanceAsst()
513 record.addAdjustment(new Adjustment(PKG_O, KEY_IMPORTANCE, signals, "", uid)); in testLogMakerImportanceAsst()
589 signals.putInt(KEY_IMPORTANCE, IMPORTANCE_LOW); in testLogMakerImportanceMulti()
590 record.addAdjustment(new Adjustment(PKG_O, KEY_IMPORTANCE, signals, "", uid)); in testLogMakerImportanceMulti()
992 bundle.putInt(KEY_IMPORTANCE, IMPORTANCE_LOW); in testIgnoreImportanceAdjustmentsForOemLockedChannels()
1016 bundle.putInt(KEY_IMPORTANCE, IMPORTANCE_LOW); in testIgnoreImportanceAdjustmentsForDefaultAppLockedChannels()
1040 bundle.putInt(KEY_IMPORTANCE, IMPORTANCE_LOW); in testApplyImportanceAdjustmentsForNonOemDefaultAppLockedChannels()
DNotificationManagerServiceTest.java53 import static android.service.notification.Adjustment.KEY_IMPORTANCE;
1175 bundle.putInt(KEY_IMPORTANCE, IMPORTANCE_NONE); in testBlockedNotifications_blockedByAssistant()
3652 signals.putInt(KEY_IMPORTANCE, IMPORTANCE_NONE); in testAssistantBlockingTriggersCancel()
3693 signals.putInt(KEY_IMPORTANCE, IMPORTANCE_LOW); in testApplyEnqueuedAdjustmentFromAssistant_importance()
5571 when(mAssistants.isAdjustmentAllowed(KEY_IMPORTANCE)).thenReturn(true); in testAdjustRestrictedKey()
5575 signals.putInt(KEY_IMPORTANCE, IMPORTANCE_LOW); in testAdjustRestrictedKey()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationRecord.java666 if (signals.containsKey(Adjustment.KEY_IMPORTANCE)) { in applyAdjustments()
667 int importance = signals.getInt(Adjustment.KEY_IMPORTANCE); in applyAdjustments()
DNotificationManagerService.java2160 mAssistants.allowAdjustmentType(Adjustment.KEY_IMPORTANCE); in registerDeviceConfigChange()
4879 if (adjustment.getSignals().containsKey(Adjustment.KEY_IMPORTANCE)
4880 && adjustment.getSignals().getInt(Adjustment.KEY_IMPORTANCE)
/frameworks/base/api/
Dtest-current.txt3671 field public static final String KEY_IMPORTANCE = "key_importance";
Dsystem-current.txt9867 field public static final String KEY_IMPORTANCE = "key_importance";
/frameworks/base/non-updatable-api/
Dsystem-current.txt8749 field public static final String KEY_IMPORTANCE = "key_importance";