Home
last modified time | relevance | path

Searched refs:lockFields (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationRecordTest.java212 defaultChannel.lockFields(NotificationChannel.USER_LOCKED_SOUND); in testSound_default_userLocked_preUpgrade()
275 defaultChannel.lockFields(NotificationChannel.USER_LOCKED_VIBRATION); in testVibration_custom_userLocked_preUpgrade()
309 defaultChannel.lockFields(USER_LOCKED_IMPORTANCE); in testImportance_locked_preUpgrade()
321 defaultChannel.lockFields(USER_LOCKED_IMPORTANCE); in testImportance_locked_unspecified_preUpgrade()
361 defaultChannel.lockFields(NotificationChannel.USER_LOCKED_LIGHTS); in testLights_locked_preUpgrade()
574 channel.lockFields(USER_LOCKED_IMPORTANCE); in testUserSentiment_userLocked()
673 channel.lockFields(NotificationChannel.USER_LOCKED_SOUND); in testCalculateGrantableUris_PuserOverridden()
DRankingHelperTest.java887 channel.lockFields(lockMask); in testCreateChannel_CannotChangeHiddenFields()
916 channel.lockFields(lockMask); in testCreateChannel_CannotChangeHiddenFieldsAssistant()
936 channel.lockFields(NotificationChannel.USER_LOCKED_PRIORITY in testClearLockedFields()
949 update1.lockFields(NotificationChannel.USER_LOCKED_PRIORITY); in testLockFields_soundAndVibration()
/frameworks/base/services/core/java/com/android/server/notification/
DRankingHelper.java380 channel.lockFields(NotificationChannel.USER_LOCKED_IMPORTANCE); in createDefaultChannelIfNeeded()
383 channel.lockFields(NotificationChannel.USER_LOCKED_PRIORITY); in createDefaultChannelIfNeeded()
386 channel.lockFields(NotificationChannel.USER_LOCKED_VISIBILITY); in createDefaultChannelIfNeeded()
709 updatedChannel.lockFields(channel.getUserLockedFields()); in updateNotificationChannel()
1056 update.lockFields(NotificationChannel.USER_LOCKED_PRIORITY); in lockFieldsForUpdate()
1059 update.lockFields(NotificationChannel.USER_LOCKED_VISIBILITY); in lockFieldsForUpdate()
1062 update.lockFields(NotificationChannel.USER_LOCKED_IMPORTANCE); in lockFieldsForUpdate()
1066 update.lockFields(NotificationChannel.USER_LOCKED_LIGHTS); in lockFieldsForUpdate()
1069 update.lockFields(NotificationChannel.USER_LOCKED_SOUND); in lockFieldsForUpdate()
1073 update.lockFields(NotificationChannel.USER_LOCKED_VIBRATION); in lockFieldsForUpdate()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/
DChannelsTest.java91 legacyChannel.lockFields(NotificationChannel.USER_LOCKED_IMPORTANCE | in testInheritFromLegacy_keepsUserLockedLegacySettings()
/frameworks/base/core/java/android/app/
DNotificationChannel.java274 public void lockFields(int field) { in lockFields() method in NotificationChannel
640 lockFields(safeInt(parser, ATT_USER_LOCKED, 0)); in populateFromXml()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationInfo.java545 mChannelToUpdate.lockFields(NotificationChannel.USER_LOCKED_IMPORTANCE); in run()