/frameworks/base/services/core/java/com/android/server/notification/ |
RankingConfig.java | 28 int getImportance(String packageName, int uid);
|
NotificationRecord.java | 279 int importance = getChannel().getImportance(); 363 proto.write(NotificationRecordProto.IMPORTANCE, getImportance()); 623 public int getImportance() { [all...] |
RankingHelper.java | 423 || record.getImportance() > existingProxy.getImportance()) { 452 && record.getImportance() > NotificationManager.IMPORTANCE_MIN 494 public int getImportance(String packageName, int uid) { 573 if (channel.getImportance() < NotificationManager.IMPORTANCE_NONE 574 || channel.getImportance() > NotificationManager.IMPORTANCE_MAX) { 620 r.importance = updatedChannel.getImportance(); [all...] |
NotificationUsageStats.java | 448 finalImportance.increment(record.getImportance()); [all...] |
NotificationManagerService.java | [all...] |
/cts/hostsidetests/incident/src/com/android/server/cts/ |
NotificationTest.java | 45 assertTrue(record.getImportance() > 0 /* NotificationManager.IMPORTANCE_NONE */);
|
/frameworks/base/core/java/android/service/notification/ |
NotificationRankingUpdate.java | 119 public int[] getImportance() {
|
NotificationListenerService.java | [all...] |
/frameworks/base/services/tests/notification/src/com/android/server/notification/ |
ImportanceExtractorTest.java | 85 when(mConfig.getImportance(anyString(), anyInt())).thenReturn( 91 int notificationImportance = r.getImportance(); 96 assertEquals(notificationImportance, r.getImportance()); 104 when(mConfig.getImportance(anyString(), anyInt())).thenReturn(
|
NotificationListenerServiceTest.java | 57 assertEquals(getImportance(i), ranking.getImportance()); 86 importance[i] = getImportance(i); 116 private int getImportance(int index) { 125 return new NotificationChannel(key, key, getImportance(index));
|
RankingHelperTest.java | 223 assertEquals(expected.getImportance(), actual.getImportance()); 390 assertEquals(IMPORTANCE_NONE, mHelper.getImportance(UPDATED_PKG, UID2)); 469 assertEquals(NotificationManager.IMPORTANCE_UNSPECIFIED, updated.getImportance()); 488 PKG, UID, NotificationChannel.DEFAULT_CHANNEL_ID, false).getImportance()); 509 assertEquals(NotificationManager.IMPORTANCE_HIGH, updated1.getImportance()); 657 assertEquals(IMPORTANCE_NONE, mHelper.getImportance(PKG, UID)); 682 assertEquals(NotificationManager.IMPORTANCE_UNSPECIFIED, mHelper.getImportance(PKG, UID)); [all...] |
NotificationRecordTest.java | 304 assertEquals(NotificationManager.IMPORTANCE_HIGH, record.getImportance()); 316 assertEquals(NotificationManager.IMPORTANCE_LOW, record.getImportance()); 328 assertEquals(NotificationManager.IMPORTANCE_HIGH, record.getImportance()); 337 assertEquals(NotificationManager.IMPORTANCE_DEFAULT, record.getImportance()); 423 assertEquals(channel.getImportance(),
|
/cts/tests/app/src/android/app/cts/ |
NotificationManagerTest.java | 143 mNotificationManager.getNotificationChannel(mId).getImportance()); 440 assertEquals(expected.getImportance(), actual.getImportance());
|
/frameworks/base/core/java/android/app/ |
NotificationChannel.java | 343 * audio attributes. Notification channels with an {@link #getImportance() importance} of at 459 public int getImportance() { 600 if (getImportance() != DEFAULT_IMPORTANCE) { 602 null, ATT_IMPORTANCE, Integer.toString(getImportance())); 661 if (getImportance() != DEFAULT_IMPORTANCE) { 663 NotificationListenerService.Ranking.importanceToString(getImportance())); 779 if (getImportance() != that.getImportance()) return false; 814 result = 31 * result + getImportance();
|
NotificationManager.java | 728 public @Importance int getImportance() { [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
NotificationData.java | 283 aImportance = mRankingA.getImportance(); 284 bImportance = mRankingB.getImportance(); 402 public int getImportance(String key) { 405 return mTmpRanking.getImportance(); 568 mTmpRanking.getImportance());
|
/frameworks/support/compat/java/android/support/v4/app/ |
NotificationManagerCompat.java | 247 public int getImportance() { 249 return mNotificationManager.getImportance();
|
/prebuilts/sdk/current/support/compat/libs/ |
android-support-compat.jar | |
/prebuilts/sdk/25/ |
android.jar | |
/prebuilts/sdk/current/ |
android.jar | |
/prebuilts/sdk/system_current/ |
android.jar | |
/prebuilts/sdk/24/ |
android.jar | |
/prebuilts/sdk/26/ |
android.jar | |