Home
last modified time | relevance | path

Searched refs:USER_LOCKED_IMPORTANCE (Results 1 – 9 of 9) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DNotificationInfoTest.java19 import static android.app.NotificationChannel.USER_LOCKED_IMPORTANCE;
630 & USER_LOCKED_IMPORTANCE) != 0); in testBlockChangedCallsUpdateNotificationChannel()
661 & USER_LOCKED_IMPORTANCE) != 0); in testBlockChangedCallsUpdateNotificationChannel_blockingHelper()
696 & USER_LOCKED_IMPORTANCE) != 0); in testMinChangedCallsUpdateNotificationChannel()
713 assertTrue(0 != (mNotificationChannel.getUserLockedFields() & USER_LOCKED_IMPORTANCE)); in testKeepUpdatesNotificationChannel()
734 assertTrue(0 != (mNotificationChannel.getUserLockedFields() & USER_LOCKED_IMPORTANCE)); in testBlockUndoDoesNotBlockNotificationChannel()
755 assertTrue(0 != (mNotificationChannel.getUserLockedFields() & USER_LOCKED_IMPORTANCE)); in testMinUndoDoesNotMinNotificationChannel()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationRecordTest.java18 import static android.app.NotificationChannel.USER_LOCKED_IMPORTANCE;
309 defaultChannel.lockFields(USER_LOCKED_IMPORTANCE); in testImportance_locked_preUpgrade()
321 defaultChannel.lockFields(USER_LOCKED_IMPORTANCE); in testImportance_locked_unspecified_preUpgrade()
574 channel.lockFields(USER_LOCKED_IMPORTANCE); in testUserSentiment_userLocked()
DRankingHelperTest.java688 assertEquals(NotificationChannel.USER_LOCKED_IMPORTANCE in testChannelXml_upgradeCreateDefaultChannel()
937 | NotificationChannel.USER_LOCKED_IMPORTANCE); in testClearLockedFields()
1001 | NotificationChannel.USER_LOCKED_IMPORTANCE, in testLockFields_lightsAndImportance()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/
DNotificationChannels.java123 if ((userlock & NotificationChannel.USER_LOCKED_IMPORTANCE) != 0) { in createScreenshotChannel()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/
DChannelsTest.java91 legacyChannel.lockFields(NotificationChannel.USER_LOCKED_IMPORTANCE | in testInheritFromLegacy_keepsUserLockedLegacySettings()
/frameworks/base/services/core/java/com/android/server/notification/
DRankingHelper.java103 @IntDef({LockableAppFields.USER_LOCKED_IMPORTANCE})
105 int USER_LOCKED_IMPORTANCE = 0x00000001; field
380 channel.lockFields(NotificationChannel.USER_LOCKED_IMPORTANCE); in createDefaultChannelIfNeeded()
540 return (userLockedFields & LockableAppFields.USER_LOCKED_IMPORTANCE) != 0; in getIsAppImportanceLocked()
1045 if ((record.lockedAppFields & LockableAppFields.USER_LOCKED_IMPORTANCE) != 0) { in setAppImportanceLocked()
1049 record.lockedAppFields = record.lockedAppFields | LockableAppFields.USER_LOCKED_IMPORTANCE; in setAppImportanceLocked()
1062 update.lockFields(NotificationChannel.USER_LOCKED_IMPORTANCE); in lockFieldsForUpdate()
DNotificationRecord.java18 import static android.app.NotificationChannel.USER_LOCKED_IMPORTANCE;
346 & USER_LOCKED_IMPORTANCE) == 0)) { in calculateImportance()
619 && (getChannel().getUserLockedFields() & USER_LOCKED_IMPORTANCE) == 0) { in applyAdjustments()
974 if ((getChannel().getUserLockedFields() & USER_LOCKED_IMPORTANCE) != 0 in calculateUserSentiment()
/frameworks/base/core/java/android/app/
DNotificationChannel.java95 public static final int USER_LOCKED_IMPORTANCE = 0x00000004; field in NotificationChannel
120 USER_LOCKED_IMPORTANCE,
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationInfo.java545 mChannelToUpdate.lockFields(NotificationChannel.USER_LOCKED_IMPORTANCE); in run()