Home
last modified time | relevance | path

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

/frameworks/base/core/java/android/app/
DNotificationChannel.java633 public int getUserLockedFields() { in getUserLockedFields() method in NotificationChannel
836 if (getUserLockedFields() != 0) { in writeXml()
837 out.attribute(null, ATT_USER_LOCKED, Integer.toString(getUserLockedFields())); in writeXml()
895 record.put(ATT_USER_LOCKED, Integer.toString(getUserLockedFields())); in toJson()
997 && getUserLockedFields() == that.getUserLockedFields() in equals()
1019 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.java237 if (mPreChannelsNotification && (getChannel().getUserLockedFields() in calculateSound()
263 && (getChannel().getUserLockedFields() in calculateLights()
294 && (getChannel().getUserLockedFields() in calculateVibration()
316 && (getChannel().getUserLockedFields() in calculateAttributes()
640 && (getChannel().getUserLockedFields() & USER_LOCKED_IMPORTANCE) == 0) { in applyAdjustments()
1064 if ((getChannel().getUserLockedFields() & USER_LOCKED_IMPORTANCE) != 0 in calculateUserSentiment()
1199 visitGrantableUri(channel.getSound(), (channel.getUserLockedFields() in calculateGrantableUris()
DPreferencesHelper.java615 group.unlockFields(group.getUserLockedFields()); in createNotificationChannelGroup()
616 group.lockFields(oldGroup.getUserLockedFields()); in createNotificationChannelGroup()
680 if (existing.getUserLockedFields() == 0 && in createNotificationChannel()
688 if (existing.getUserLockedFields() == 0 && hasDndAccess) { in createNotificationChannel()
751 channel.unlockFields(channel.getUserLockedFields()); in clearLockedFieldsLocked()
773 updatedChannel.lockFields(channel.getUserLockedFields()); in updateNotificationChannel()
776 updatedChannel.unlockFields(updatedChannel.getUserLockedFields()); in updateNotificationChannel()
DNotificationManagerService.java4859 if (((channel.getUserLockedFields() & NotificationChannel.USER_LOCKED_IMPORTANCE) == 0
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DPreferencesHelperTest.java618 assertEquals(0, updated.getUserLockedFields()); in testChannelXml_defaultChannelLegacyApp_noUserSettings()
662 updated1.getUserLockedFields()); in testChannelXml_upgradeCreateDefaultChannel()
949 assertEquals(0, channel.getUserLockedFields()); in testClearLockedFields()
954 assertEquals(0, channel.getUserLockedFields()); in testClearLockedFields()
969 .getUserLockedFields()); in testLockFields_soundAndVibration()
978 .getUserLockedFields()); in testLockFields_soundAndVibration()
990 .getUserLockedFields()); in testLockFields_vibrationAndLights()
998 .getUserLockedFields()); in testLockFields_vibrationAndLights()
1010 .getUserLockedFields()); in testLockFields_lightsAndImportance()
1018 .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.txt335 method public int getUserLockedFields();
Dsystem-current.txt554 method public int getUserLockedFields();
/frameworks/base/non-updatable-api/
Dsystem-current.txt554 method public int getUserLockedFields();