Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
DNotificationInfoTest.java20 import static android.app.NotificationChannel.USER_LOCKED_IMPORTANCE;
692 mNotificationChannel.unlockFields(USER_LOCKED_IMPORTANCE); in testBindNotification_automaticIsSelected()
884 mNotificationChannel.unlockFields(USER_LOCKED_IMPORTANCE); in testHandleCloseControls_persistAutomatic()
1002 & USER_LOCKED_IMPORTANCE) != 0); in testSilenceCallsUpdateNotificationChannel()
1043 & USER_LOCKED_IMPORTANCE) != 0); in testUnSilenceCallsUpdateNotificationChannel()
1052 mNotificationChannel.lockFields(USER_LOCKED_IMPORTANCE); in testAutomaticUnlocksUserImportance()
1112 & USER_LOCKED_IMPORTANCE) != 0); in testSilenceCallsUpdateNotificationChannel_channelImportanceUnspecified()
1151 assertTrue((updated.getValue().getUserLockedFields() & USER_LOCKED_IMPORTANCE) != 0); in testSilenceCallsUpdateNotificationChannel_channelImportanceMin()
1220 assertTrue((updated.getValue().getUserLockedFields() & USER_LOCKED_IMPORTANCE) != 0); in testAlertCallsUpdateNotificationChannel_channelImportanceMin()
1315 & 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;
525 defaultChannel.lockFields(USER_LOCKED_IMPORTANCE); in testImportance_locked_preUpgrade()
537 defaultChannel.lockFields(USER_LOCKED_IMPORTANCE); in testImportance_locked_unspecified_preUpgrade()
736 channel.lockFields(channel.USER_LOCKED_IMPORTANCE); in testLogMakerImportanceUser()
758 channel.lockFields(channel.USER_LOCKED_IMPORTANCE); in testLogMakerImportanceMulti()
909 channel.lockFields(USER_LOCKED_IMPORTANCE); in testUserSentiment_userLocked()
1136 channel.lockFields(USER_LOCKED_IMPORTANCE); in testCalculateImportance_systemImportance()
1156 channel.lockFields(USER_LOCKED_IMPORTANCE); in testCalculateImportance_asstImportance()
1186 channel.lockFields(NotificationChannel.USER_LOCKED_IMPORTANCE); in testSetContactAffinity()
DPreferencesHelperTest.java27 import static android.app.NotificationChannel.USER_LOCKED_IMPORTANCE;
1888 assertEquals(NotificationChannel.USER_LOCKED_IMPORTANCE in testChannelXml_upgradeCreateDefaultChannel()
2224 | NotificationChannel.USER_LOCKED_IMPORTANCE); in testClearLockedFields()
2292 | NotificationChannel.USER_LOCKED_IMPORTANCE, in testLockFields_lightsAndImportance()
5463 USER_LOCKED_PRIORITY | USER_LOCKED_VISIBILITY | USER_LOCKED_IMPORTANCE in testUpdateConversationParent_doesNotUpdateLockedFields()
5857 channel.lockFields(USER_LOCKED_IMPORTANCE); in testUnlockNotificationChannelImportance()
5858 assertTrue((channel.getUserLockedFields() & USER_LOCKED_IMPORTANCE) != 0); in testUnlockNotificationChannelImportance()
5861 assertTrue((channel.getUserLockedFields() & USER_LOCKED_IMPORTANCE) == 0); in testUnlockNotificationChannelImportance()
5874 channelA.lockFields(USER_LOCKED_IMPORTANCE); in testUnlockAllNotificationChannels()
5875 channelB.lockFields(USER_LOCKED_IMPORTANCE); in testUnlockAllNotificationChannels()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/
DNotificationEntryTest.java73 new NotificationChannel("id", "name", NotificationChannel.USER_LOCKED_IMPORTANCE);
316 new NotificationChannel("id", "name", NotificationChannel.USER_LOCKED_IMPORTANCE); in testIsChannelVisibilityPrivate_visibilityPublic_false()
DHighPriorityProviderTest.java198 channel.lockFields(NotificationChannel.USER_LOCKED_IMPORTANCE); in userChangeTrumpsHighPriorityCharacteristics()
/frameworks/base/services/core/java/com/android/server/notification/
DPreferencesHelper.java21 import static android.app.NotificationChannel.USER_LOCKED_IMPORTANCE;
186 @IntDef({LockableAppFields.USER_LOCKED_IMPORTANCE})
188 int USER_LOCKED_IMPORTANCE = 0x00000001; field
597 channel.lockFields(NotificationChannel.USER_LOCKED_IMPORTANCE); in createDefaultChannelIfNeededLocked()
1125 channel.unlockFields(USER_LOCKED_IMPORTANCE); in unlockNotificationChannelImportance()
1253 if ((conversation.getUserLockedFields() & NotificationChannel.USER_LOCKED_IMPORTANCE) == 0 in maybeUpdateChildConversationChannel()
1951 if ((prefs.lockedAppFields & LockableAppFields.USER_LOCKED_IMPORTANCE) != 0) { in setAppImportanceLocked()
1956 prefs.lockedAppFields | LockableAppFields.USER_LOCKED_IMPORTANCE; in setAppImportanceLocked()
2024 update.lockFields(NotificationChannel.USER_LOCKED_IMPORTANCE); in lockFieldsForUpdateLocked()
2904 channel.unlockFields(USER_LOCKED_IMPORTANCE); in unlockAllNotificationChannels()
DNotificationRecord.java22 import static android.app.NotificationChannel.USER_LOCKED_IMPORTANCE;
729 && (getChannel().getUserLockedFields() & USER_LOCKED_IMPORTANCE) == 0) { in applyAdjustments()
1276 if ((getChannel().getUserLockedFields() & USER_LOCKED_IMPORTANCE) != 0 in calculateUserSentiment()
DNotificationManagerService.java7474 if (((channel.getUserLockedFields() & NotificationChannel.USER_LOCKED_IMPORTANCE) == 0
7483 channel.unlockFields(NotificationChannel.USER_LOCKED_IMPORTANCE);
/frameworks/base/core/java/android/app/
DNotificationChannel.java190 public static final int USER_LOCKED_IMPORTANCE = 0x00000004; field in NotificationChannel
221 USER_LOCKED_IMPORTANCE,
1065 return (mUserLockedFields & USER_LOCKED_IMPORTANCE) != 0; in hasUserSetImportance()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DNotificationInfo.java669 mChannelToUpdate.lockFields(NotificationChannel.USER_LOCKED_IMPORTANCE);
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt8032 Landroid/app/NotificationChannel;->USER_LOCKED_IMPORTANCE:I