Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/app/
DNotificationChannel.java842 public int getUserLockedFields() { in getUserLockedFields() method in NotificationChannel
1090 if (getUserLockedFields() != 0) { in writeXml()
1091 out.attributeInt(null, ATT_USER_LOCKED, getUserLockedFields()); in writeXml()
1167 record.put(ATT_USER_LOCKED, Integer.toString(getUserLockedFields())); in toJson()
1259 && getUserLockedFields() == that.getUserLockedFields() in equals()
1287 getUserLockedFields(), in hashCode()
DNotificationChannelGroup.java224 public int getUserLockedFields() { in getUserLockedFields() method in NotificationChannelGroup
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationRecord.java248 if (mPreChannelsNotification && (getChannel().getUserLockedFields() in calculateSound()
274 && (getChannel().getUserLockedFields() in calculateLights()
305 && (getChannel().getUserLockedFields() in calculateVibration()
326 && (getChannel().getUserLockedFields() in calculateAttributes()
667 && (getChannel().getUserLockedFields() & USER_LOCKED_IMPORTANCE) == 0) { in applyAdjustments()
1139 if ((getChannel().getUserLockedFields() & USER_LOCKED_IMPORTANCE) != 0 in calculateUserSentiment()
1297 visitGrantableUri(channel.getSound(), (channel.getUserLockedFields() in calculateGrantableUris()
DPreferencesHelper.java807 group.unlockFields(group.getUserLockedFields()); in createNotificationChannelGroup()
808 group.lockFields(oldGroup.getUserLockedFields()); in createNotificationChannelGroup()
885 if (existing.getUserLockedFields() == 0 && in createNotificationChannel()
893 if (existing.getUserLockedFields() == 0 && hasDndAccess) { in createNotificationChannel()
976 channel.unlockFields(channel.getUserLockedFields()); in clearLockedFieldsLocked()
1015 updatedChannel.lockFields(channel.getUserLockedFields()); in updateNotificationChannel()
1018 updatedChannel.unlockFields(updatedChannel.getUserLockedFields()); in updateNotificationChannel()
2043 event.writeInt(channel.getUserLockedFields()); in pullPackageChannelPreferencesStats()
2078 event.writeInt(groupChannel.getUserLockedFields()); in pullPackageChannelGroupPreferencesStats()
DNotificationManagerService.java6269 if (((channel.getUserLockedFields() & NotificationChannel.USER_LOCKED_IMPORTANCE) == 0
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
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()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DPreferencesHelperTest.java755 assertEquals(0, updated.getUserLockedFields()); in testChannelXml_defaultChannelLegacyApp_noUserSettings()
799 updated1.getUserLockedFields()); in testChannelXml_upgradeCreateDefaultChannel()
1086 assertEquals(0, channel.getUserLockedFields()); in testClearLockedFields()
1091 assertEquals(0, channel.getUserLockedFields()); in testClearLockedFields()
1106 .getUserLockedFields()); in testLockFields_soundAndVibration()
1115 .getUserLockedFields()); in testLockFields_soundAndVibration()
1127 .getUserLockedFields()); in testLockFields_vibrationAndLights()
1135 .getUserLockedFields()); in testLockFields_vibrationAndLights()
1147 .getUserLockedFields()); in testLockFields_lightsAndImportance()
1155 .getUserLockedFields()); in testLockFields_lightsAndImportance()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/
DNotificationChannels.java126 int userlock = legacySS.getUserLockedFields(); in createScreenshotChannel()
/frameworks/base/config/
Dboot-profile.txt657 Landroid/app/NotificationChannel;->getUserLockedFields()I
Dboot-image-profile.txt2267 HSPLandroid/app/NotificationChannel;->getUserLockedFields()I
/frameworks/base/core/api/
Dtest-current.txt299 method public int getUserLockedFields();
Dsystem-current.txt762 method public int getUserLockedFields();
/frameworks/base/boot/
Dboot-image-profile.txt2267 HSPLandroid/app/NotificationChannel;->getUserLockedFields()I