Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/app/
DNotificationChannel.java583 public int getUserLockedFields() { in getUserLockedFields() method in NotificationChannel
743 if (getUserLockedFields() != 0) { in writeXml()
744 out.attribute(null, ATT_USER_LOCKED, Integer.toString(getUserLockedFields())); in writeXml()
796 record.put(ATT_USER_LOCKED, Integer.toString(getUserLockedFields())); in toJson()
898 if (getUserLockedFields() != that.getUserLockedFields()) return false; in equals()
935 result = 31 * result + getUserLockedFields(); in hashCode()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationRecord.java216 if (mPreChannelsNotification && (getChannel().getUserLockedFields() in calculateSound()
242 && (getChannel().getUserLockedFields() in calculateLights()
273 && (getChannel().getUserLockedFields() in calculateVibration()
295 && (getChannel().getUserLockedFields() in calculateAttributes()
345 || (getChannel().getUserLockedFields() in calculateImportance()
619 && (getChannel().getUserLockedFields() & USER_LOCKED_IMPORTANCE) == 0) { in applyAdjustments()
974 if ((getChannel().getUserLockedFields() & USER_LOCKED_IMPORTANCE) != 0 in calculateUserSentiment()
1050 visitGrantableUri(channel.getSound(), (channel.getUserLockedFields() in calculateGrantableUris()
DRankingHelper.java638 if (existing.getUserLockedFields() == 0 && in createNotificationChannel()
645 if (existing.getUserLockedFields() == 0 && hasDndAccess) { in createNotificationChannel()
686 channel.unlockFields(channel.getUserLockedFields()); in clearLockedFields()
706 updatedChannel.unlockFields(updatedChannel.getUserLockedFields()); in updateNotificationChannel()
709 updatedChannel.lockFields(channel.getUserLockedFields()); in updateNotificationChannel()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DRankingHelperTest.java648 assertEquals(0, updated.getUserLockedFields()); in testChannelXml_defaultChannelLegacyApp_noUserSettings()
691 updated1.getUserLockedFields()); in testChannelXml_upgradeCreateDefaultChannel()
934 assertEquals(0, channel.getUserLockedFields()); in testClearLockedFields()
939 assertEquals(0, channel.getUserLockedFields()); in testClearLockedFields()
954 .getUserLockedFields()); in testLockFields_soundAndVibration()
963 .getUserLockedFields()); in testLockFields_soundAndVibration()
975 .getUserLockedFields()); in testLockFields_vibrationAndLights()
983 .getUserLockedFields()); in testLockFields_vibrationAndLights()
995 .getUserLockedFields()); in testLockFields_lightsAndImportance()
1003 .getUserLockedFields()); in testLockFields_lightsAndImportance()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DNotificationInfoTest.java629 assertTrue((updated.getValue().getUserLockedFields() in testBlockChangedCallsUpdateNotificationChannel()
660 assertTrue((updated.getValue().getUserLockedFields() in testBlockChangedCallsUpdateNotificationChannel_blockingHelper()
695 assertTrue((updated.getValue().getUserLockedFields() in testMinChangedCallsUpdateNotificationChannel()
713 assertTrue(0 != (mNotificationChannel.getUserLockedFields() & USER_LOCKED_IMPORTANCE)); in testKeepUpdatesNotificationChannel()
734 assertTrue(0 != (mNotificationChannel.getUserLockedFields() & USER_LOCKED_IMPORTANCE)); in testBlockUndoDoesNotBlockNotificationChannel()
755 assertTrue(0 != (mNotificationChannel.getUserLockedFields() & USER_LOCKED_IMPORTANCE)); in testMinUndoDoesNotMinNotificationChannel()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/
DNotificationChannels.java122 int userlock = legacySS.getUserLockedFields(); in createScreenshotChannel()
/frameworks/base/api/
Dsystem-current.txt374 method public int getUserLockedFields();
/frameworks/base/config/
Dhiddenapi-public-dex.txt3863 Landroid/app/NotificationChannel;->getUserLockedFields()I