Home
last modified time | relevance | path

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

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationRecordTest.java18 import static android.app.NotificationChannel.USER_LOCKED_IMPORTANCE;
301 defaultChannel.lockFields(USER_LOCKED_IMPORTANCE); in testImportance_locked_preUpgrade()
313 defaultChannel.lockFields(USER_LOCKED_IMPORTANCE); in testImportance_locked_unspecified_preUpgrade()
512 channel.lockFields(channel.USER_LOCKED_IMPORTANCE); in testLogMakerImportanceUser()
534 channel.lockFields(channel.USER_LOCKED_IMPORTANCE); in testLogMakerImportanceMulti()
653 channel.lockFields(USER_LOCKED_IMPORTANCE); in testUserSentiment_userLocked()
827 channel.lockFields(USER_LOCKED_IMPORTANCE); in testCalculateImportance_systemImportance()
847 channel.lockFields(USER_LOCKED_IMPORTANCE); in testCalculateImportance_asstImportance()
875 channel.lockFields(NotificationChannel.USER_LOCKED_IMPORTANCE); in testSetContactAffinity()
DPreferencesHelperTest.java656 assertEquals(NotificationChannel.USER_LOCKED_IMPORTANCE in testChannelXml_upgradeCreateDefaultChannel()
949 | NotificationChannel.USER_LOCKED_IMPORTANCE); in testClearLockedFields()
1013 | NotificationChannel.USER_LOCKED_IMPORTANCE, in testLockFields_lightsAndImportance()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
DNotificationInfoTest.java19 import static android.app.NotificationChannel.USER_LOCKED_IMPORTANCE;
1022 & USER_LOCKED_IMPORTANCE) != 0); in testSilentlyChangedCallsUpdateNotificationChannel_blockingHelper()
1053 assertTrue(0 != (mNotificationChannel.getUserLockedFields() & USER_LOCKED_IMPORTANCE)); in testKeepUpdatesNotificationChannel_blockingHelper()
1083 assertTrue(0 != (mNotificationChannel.getUserLockedFields() & USER_LOCKED_IMPORTANCE)); in testNoActionsUpdatesNotificationChannel_blockingHelper()
1116 & USER_LOCKED_IMPORTANCE) != 0); in testSilenceCallsUpdateNotificationChannel()
1149 & USER_LOCKED_IMPORTANCE) != 0); in testUnSilenceCallsUpdateNotificationChannel()
1183 & USER_LOCKED_IMPORTANCE) != 0); in testSilenceCallsUpdateNotificationChannel_channelImportanceUnspecified()
1220 assertTrue((updated.getValue().getUserLockedFields() & USER_LOCKED_IMPORTANCE) != 0); in testSilenceCallsUpdateNotificationChannel_channelImportanceMin()
1257 assertTrue((updated.getValue().getUserLockedFields() & USER_LOCKED_IMPORTANCE) != 0); in testAlertCallsUpdateNotificationChannel_channelImportanceMin()
1347 & USER_LOCKED_IMPORTANCE) != 0); in testUnSilenceCallsUpdateNotificationChannel_channelImportanceUnspecified()
/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.java122 if ((userlock & NotificationChannel.USER_LOCKED_IMPORTANCE) != 0) { in createScreenshotChannel()
/frameworks/base/services/core/java/com/android/server/notification/
DPreferencesHelper.java116 @IntDef({LockableAppFields.USER_LOCKED_IMPORTANCE})
118 int USER_LOCKED_IMPORTANCE = 0x00000001; field
377 channel.lockFields(NotificationChannel.USER_LOCKED_IMPORTANCE); in createDefaultChannelIfNeededLocked()
534 return (userLockedFields & LockableAppFields.USER_LOCKED_IMPORTANCE) != 0; in getIsAppImportanceLocked()
1301 if ((prefs.lockedAppFields & LockableAppFields.USER_LOCKED_IMPORTANCE) != 0) { in setAppImportanceLocked()
1306 prefs.lockedAppFields | LockableAppFields.USER_LOCKED_IMPORTANCE; in setAppImportanceLocked()
1400 update.lockFields(NotificationChannel.USER_LOCKED_IMPORTANCE); in lockFieldsForUpdateLocked()
DNotificationRecord.java18 import static android.app.NotificationChannel.USER_LOCKED_IMPORTANCE;
670 && (getChannel().getUserLockedFields() & USER_LOCKED_IMPORTANCE) == 0) { in applyAdjustments()
1094 if ((getChannel().getUserLockedFields() & USER_LOCKED_IMPORTANCE) != 0 in calculateUserSentiment()
DNotificationManagerService.java4740 if (((channel.getUserLockedFields() & NotificationChannel.USER_LOCKED_IMPORTANCE) == 0
4753 channel.unlockFields(NotificationChannel.USER_LOCKED_IMPORTANCE);
/frameworks/base/core/java/android/app/
DNotificationChannel.java102 public static final int USER_LOCKED_IMPORTANCE = 0x00000004; field in NotificationChannel
132 USER_LOCKED_IMPORTANCE,
686 return (mUserLockedFields & USER_LOCKED_IMPORTANCE) != 0; in hasUserSetImportance()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/
DNotificationDataTest.java97 new NotificationChannel("id", "name", NotificationChannel.USER_LOCKED_IMPORTANCE);
452 channel.lockFields(NotificationChannel.USER_LOCKED_IMPORTANCE); in userChangeTrumpsHighPriorityCharacteristics()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DNotificationInfo.java835 mChannelToUpdate.lockFields(NotificationChannel.USER_LOCKED_IMPORTANCE);
/frameworks/base/config/
Dhiddenapi-greylist-max-o.txt8560 Landroid/app/NotificationChannel;->USER_LOCKED_IMPORTANCE:I