Searched refs:IMPORTANCE_UNSPECIFIED (Results 1 – 18 of 18) sorted by relevance
19 import static android.app.NotificationManager.IMPORTANCE_UNSPECIFIED;93 NotificationRecord r = getNotificationRecord(false, IMPORTANCE_UNSPECIFIED); in testAppYesChannelNo()121 NotificationRecord r = getNotificationRecord(true, IMPORTANCE_UNSPECIFIED); in testAppYesChannelYes()135 NotificationRecord r = getNotificationRecord(false, IMPORTANCE_UNSPECIFIED); in testAppNoChannelNo()163 NotificationRecord r = getNotificationRecord(true, IMPORTANCE_UNSPECIFIED); in testDndOverridesYes()179 NotificationRecord r = getNotificationRecord(true, IMPORTANCE_UNSPECIFIED); in testDndOConsidersInterception()195 NotificationRecord r = getNotificationRecord(true, IMPORTANCE_UNSPECIFIED); in testDndConsidersSuppressedVisualEffects()
19 import static android.app.NotificationManager.IMPORTANCE_UNSPECIFIED;91 NotificationRecord r = getNotificationRecord(false, IMPORTANCE_UNSPECIFIED); in testAppYesChannelNo()119 NotificationRecord r = getNotificationRecord(true, IMPORTANCE_UNSPECIFIED); in testAppYesChannelYes()133 NotificationRecord r = getNotificationRecord(false, IMPORTANCE_UNSPECIFIED); in testAppNoChannelNo()
88 new NotificationChannel("a", "a", NotificationManager.IMPORTANCE_UNSPECIFIED); in testAppPreferenceChannelNone()95 assertEquals(NotificationManager.IMPORTANCE_UNSPECIFIED, r.getImportance()); in testAppPreferenceChannelNone()
23 import static android.app.NotificationManager.IMPORTANCE_UNSPECIFIED;615 assertEquals(NotificationManager.IMPORTANCE_UNSPECIFIED, updated.getImportance()); in testChannelXml_defaultChannelLegacyApp_noUserSettings()738 new NotificationChannel("bananas", "bananas", IMPORTANCE_UNSPECIFIED), in testCreateChannel_badImportance()790 mHelper.setImportance(PKG_N_MR1, UID_N_MR1, IMPORTANCE_UNSPECIFIED); in testUpdate_preUpgrade_updatesAppFields()839 assertEquals(NotificationManager.IMPORTANCE_UNSPECIFIED, mHelper.getImportance(PKG_O, in testUpdate_postUpgrade_noUpdateAppFields()876 assertEquals(NotificationManager.IMPORTANCE_UNSPECIFIED, mHelper.getImportance(PKG_N_MR1, in testUpdate_preUpgrade_noUpdateAppFieldsWithMultipleChannels()1621 assertEquals(NotificationManager.IMPORTANCE_UNSPECIFIED, mHelper.getImportance(PKG_N_MR1, in testOnPackageChanged_packageRemoval_importance()1676 assertEquals(IMPORTANCE_UNSPECIFIED, mHelper.getImportance(PKG_O, UID_O)); in testClearData()1693 assertEquals(NotificationManager.IMPORTANCE_UNSPECIFIED, mHelper.getImportance(PKG_N_MR1, in testRecordDefaults()2223 mHelper.setImportance(PKG_O, UID_O, IMPORTANCE_UNSPECIFIED); in testIsDelegateAllowed_noDelegate()[all …]
97 NotificationManager.IMPORTANCE_UNSPECIFIED);338 defaultChannel.setImportance(NotificationManager.IMPORTANCE_UNSPECIFIED); in testImportance_locked_unspecified_preUpgrade()
32 import static android.app.NotificationManager.IMPORTANCE_UNSPECIFIED;2862 assertEquals(IMPORTANCE_UNSPECIFIED, defaultChannel.getImportance()); in testBumpFGImportance_noChannelChangePreOApp()
23 import static android.app.NotificationManager.IMPORTANCE_UNSPECIFIED;144 private int mSystemImportance = IMPORTANCE_UNSPECIFIED;145 private int mAssistantImportance = IMPORTANCE_UNSPECIFIED;146 private int mImportance = IMPORTANCE_UNSPECIFIED;371 && (importance == IMPORTANCE_UNSPECIFIED in calculateInitialImportance()654 importance = Math.max(IMPORTANCE_UNSPECIFIED, importance); in applyAdjustments()759 && mAssistantImportance != IMPORTANCE_UNSPECIFIED in calculateImportance()765 if (mSystemImportance != IMPORTANCE_UNSPECIFIED) { in calculateImportance()1261 && (stats.naturalImportance != IMPORTANCE_UNSPECIFIED)) { in getLogMaker()1270 if (mAssistantImportance != IMPORTANCE_UNSPECIFIED) { in getLogMaker()
102 private static final int DEFAULT_IMPORTANCE = NotificationManager.IMPORTANCE_UNSPECIFIED;388 if (r.importance != NotificationManager.IMPORTANCE_UNSPECIFIED) { in createDefaultChannelIfNeededLocked()
22 import android.app.NotificationManager.IMPORTANCE_UNSPECIFIED in <lambda>()181 gentle = importance != IMPORTANCE_UNSPECIFIED && importance < IMPORTANCE_DEFAULT in updateImportance()
21 import static android.app.NotificationManager.IMPORTANCE_UNSPECIFIED;540 if (mStartingChannelImportance != IMPORTANCE_UNSPECIFIED) {
23 import static android.app.NotificationManager.IMPORTANCE_UNSPECIFIED;843 mNotificationChannel.setImportance(IMPORTANCE_UNSPECIFIED); in testHandleCloseControls_DoesNotUpdateNotificationChannelIfUnspecified()857 IMPORTANCE_UNSPECIFIED, in testHandleCloseControls_DoesNotUpdateNotificationChannelIfUnspecified()865 assertEquals(IMPORTANCE_UNSPECIFIED, mNotificationChannel.getImportance()); in testHandleCloseControls_DoesNotUpdateNotificationChannelIfUnspecified()1156 mNotificationChannel.setImportance(IMPORTANCE_UNSPECIFIED); in testSilenceCallsUpdateNotificationChannel_channelImportanceUnspecified()1170 IMPORTANCE_UNSPECIFIED, in testSilenceCallsUpdateNotificationChannel_channelImportanceUnspecified()
131 // Default is IMPORTANCE_UNSPECIFIED (-1000).
327 return NotificationManager.IMPORTANCE_UNSPECIFIED; in getImportance()
262 IMPORTANCE_UNSPECIFIED, IMPORTANCE_NONE,341 public static final int IMPORTANCE_UNSPECIFIED = -1000; field in NotificationManager
142 NotificationManager.IMPORTANCE_UNSPECIFIED;
1846 case NotificationManager.IMPORTANCE_UNSPECIFIED:
5861 field public static final int IMPORTANCE_UNSPECIFIED = -1000; // 0xfffffc18