HomeSort by relevance Sort by last modified time
    Searched defs:getImportance (Results 1 - 25 of 27) sorted by null

1 2

  /frameworks/base/services/core/java/com/android/server/notification/
RankingConfig.java 28 int getImportance(String packageName, int uid);
RankingHelper.java 506 && record.getImportance() > NotificationManager.IMPORTANCE_MIN
528 public int getImportance(String packageName, int uid) {
639 channel.getImportance() < existing.getImportance()) {
640 existing.setImportance(channel.getImportance());
657 if (channel.getImportance() < IMPORTANCE_NONE
658 || channel.getImportance() > NotificationManager.IMPORTANCE_MAX) {
717 r.importance = updatedChannel.getImportance();
    [all...]
NotificationRecord.java 315 int importance = getChannel().getImportance();
404 proto.write(NotificationRecordProto.IMPORTANCE, getImportance());
716 public int getImportance() {
    [all...]
NotificationUsageStats.java 464 finalImportance.increment(record.getImportance());
    [all...]
  /frameworks/base/core/java/android/service/notification/
NotificationRankingUpdate.java 127 public int[] getImportance() {
NotificationListenerService.java     [all...]
  /frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
ImportanceExtractorTest.java 86 when(mConfig.getImportance(anyString(), anyInt())).thenReturn(
92 int notificationImportance = r.getImportance();
97 assertEquals(notificationImportance, r.getImportance());
105 when(mConfig.getImportance(anyString(), anyInt())).thenReturn(
NotificationListenerServiceTest.java 86 assertEquals(getImportance(i), ranking.getImportance());
119 importance[i] = getImportance(i);
151 private int getImportance(int index) {
160 return new NotificationChannel(key, key, getImportance(index));
RankingHelperTest.java 276 assertEquals(expected.getImportance(), actual.getImportance());
463 assertEquals(IMPORTANCE_NONE, mHelper.getImportance(UPDATED_PKG, UID2));
645 assertEquals(NotificationManager.IMPORTANCE_UNSPECIFIED, updated.getImportance());
664 PKG, UID, NotificationChannel.DEFAULT_CHANNEL_ID, false).getImportance());
685 assertEquals(NotificationManager.IMPORTANCE_HIGH, updated1.getImportance());
    [all...]
NotificationRecordTest.java 303 assertEquals(NotificationManager.IMPORTANCE_HIGH, record.getImportance());
315 assertEquals(NotificationManager.IMPORTANCE_LOW, record.getImportance());
327 assertEquals(NotificationManager.IMPORTANCE_HIGH, record.getImportance());
336 assertEquals(NotificationManager.IMPORTANCE_DEFAULT, record.getImportance());
422 assertEquals(channel.getImportance(),
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/util/
NotificationChannels.java 124 screenshotChannel.setImportance(legacySS.getImportance());
  /cts/tests/app/src/android/app/cts/
NotificationManagerTest.java 252 mNotificationManager.getNotificationChannel(mId).getImportance());
    [all...]
  /frameworks/base/core/java/android/app/
NotificationChannel.java 367 * audio attributes. Notification channels with an {@link #getImportance() importance} of at
488 public int getImportance() {
709 if (getImportance() != DEFAULT_IMPORTANCE) {
711 null, ATT_IMPORTANCE, Integer.toString(getImportance()));
774 if (getImportance() != DEFAULT_IMPORTANCE) {
776 NotificationListenerService.Ranking.importanceToString(getImportance()));
893 if (getImportance() != that.getImportance()) return false;
    [all...]
NotificationManager.java 110 * (when {@link NotificationChannel#getImportance()} is {@link #IMPORTANCE_NONE}) or unblocked
111 * (when {@link NotificationChannel#getImportance()} is anything other than
837 public @Importance int getImportance() {
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
NotificationData.java 376 aImportance = mRankingA.getImportance();
377 bImportance = mRankingB.getImportance();
582 public int getImportance(String key) {
585 return mTmpRanking.getImportance();
800 mTmpRanking.getImportance());
  /frameworks/support/compat/src/main/java/androidx/core/app/
NotificationManagerCompat.java 250 public int getImportance() {
252 return mNotificationManager.getImportance();
  /prebuilts/misc/common/robolectric/android-all/
android-all-7.0.0_r1-robolectric-0.jar 
android-all-stubs.jar 
  /prebuilts/misc/common/frameworks/
platformprotos-prebuilt.jar 
  /prebuilts/sdk/25/
android.jar 
  /prebuilts/sdk/27/
android.jar 
  /prebuilts/sdk/28/
android.jar 
  /prebuilts/sdk/current/
android.jar 
  /prebuilts/sdk/system_28/
android.jar 
  /prebuilts/sdk/system_current/
android.jar 

Completed in 724 milliseconds

1 2