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;
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/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationRecordTest.java18 import static android.app.NotificationChannel.USER_LOCKED_IMPORTANCE;
327 defaultChannel.lockFields(USER_LOCKED_IMPORTANCE); in testImportance_locked_preUpgrade()
339 defaultChannel.lockFields(USER_LOCKED_IMPORTANCE); in testImportance_locked_unspecified_preUpgrade()
538 channel.lockFields(channel.USER_LOCKED_IMPORTANCE); in testLogMakerImportanceUser()
560 channel.lockFields(channel.USER_LOCKED_IMPORTANCE); in testLogMakerImportanceMulti()
679 channel.lockFields(USER_LOCKED_IMPORTANCE); in testUserSentiment_userLocked()
853 channel.lockFields(USER_LOCKED_IMPORTANCE); in testCalculateImportance_systemImportance()
873 channel.lockFields(USER_LOCKED_IMPORTANCE); in testCalculateImportance_asstImportance()
901 channel.lockFields(NotificationChannel.USER_LOCKED_IMPORTANCE); in testSetContactAffinity()
DPreferencesHelperTest.java659 assertEquals(NotificationChannel.USER_LOCKED_IMPORTANCE in testChannelXml_upgradeCreateDefaultChannel()
952 | NotificationChannel.USER_LOCKED_IMPORTANCE); in testClearLockedFields()
1016 | 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.java122 if ((userlock & NotificationChannel.USER_LOCKED_IMPORTANCE) != 0) { in createScreenshotChannel()
/frameworks/base/services/core/java/com/android/server/notification/
DPreferencesHelper.java119 @IntDef({LockableAppFields.USER_LOCKED_IMPORTANCE})
121 int USER_LOCKED_IMPORTANCE = 0x00000001; field
389 channel.lockFields(NotificationChannel.USER_LOCKED_IMPORTANCE); in createDefaultChannelIfNeededLocked()
546 return (userLockedFields & LockableAppFields.USER_LOCKED_IMPORTANCE) != 0; in getIsAppImportanceLocked()
1317 if ((prefs.lockedAppFields & LockableAppFields.USER_LOCKED_IMPORTANCE) != 0) { in setAppImportanceLocked()
1322 prefs.lockedAppFields | LockableAppFields.USER_LOCKED_IMPORTANCE; in setAppImportanceLocked()
1416 update.lockFields(NotificationChannel.USER_LOCKED_IMPORTANCE); in lockFieldsForUpdateLocked()
DNotificationRecord.java18 import static android.app.NotificationChannel.USER_LOCKED_IMPORTANCE;
640 && (getChannel().getUserLockedFields() & USER_LOCKED_IMPORTANCE) == 0) { in applyAdjustments()
1064 if ((getChannel().getUserLockedFields() & USER_LOCKED_IMPORTANCE) != 0 in calculateUserSentiment()
DNotificationManagerService.java4859 if (((channel.getUserLockedFields() & NotificationChannel.USER_LOCKED_IMPORTANCE) == 0
4872 channel.unlockFields(NotificationChannel.USER_LOCKED_IMPORTANCE);
/frameworks/base/core/java/android/app/
DNotificationChannel.java100 public static final int USER_LOCKED_IMPORTANCE = 0x00000004; field in NotificationChannel
130 USER_LOCKED_IMPORTANCE,
690 return (mUserLockedFields & USER_LOCKED_IMPORTANCE) != 0; in hasUserSetImportance()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/
DNotificationDataTest.java99 new NotificationChannel("id", "name", NotificationChannel.USER_LOCKED_IMPORTANCE);
459 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.txt8035 Landroid/app/NotificationChannel;->USER_LOCKED_IMPORTANCE:I