Searched refs:USER_LOCKED_IMPORTANCE (Results 1 – 13 of 13) sorted by relevance
19 import static android.app.NotificationChannel.USER_LOCKED_IMPORTANCE;682 mNotificationChannel.unlockFields(USER_LOCKED_IMPORTANCE); in testBindNotification_automaticIsSelected()874 mNotificationChannel.unlockFields(USER_LOCKED_IMPORTANCE); in testHandleCloseControls_persistAutomatic()992 & USER_LOCKED_IMPORTANCE) != 0); in testSilenceCallsUpdateNotificationChannel()1032 & USER_LOCKED_IMPORTANCE) != 0); in testUnSilenceCallsUpdateNotificationChannel()1040 mNotificationChannel.lockFields(USER_LOCKED_IMPORTANCE); in testAutomaticUnlocksUserImportance()1099 & USER_LOCKED_IMPORTANCE) != 0); 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()1268 & USER_LOCKED_IMPORTANCE) != 0); in testUnSilenceCallsUpdateNotificationChannel_channelImportanceUnspecified()
18 import static android.app.NotificationChannel.USER_LOCKED_IMPORTANCE;387 defaultChannel.lockFields(USER_LOCKED_IMPORTANCE); in testImportance_locked_preUpgrade()399 defaultChannel.lockFields(USER_LOCKED_IMPORTANCE); in testImportance_locked_unspecified_preUpgrade()598 channel.lockFields(channel.USER_LOCKED_IMPORTANCE); in testLogMakerImportanceUser()620 channel.lockFields(channel.USER_LOCKED_IMPORTANCE); in testLogMakerImportanceMulti()739 channel.lockFields(USER_LOCKED_IMPORTANCE); in testUserSentiment_userLocked()913 channel.lockFields(USER_LOCKED_IMPORTANCE); in testCalculateImportance_systemImportance()933 channel.lockFields(USER_LOCKED_IMPORTANCE); in testCalculateImportance_asstImportance()963 channel.lockFields(NotificationChannel.USER_LOCKED_IMPORTANCE); in testSetContactAffinity()
22 import static android.app.NotificationChannel.USER_LOCKED_IMPORTANCE;796 assertEquals(NotificationChannel.USER_LOCKED_IMPORTANCE in testChannelXml_upgradeCreateDefaultChannel()1089 | NotificationChannel.USER_LOCKED_IMPORTANCE); in testClearLockedFields()1153 | NotificationChannel.USER_LOCKED_IMPORTANCE, in testLockFields_lightsAndImportance()3997 channel.lockFields(USER_LOCKED_IMPORTANCE); in testUnlockNotificationChannelImportance()3998 assertTrue((channel.getUserLockedFields() & USER_LOCKED_IMPORTANCE) != 0); in testUnlockNotificationChannelImportance()4001 assertTrue((channel.getUserLockedFields() & USER_LOCKED_IMPORTANCE) == 0); in testUnlockNotificationChannelImportance()4014 channelA.lockFields(USER_LOCKED_IMPORTANCE); in testUnlockAllNotificationChannels()4015 channelB.lockFields(USER_LOCKED_IMPORTANCE); in testUnlockAllNotificationChannels()4016 channelC.lockFields(USER_LOCKED_IMPORTANCE); in testUnlockAllNotificationChannels()[all …]
88 legacyChannel.lockFields(NotificationChannel.USER_LOCKED_IMPORTANCE | in testInheritFromLegacy_keepsUserLockedLegacySettings()
127 if ((userlock & NotificationChannel.USER_LOCKED_IMPORTANCE) != 0) { in createScreenshotChannel()
21 import static android.app.NotificationChannel.USER_LOCKED_IMPORTANCE;157 @IntDef({LockableAppFields.USER_LOCKED_IMPORTANCE})159 int USER_LOCKED_IMPORTANCE = 0x00000001; field512 channel.lockFields(NotificationChannel.USER_LOCKED_IMPORTANCE); in createDefaultChannelIfNeededLocked()677 return (userLockedFields & LockableAppFields.USER_LOCKED_IMPORTANCE) != 0; in getIsAppImportanceLocked()991 channel.unlockFields(USER_LOCKED_IMPORTANCE); in unlockNotificationChannelImportance()1769 if ((prefs.lockedAppFields & LockableAppFields.USER_LOCKED_IMPORTANCE) != 0) { in setAppImportanceLocked()1774 prefs.lockedAppFields | LockableAppFields.USER_LOCKED_IMPORTANCE; in setAppImportanceLocked()1868 update.lockFields(NotificationChannel.USER_LOCKED_IMPORTANCE); in lockFieldsForUpdateLocked()2524 channel.unlockFields(USER_LOCKED_IMPORTANCE); in unlockAllNotificationChannels()
18 import static android.app.NotificationChannel.USER_LOCKED_IMPORTANCE;667 && (getChannel().getUserLockedFields() & USER_LOCKED_IMPORTANCE) == 0) { in applyAdjustments()1139 if ((getChannel().getUserLockedFields() & USER_LOCKED_IMPORTANCE) != 0 in calculateUserSentiment()
6269 if (((channel.getUserLockedFields() & NotificationChannel.USER_LOCKED_IMPORTANCE) == 06282 channel.unlockFields(NotificationChannel.USER_LOCKED_IMPORTANCE);
143 channel.lockFields(NotificationChannel.USER_LOCKED_IMPORTANCE); in userChangeTrumpsHighPriorityCharacteristics()
70 new NotificationChannel("id", "name", NotificationChannel.USER_LOCKED_IMPORTANCE);
171 public static final int USER_LOCKED_IMPORTANCE = 0x00000004; field in NotificationChannel202 USER_LOCKED_IMPORTANCE,932 return (mUserLockedFields & USER_LOCKED_IMPORTANCE) != 0; in hasUserSetImportance()
672 mChannelToUpdate.lockFields(NotificationChannel.USER_LOCKED_IMPORTANCE);
8032 Landroid/app/NotificationChannel;->USER_LOCKED_IMPORTANCE:I