Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/app/
DNotificationChannel.java761 public int getUserLockedFields() { in getUserLockedFields() method in NotificationChannel
1007 if (getUserLockedFields() != 0) { in writeXml()
1008 out.attribute(null, ATT_USER_LOCKED, Integer.toString(getUserLockedFields())); in writeXml()
1081 record.put(ATT_USER_LOCKED, Integer.toString(getUserLockedFields())); in toJson()
1184 && getUserLockedFields() == that.getUserLockedFields() in equals()
1211 getUserLockedFields(), in hashCode()
DNotificationChannelGroup.java223 public int getUserLockedFields() { in getUserLockedFields() method in NotificationChannelGroup
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
DNotificationInfoTest.java847 assertTrue((updated.getValue().getUserLockedFields() in testSilenceCallsUpdateNotificationChannel()
886 assertTrue((updated.getValue().getUserLockedFields() in testUnSilenceCallsUpdateNotificationChannel()
920 assertTrue((updated.getValue().getUserLockedFields() in testSilenceCallsUpdateNotificationChannel_channelImportanceUnspecified()
958 assertTrue((updated.getValue().getUserLockedFields() & USER_LOCKED_IMPORTANCE) != 0); in testSilenceCallsUpdateNotificationChannel_channelImportanceMin()
995 assertTrue((updated.getValue().getUserLockedFields() & USER_LOCKED_IMPORTANCE) != 0); in testAlertCallsUpdateNotificationChannel_channelImportanceMin()
1084 assertTrue((updated.getValue().getUserLockedFields() in testUnSilenceCallsUpdateNotificationChannel_channelImportanceUnspecified()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationRecord.java246 if (mPreChannelsNotification && (getChannel().getUserLockedFields() in calculateSound()
272 && (getChannel().getUserLockedFields() in calculateLights()
303 && (getChannel().getUserLockedFields() in calculateVibration()
325 && (getChannel().getUserLockedFields() in calculateAttributes()
654 && (getChannel().getUserLockedFields() & USER_LOCKED_IMPORTANCE) == 0) { in applyAdjustments()
1122 if ((getChannel().getUserLockedFields() & USER_LOCKED_IMPORTANCE) != 0 in calculateUserSentiment()
1270 visitGrantableUri(channel.getSound(), (channel.getUserLockedFields() in calculateGrantableUris()
DPreferencesHelper.java769 group.unlockFields(group.getUserLockedFields()); in createNotificationChannelGroup()
770 group.lockFields(oldGroup.getUserLockedFields()); in createNotificationChannelGroup()
846 if (existing.getUserLockedFields() == 0 && in createNotificationChannel()
854 if (existing.getUserLockedFields() == 0 && hasDndAccess) { in createNotificationChannel()
937 channel.unlockFields(channel.getUserLockedFields()); in clearLockedFieldsLocked()
959 updatedChannel.lockFields(channel.getUserLockedFields()); in updateNotificationChannel()
962 updatedChannel.unlockFields(updatedChannel.getUserLockedFields()); in updateNotificationChannel()
1947 event.writeInt(channel.getUserLockedFields()); in pullPackageChannelPreferencesStats()
1982 event.writeInt(groupChannel.getUserLockedFields()); in pullPackageChannelGroupPreferencesStats()
DNotificationManagerService.java5714 if (((channel.getUserLockedFields() & NotificationChannel.USER_LOCKED_IMPORTANCE) == 0
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/
DNotificationChannels.java125 int userlock = legacySS.getUserLockedFields(); in createScreenshotChannel()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DPreferencesHelperTest.java690 assertEquals(0, updated.getUserLockedFields()); in testChannelXml_defaultChannelLegacyApp_noUserSettings()
734 updated1.getUserLockedFields()); in testChannelXml_upgradeCreateDefaultChannel()
1021 assertEquals(0, channel.getUserLockedFields()); in testClearLockedFields()
1026 assertEquals(0, channel.getUserLockedFields()); in testClearLockedFields()
1041 .getUserLockedFields()); in testLockFields_soundAndVibration()
1050 .getUserLockedFields()); in testLockFields_soundAndVibration()
1062 .getUserLockedFields()); in testLockFields_vibrationAndLights()
1070 .getUserLockedFields()); in testLockFields_vibrationAndLights()
1082 .getUserLockedFields()); in testLockFields_lightsAndImportance()
1090 .getUserLockedFields()); in testLockFields_lightsAndImportance()
[all …]
/frameworks/base/config/
Dboot-profile.txt657 Landroid/app/NotificationChannel;->getUserLockedFields()I
Dboot-image-profile.txt2752 HSPLandroid/app/NotificationChannel;->getUserLockedFields()I
/frameworks/base/api/
Dtest-current.txt459 method public int getUserLockedFields();
Dsystem-current.txt653 method public int getUserLockedFields();
/frameworks/base/non-updatable-api/
Dsystem-current.txt653 method public int getUserLockedFields();