Home
last modified time | relevance | path

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

/aosp12/frameworks/base/core/java/android/app/
H A DNotificationChannel.java833 public int getUserLockedFields() { in getUserLockedFields() method in NotificationChannel
1080 if (getUserLockedFields() != 0) { in writeXml()
1081 out.attributeInt(null, ATT_USER_LOCKED, getUserLockedFields()); in writeXml()
1157 record.put(ATT_USER_LOCKED, Integer.toString(getUserLockedFields())); in toJson()
1249 && getUserLockedFields() == that.getUserLockedFields() in equals()
1277 getUserLockedFields(), in hashCode()
H A DNotificationChannelGroup.java224 public int getUserLockedFields() { in getUserLockedFields() method in NotificationChannelGroup
/aosp12/frameworks/base/services/core/java/com/android/server/notification/
H A DNotificationRecord.java252 if (mPreChannelsNotification && (getChannel().getUserLockedFields() in calculateSound()
278 && (getChannel().getUserLockedFields() in calculateLights()
309 && (getChannel().getUserLockedFields() in calculateVibration()
330 && (getChannel().getUserLockedFields() in calculateAttributes()
677 && (getChannel().getUserLockedFields() & USER_LOCKED_IMPORTANCE) == 0) { in applyAdjustments()
1168 if ((getChannel().getUserLockedFields() & USER_LOCKED_IMPORTANCE) != 0 in calculateUserSentiment()
1326 visitGrantableUri(channel.getSound(), (channel.getUserLockedFields() in calculateGrantableUris()
H A DPreferencesHelper.java809 group.unlockFields(group.getUserLockedFields()); in createNotificationChannelGroup()
810 group.lockFields(oldGroup.getUserLockedFields()); in createNotificationChannelGroup()
887 if (existing.getUserLockedFields() == 0 && in createNotificationChannel()
895 if (existing.getUserLockedFields() == 0 && hasDndAccess) { in createNotificationChannel()
978 channel.unlockFields(channel.getUserLockedFields()); in clearLockedFieldsLocked()
1017 updatedChannel.lockFields(channel.getUserLockedFields()); in updateNotificationChannel()
1020 updatedChannel.unlockFields(updatedChannel.getUserLockedFields()); in updateNotificationChannel()
2045 event.writeInt(channel.getUserLockedFields()); in pullPackageChannelPreferencesStats()
2080 event.writeInt(groupChannel.getUserLockedFields()); in pullPackageChannelGroupPreferencesStats()
H A DNotificationManagerService.java6167 if (((channel.getUserLockedFields() & NotificationChannel.USER_LOCKED_IMPORTANCE) == 0
/aosp12/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
H A DNotificationInfoTest.java991 assertTrue((updated.getValue().getUserLockedFields() in testSilenceCallsUpdateNotificationChannel()
1031 assertTrue((updated.getValue().getUserLockedFields() in testUnSilenceCallsUpdateNotificationChannel()
1098 assertTrue((updated.getValue().getUserLockedFields() 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()
1267 assertTrue((updated.getValue().getUserLockedFields() in testUnSilenceCallsUpdateNotificationChannel_channelImportanceUnspecified()
/aosp12/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
H A DPreferencesHelperTest.java791 updated1.getUserLockedFields()); in testChannelXml_upgradeCreateDefaultChannel()
1098 .getUserLockedFields()); in testLockFields_soundAndVibration()
1107 .getUserLockedFields()); in testLockFields_soundAndVibration()
1119 .getUserLockedFields()); in testLockFields_vibrationAndLights()
1127 .getUserLockedFields()); in testLockFields_vibrationAndLights()
1139 .getUserLockedFields()); in testLockFields_lightsAndImportance()
1147 .getUserLockedFields()); in testLockFields_lightsAndImportance()
1155 .getUserLockedFields()); in testLockFields_visibilityAndDndAndBadge()
1162 .getUserLockedFields()); in testLockFields_visibilityAndDndAndBadge()
1170 .getUserLockedFields()); in testLockFields_visibilityAndDndAndBadge()
[all …]
/aosp12/frameworks/base/config/
H A Dboot-profile.txt657 Landroid/app/NotificationChannel;->getUserLockedFields()I
H A Dboot-image-profile.txt2267 HSPLandroid/app/NotificationChannel;->getUserLockedFields()I
/aosp12/frameworks/base/core/api/
H A Dtest-current.txt302 method public int getUserLockedFields();
H A Dsystem-current.txt768 method public int getUserLockedFields();
/aosp12/frameworks/base/boot/
H A Dboot-image-profile.txt2267 HSPLandroid/app/NotificationChannel;->getUserLockedFields()I