Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
DNotificationInfoTest.java19 import static android.app.NotificationChannel.USER_LOCKED_IMPORTANCE;
848 & USER_LOCKED_IMPORTANCE) != 0); in testSilenceCallsUpdateNotificationChannel()
887 & USER_LOCKED_IMPORTANCE) != 0); in testUnSilenceCallsUpdateNotificationChannel()
921 & USER_LOCKED_IMPORTANCE) != 0); in testSilenceCallsUpdateNotificationChannel_channelImportanceUnspecified()
958 assertTrue((updated.getValue().getUserLockedFields() & USER_LOCKED_IMPORTANCE) != 0); in testSilenceCallsUpdateNotificationChannel_channelImportanceMin()
995 assertTrue((updated.getValue().getUserLockedFields() & USER_LOCKED_IMPORTANCE) != 0); in testAlertCallsUpdateNotificationChannel_channelImportanceMin()
1085 & USER_LOCKED_IMPORTANCE) != 0); in testUnSilenceCallsUpdateNotificationChannel_channelImportanceUnspecified()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationRecordTest.java18 import static android.app.NotificationChannel.USER_LOCKED_IMPORTANCE;
349 defaultChannel.lockFields(USER_LOCKED_IMPORTANCE); in testImportance_locked_preUpgrade()
361 defaultChannel.lockFields(USER_LOCKED_IMPORTANCE); in testImportance_locked_unspecified_preUpgrade()
560 channel.lockFields(channel.USER_LOCKED_IMPORTANCE); in testLogMakerImportanceUser()
582 channel.lockFields(channel.USER_LOCKED_IMPORTANCE); in testLogMakerImportanceMulti()
701 channel.lockFields(USER_LOCKED_IMPORTANCE); in testUserSentiment_userLocked()
875 channel.lockFields(USER_LOCKED_IMPORTANCE); in testCalculateImportance_systemImportance()
895 channel.lockFields(USER_LOCKED_IMPORTANCE); in testCalculateImportance_asstImportance()
923 channel.lockFields(NotificationChannel.USER_LOCKED_IMPORTANCE); in testSetContactAffinity()
DPreferencesHelperTest.java731 assertEquals(NotificationChannel.USER_LOCKED_IMPORTANCE in testChannelXml_upgradeCreateDefaultChannel()
1024 | NotificationChannel.USER_LOCKED_IMPORTANCE); in testClearLockedFields()
1088 | NotificationChannel.USER_LOCKED_IMPORTANCE, in testLockFields_lightsAndImportance()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/
DChannelsTest.java88 legacyChannel.lockFields(NotificationChannel.USER_LOCKED_IMPORTANCE | in testInheritFromLegacy_keepsUserLockedLegacySettings()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/
DNotificationChannels.java126 if ((userlock & NotificationChannel.USER_LOCKED_IMPORTANCE) != 0) { in createScreenshotChannel()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/
DHighPriorityProviderTest.java161 channel.lockFields(NotificationChannel.USER_LOCKED_IMPORTANCE); in userChangeTrumpsHighPriorityCharacteristics()
DNotificationEntryTest.java70 new NotificationChannel("id", "name", NotificationChannel.USER_LOCKED_IMPORTANCE);
/frameworks/base/core/java/android/app/
DNotificationChannel.java124 public static final int USER_LOCKED_IMPORTANCE = 0x00000004; field in NotificationChannel
156 USER_LOCKED_IMPORTANCE,
848 return (mUserLockedFields & USER_LOCKED_IMPORTANCE) != 0; in hasUserSetImportance()
/frameworks/base/services/core/java/com/android/server/notification/
DPreferencesHelper.java149 @IntDef({LockableAppFields.USER_LOCKED_IMPORTANCE})
151 int USER_LOCKED_IMPORTANCE = 0x00000001; field
473 channel.lockFields(NotificationChannel.USER_LOCKED_IMPORTANCE); in createDefaultChannelIfNeededLocked()
639 return (userLockedFields & LockableAppFields.USER_LOCKED_IMPORTANCE) != 0; in getIsAppImportanceLocked()
1673 if ((prefs.lockedAppFields & LockableAppFields.USER_LOCKED_IMPORTANCE) != 0) { in setAppImportanceLocked()
1678 prefs.lockedAppFields | LockableAppFields.USER_LOCKED_IMPORTANCE; in setAppImportanceLocked()
1772 update.lockFields(NotificationChannel.USER_LOCKED_IMPORTANCE); in lockFieldsForUpdateLocked()
DNotificationRecord.java18 import static android.app.NotificationChannel.USER_LOCKED_IMPORTANCE;
654 && (getChannel().getUserLockedFields() & USER_LOCKED_IMPORTANCE) == 0) { in applyAdjustments()
1122 if ((getChannel().getUserLockedFields() & USER_LOCKED_IMPORTANCE) != 0 in calculateUserSentiment()
DNotificationManagerService.java5714 if (((channel.getUserLockedFields() & NotificationChannel.USER_LOCKED_IMPORTANCE) == 0
5727 channel.unlockFields(NotificationChannel.USER_LOCKED_IMPORTANCE);
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DNotificationInfo.java622 mChannelToUpdate.lockFields(NotificationChannel.USER_LOCKED_IMPORTANCE);