Home
last modified time | relevance | path

Searched refs:USER_LOCKED_IMPORTANCE (Results 1 – 13 of 13) 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;
682 mNotificationChannel.unlockFields(USER_LOCKED_IMPORTANCE); in testBindNotification_automaticIsSelected()
874 mNotificationChannel.unlockFields(USER_LOCKED_IMPORTANCE); in testHandleCloseControls_persistAutomatic()
992 & USER_LOCKED_IMPORTANCE) != 0); in testSilenceCallsUpdateNotificationChannel()
1032 & USER_LOCKED_IMPORTANCE) != 0); in testUnSilenceCallsUpdateNotificationChannel()
1040 mNotificationChannel.lockFields(USER_LOCKED_IMPORTANCE); in testAutomaticUnlocksUserImportance()
1099 & USER_LOCKED_IMPORTANCE) != 0); in testSilenceCallsUpdateNotificationChannel_channelImportanceUnspecified()
1137 assertTrue((updated.getValue().getUserLockedFields() & USER_LOCKED_IMPORTANCE) != 0); in testSilenceCallsUpdateNotificationChannel_channelImportanceMin()
1175 assertTrue((updated.getValue().getUserLockedFields() & USER_LOCKED_IMPORTANCE) != 0); in testAlertCallsUpdateNotificationChannel_channelImportanceMin()
1268 & 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;
387 defaultChannel.lockFields(USER_LOCKED_IMPORTANCE); in testImportance_locked_preUpgrade()
399 defaultChannel.lockFields(USER_LOCKED_IMPORTANCE); in testImportance_locked_unspecified_preUpgrade()
598 channel.lockFields(channel.USER_LOCKED_IMPORTANCE); in testLogMakerImportanceUser()
620 channel.lockFields(channel.USER_LOCKED_IMPORTANCE); in testLogMakerImportanceMulti()
739 channel.lockFields(USER_LOCKED_IMPORTANCE); in testUserSentiment_userLocked()
913 channel.lockFields(USER_LOCKED_IMPORTANCE); in testCalculateImportance_systemImportance()
933 channel.lockFields(USER_LOCKED_IMPORTANCE); in testCalculateImportance_asstImportance()
963 channel.lockFields(NotificationChannel.USER_LOCKED_IMPORTANCE); in testSetContactAffinity()
DPreferencesHelperTest.java22 import static android.app.NotificationChannel.USER_LOCKED_IMPORTANCE;
796 assertEquals(NotificationChannel.USER_LOCKED_IMPORTANCE in testChannelXml_upgradeCreateDefaultChannel()
1089 | NotificationChannel.USER_LOCKED_IMPORTANCE); in testClearLockedFields()
1153 | NotificationChannel.USER_LOCKED_IMPORTANCE, in testLockFields_lightsAndImportance()
3997 channel.lockFields(USER_LOCKED_IMPORTANCE); in testUnlockNotificationChannelImportance()
3998 assertTrue((channel.getUserLockedFields() & USER_LOCKED_IMPORTANCE) != 0); in testUnlockNotificationChannelImportance()
4001 assertTrue((channel.getUserLockedFields() & USER_LOCKED_IMPORTANCE) == 0); in testUnlockNotificationChannelImportance()
4014 channelA.lockFields(USER_LOCKED_IMPORTANCE); in testUnlockAllNotificationChannels()
4015 channelB.lockFields(USER_LOCKED_IMPORTANCE); in testUnlockAllNotificationChannels()
4016 channelC.lockFields(USER_LOCKED_IMPORTANCE); in testUnlockAllNotificationChannels()
[all …]
/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.java127 if ((userlock & NotificationChannel.USER_LOCKED_IMPORTANCE) != 0) { in createScreenshotChannel()
/frameworks/base/services/core/java/com/android/server/notification/
DPreferencesHelper.java21 import static android.app.NotificationChannel.USER_LOCKED_IMPORTANCE;
157 @IntDef({LockableAppFields.USER_LOCKED_IMPORTANCE})
159 int USER_LOCKED_IMPORTANCE = 0x00000001; field
512 channel.lockFields(NotificationChannel.USER_LOCKED_IMPORTANCE); in createDefaultChannelIfNeededLocked()
677 return (userLockedFields & LockableAppFields.USER_LOCKED_IMPORTANCE) != 0; in getIsAppImportanceLocked()
991 channel.unlockFields(USER_LOCKED_IMPORTANCE); in unlockNotificationChannelImportance()
1769 if ((prefs.lockedAppFields & LockableAppFields.USER_LOCKED_IMPORTANCE) != 0) { in setAppImportanceLocked()
1774 prefs.lockedAppFields | LockableAppFields.USER_LOCKED_IMPORTANCE; in setAppImportanceLocked()
1868 update.lockFields(NotificationChannel.USER_LOCKED_IMPORTANCE); in lockFieldsForUpdateLocked()
2524 channel.unlockFields(USER_LOCKED_IMPORTANCE); in unlockAllNotificationChannels()
DNotificationRecord.java18 import static android.app.NotificationChannel.USER_LOCKED_IMPORTANCE;
667 && (getChannel().getUserLockedFields() & USER_LOCKED_IMPORTANCE) == 0) { in applyAdjustments()
1139 if ((getChannel().getUserLockedFields() & USER_LOCKED_IMPORTANCE) != 0 in calculateUserSentiment()
DNotificationManagerService.java6269 if (((channel.getUserLockedFields() & NotificationChannel.USER_LOCKED_IMPORTANCE) == 0
6282 channel.unlockFields(NotificationChannel.USER_LOCKED_IMPORTANCE);
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/
DHighPriorityProviderTest.java143 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.java171 public static final int USER_LOCKED_IMPORTANCE = 0x00000004; field in NotificationChannel
202 USER_LOCKED_IMPORTANCE,
932 return (mUserLockedFields & USER_LOCKED_IMPORTANCE) != 0; in hasUserSetImportance()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DNotificationInfo.java672 mChannelToUpdate.lockFields(NotificationChannel.USER_LOCKED_IMPORTANCE);
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt8032 Landroid/app/NotificationChannel;->USER_LOCKED_IMPORTANCE:I