Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/app/
DNotificationChannel.java630 public int getUserLockedFields() { in getUserLockedFields() method in NotificationChannel
832 if (getUserLockedFields() != 0) { in writeXml()
833 out.attribute(null, ATT_USER_LOCKED, Integer.toString(getUserLockedFields())); in writeXml()
891 record.put(ATT_USER_LOCKED, Integer.toString(getUserLockedFields())); in toJson()
993 && getUserLockedFields() == that.getUserLockedFields() in equals()
1015 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.java1021 assertTrue((updated.getValue().getUserLockedFields() in testSilentlyChangedCallsUpdateNotificationChannel_blockingHelper()
1053 assertTrue(0 != (mNotificationChannel.getUserLockedFields() & USER_LOCKED_IMPORTANCE)); in testKeepUpdatesNotificationChannel_blockingHelper()
1083 assertTrue(0 != (mNotificationChannel.getUserLockedFields() & USER_LOCKED_IMPORTANCE)); in testNoActionsUpdatesNotificationChannel_blockingHelper()
1115 assertTrue((updated.getValue().getUserLockedFields() in testSilenceCallsUpdateNotificationChannel()
1148 assertTrue((updated.getValue().getUserLockedFields() in testUnSilenceCallsUpdateNotificationChannel()
1182 assertTrue((updated.getValue().getUserLockedFields() in testSilenceCallsUpdateNotificationChannel_channelImportanceUnspecified()
1220 assertTrue((updated.getValue().getUserLockedFields() & USER_LOCKED_IMPORTANCE) != 0); in testSilenceCallsUpdateNotificationChannel_channelImportanceMin()
1257 assertTrue((updated.getValue().getUserLockedFields() & USER_LOCKED_IMPORTANCE) != 0); in testAlertCallsUpdateNotificationChannel_channelImportanceMin()
1346 assertTrue((updated.getValue().getUserLockedFields() in testUnSilenceCallsUpdateNotificationChannel_channelImportanceUnspecified()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationRecord.java240 if (mPreChannelsNotification && (getChannel().getUserLockedFields() in calculateSound()
266 && (getChannel().getUserLockedFields() in calculateLights()
297 && (getChannel().getUserLockedFields() in calculateVibration()
319 && (getChannel().getUserLockedFields() in calculateAttributes()
670 && (getChannel().getUserLockedFields() & USER_LOCKED_IMPORTANCE) == 0) { in applyAdjustments()
1094 if ((getChannel().getUserLockedFields() & USER_LOCKED_IMPORTANCE) != 0 in calculateUserSentiment()
1229 visitGrantableUri(channel.getSound(), (channel.getUserLockedFields() in calculateGrantableUris()
DPreferencesHelper.java603 group.unlockFields(group.getUserLockedFields()); in createNotificationChannelGroup()
604 group.lockFields(oldGroup.getUserLockedFields()); in createNotificationChannelGroup()
668 if (existing.getUserLockedFields() == 0 && in createNotificationChannel()
676 if (existing.getUserLockedFields() == 0 && hasDndAccess) { in createNotificationChannel()
735 channel.unlockFields(channel.getUserLockedFields()); in clearLockedFieldsLocked()
757 updatedChannel.lockFields(channel.getUserLockedFields()); in updateNotificationChannel()
760 updatedChannel.unlockFields(updatedChannel.getUserLockedFields()); in updateNotificationChannel()
DNotificationManagerService.java4740 if (((channel.getUserLockedFields() & NotificationChannel.USER_LOCKED_IMPORTANCE) == 0
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DPreferencesHelperTest.java615 assertEquals(0, updated.getUserLockedFields()); in testChannelXml_defaultChannelLegacyApp_noUserSettings()
659 updated1.getUserLockedFields()); in testChannelXml_upgradeCreateDefaultChannel()
946 assertEquals(0, channel.getUserLockedFields()); in testClearLockedFields()
951 assertEquals(0, channel.getUserLockedFields()); in testClearLockedFields()
966 .getUserLockedFields()); in testLockFields_soundAndVibration()
975 .getUserLockedFields()); in testLockFields_soundAndVibration()
987 .getUserLockedFields()); in testLockFields_vibrationAndLights()
995 .getUserLockedFields()); in testLockFields_vibrationAndLights()
1007 .getUserLockedFields()); in testLockFields_lightsAndImportance()
1015 .getUserLockedFields()); in testLockFields_lightsAndImportance()
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/
DNotificationChannels.java121 int userlock = legacySS.getUserLockedFields(); in createScreenshotChannel()
/frameworks/base/api/
Dtest-current.txt328 method public int getUserLockedFields();
Dsystem-current.txt541 method public int getUserLockedFields();