Home
last modified time | relevance | path

Searched refs:IMPORTANCE_UNSPECIFIED (Results 1 – 18 of 18) sorted by relevance

/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DBadgeExtractorTest.java19 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()
DBubbleExtractorTest.java19 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()
DImportanceExtractorTest.java88 new NotificationChannel("a", "a", NotificationManager.IMPORTANCE_UNSPECIFIED); in testAppPreferenceChannelNone()
95 assertEquals(NotificationManager.IMPORTANCE_UNSPECIFIED, r.getImportance()); in testAppPreferenceChannelNone()
DPreferencesHelperTest.java23 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 …]
DNotificationRecordTest.java97 NotificationManager.IMPORTANCE_UNSPECIFIED);
338 defaultChannel.setImportance(NotificationManager.IMPORTANCE_UNSPECIFIED); in testImportance_locked_unspecified_preUpgrade()
DNotificationManagerServiceTest.java32 import static android.app.NotificationManager.IMPORTANCE_UNSPECIFIED;
2862 assertEquals(IMPORTANCE_UNSPECIFIED, defaultChannel.getImportance()); in testBumpFGImportance_noChannelChangePreOApp()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationRecord.java23 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()
DPreferencesHelper.java102 private static final int DEFAULT_IMPORTANCE = NotificationManager.IMPORTANCE_UNSPECIFIED;
388 if (r.importance != NotificationManager.IMPORTANCE_UNSPECIFIED) { in createDefaultChannelIfNeededLocked()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/
DChannelEditorListView.kt22 import android.app.NotificationManager.IMPORTANCE_UNSPECIFIED in <lambda>()
181 gentle = importance != IMPORTANCE_UNSPECIFIED && importance < IMPORTANCE_DEFAULT in updateImportance()
DNotificationInfo.java21 import static android.app.NotificationManager.IMPORTANCE_UNSPECIFIED;
540 if (mStartingChannelImportance != IMPORTANCE_UNSPECIFIED) {
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
DNotificationInfoTest.java23 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()
/frameworks/base/core/proto/android/service/
Dnotification.proto131 // Default is IMPORTANCE_UNSPECIFIED (-1000).
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/
DNotificationData.java327 return NotificationManager.IMPORTANCE_UNSPECIFIED; in getImportance()
/frameworks/base/core/java/android/app/
DNotificationManager.java262 IMPORTANCE_UNSPECIFIED, IMPORTANCE_NONE,
341 public static final int IMPORTANCE_UNSPECIFIED = -1000; field in NotificationManager
DNotificationChannel.java142 NotificationManager.IMPORTANCE_UNSPECIFIED;
/frameworks/base/core/java/android/service/notification/
DNotificationListenerService.java1846 case NotificationManager.IMPORTANCE_UNSPECIFIED:
/frameworks/base/non-updatable-api/
Dcurrent.txt5861 field public static final int IMPORTANCE_UNSPECIFIED = -1000; // 0xfffffc18
/frameworks/base/api/
Dcurrent.txt5861 field public static final int IMPORTANCE_UNSPECIFIED = -1000; // 0xfffffc18