/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/ |
D | ChannelEditorDialogController.kt | 151 || channel.importance == IMPORTANCE_NONE in <lambda>() 193 if (channel.importance == edit) { in <lambda>() 228 private fun setChannelImportance(channel: NotificationChannel, importance: Int) { in <lambda>() 230 channel.importance = importance in <lambda>() 239 for ((channel, importance) in edits) { in <lambda>() method 240 if (channel.importance != importance) { in <lambda>() 241 setChannelImportance(channel, importance) in <lambda>()
|
D | ChannelEditorListView.kt | 156 controller.proposeEditForChannel(it, if (b) it.importance else IMPORTANCE_NONE) in onFinishInflate() 176 switch.isChecked = nc.importance != IMPORTANCE_NONE in updateViews() 180 val importance = channel?.importance ?: 0 in updateImportance() constant 181 gentle = importance != IMPORTANCE_UNSPECIFIED && importance < IMPORTANCE_DEFAULT in updateImportance()
|
D | NotificationInfo.java | 260 int importance, in bindNotification() argument 267 importance, wasShownHighPriority); in bindNotification() 284 int importance, in bindNotification() argument
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
D | ForegroundServiceNotificationListener.java | 53 addNotification(entry.notification, entry.importance); in ForegroundServiceNotificationListener() 58 updateNotification(entry.notification, entry.importance); in ForegroundServiceNotificationListener() 77 private void addNotification(StatusBarNotification sbn, int importance) { in addNotification() argument 78 updateNotification(sbn, importance); in addNotification()
|
/frameworks/base/services/core/java/com/android/server/notification/ |
D | NotificationRecord.java | 336 int importance = getChannel().getImportance(); // Post-channels notifications use this in calculateInitialImportance() local 371 && (importance == IMPORTANCE_UNSPECIFIED in calculateInitialImportance() 386 importance = requestedImportance; in calculateInitialImportance() 391 stats.naturalImportance = importance; in calculateInitialImportance() 392 return importance; in calculateInitialImportance() 653 int importance = signals.getInt(Adjustment.KEY_IMPORTANCE); in applyAdjustments() local 654 importance = Math.max(IMPORTANCE_UNSPECIFIED, importance); in applyAdjustments() 655 importance = Math.min(IMPORTANCE_HIGH, importance); in applyAdjustments() 656 setAssistantImportance(importance); in applyAdjustments() 723 public void setSystemImportance(int importance) { in setSystemImportance() argument [all …]
|
D | PreferencesHelper.java | 198 r.importance = XmlUtils.readIntAttribute( in readXml() 305 int importance, int priority, int visibility, boolean showBadge, boolean allowBubble) { in getOrCreatePackagePreferencesLocked() argument 314 r.importance = importance; in getOrCreatePackagePreferencesLocked() 385 r.importance); in createDefaultChannelIfNeededLocked() 388 if (r.importance != NotificationManager.IMPORTANCE_UNSPECIFIED) { in createDefaultChannelIfNeededLocked() 420 r.importance != DEFAULT_IMPORTANCE in writeXml() 432 if (r.importance != DEFAULT_IMPORTANCE) { in writeXml() 433 out.attribute(null, ATT_IMPORTANCE, Integer.toString(r.importance)); in writeXml() 534 return getOrCreatePackagePreferencesLocked(packageName, uid).importance; in getImportance() 795 r.importance = updatedChannel.getImportance(); in updateNotificationChannel() [all …]
|
D | RankingConfig.java | 27 void setImportance(String packageName, int uid, int importance); in setImportance() argument
|
/frameworks/base/services/core/java/com/android/server/ |
D | LocationUsageLogger.java | 128 private static int categorizeActivityImportance(int importance) { in categorizeActivityImportance() argument 129 if (importance == ActivityManager.RunningAppProcessInfo.IMPORTANCE_FOREGROUND) { in categorizeActivityImportance() 131 } else if (importance == ActivityManager in categorizeActivityImportance()
|
D | LocationManagerService.java | 346 (uid, importance) -> { in initializeLocked() argument 351 onUidImportanceChangedLocked(uid, importance); in initializeLocked() 570 private void onUidImportanceChangedLocked(int uid, int importance) { in onUidImportanceChangedLocked() argument 571 boolean foreground = isImportanceForeground(importance); in onUidImportanceChangedLocked() 636 private static boolean isImportanceForeground(int importance) { in isImportanceForeground() argument 637 return importance <= FOREGROUND_IMPORTANCE_CUTOFF; in isImportanceForeground()
|
/frameworks/base/core/java/com/android/internal/util/ |
D | NotificationMessagingUtil.java | 49 public boolean isImportantMessaging(StatusBarNotification sbn, int importance) { in isImportantMessaging() argument 50 if (importance < NotificationManager.IMPORTANCE_LOW) { in isImportantMessaging()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/ |
D | ForegroundServiceControllerTest.java | 399 private void entryAdded(StatusBarNotification notification, int importance) { in entryAdded() argument 401 entry.importance = importance; in entryAdded() 405 private void entryUpdated(StatusBarNotification notification, int importance) { in entryUpdated() argument 407 entry.importance = importance; in entryUpdated()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/ |
D | NotificationInterruptionStateProviderTest.java | 246 entry.importance = IMPORTANCE_DEFAULT; in testCanAlertCommon_false_suppressedForGroups() 560 entry.importance = IMPORTANCE_HIGH; in createBubble() 565 private NotificationEntry createNotification(int importance) { in createNotification() argument 573 entry.importance = importance; in createNotification()
|
D | NotificationTestHelper.java | 286 int importance) in generateRow() argument 313 notification.getChannelId(), notification.getChannelId(), importance); in generateRow()
|
/frameworks/base/core/java/android/app/ |
D | ActivityManager.java | 3004 final int importance = procStateToImportance(procState); 3008 switch (importance) { 3017 return importance; 3021 public static int importanceToProcState(@Importance int importance) { 3022 if (importance == IMPORTANCE_GONE) { 3024 } else if (importance >= IMPORTANCE_CACHED) { 3026 } else if (importance >= IMPORTANCE_CANT_SAVE_STATE) { 3028 } else if (importance >= IMPORTANCE_TOP_SLEEPING) { 3030 } else if (importance >= IMPORTANCE_SERVICE) { 3032 } else if (importance >= IMPORTANCE_PERCEPTIBLE) { [all …]
|
D | NotificationChannel.java | 185 public NotificationChannel(String id, CharSequence name, @Importance int importance) { in NotificationChannel() argument 188 this.mImportance = importance; in NotificationChannel() 459 public void setImportance(@Importance int importance) { in setImportance() argument 460 this.mImportance = importance; in setImportance()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/ |
D | ChannelEditorDialogControllerTest.kt | 137 IMPORTANCE_NONE, channel1.importance) in testApply_demoteChannel() 141 IMPORTANCE_DEFAULT, channel2.importance) in testApply_demoteChannel()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/ |
D | NotificationInterruptionStateProvider.java | 253 if (entry.importance < NotificationManager.IMPORTANCE_HIGH) { in shouldHeadsUpWhenAwake() 323 if (entry.importance < NotificationManager.IMPORTANCE_DEFAULT) { in shouldHeadsUpWhenDozing()
|
/frameworks/base/core/java/android/service/notification/ |
D | NotificationListenerService.java | 1784 int visibilityOverride, int suppressedVisualEffects, int importance, in populate() argument 1794 mIsAmbient = importance < NotificationManager.IMPORTANCE_LOW; in populate() 1798 mImportance = importance; in populate() 1844 public static String importanceToString(int importance) { 1845 switch (importance) { 1860 return "UNKNOWN(" + String.valueOf(importance) + ")";
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/ |
D | NotificationRowBinderImpl.java | 218 if (oldImportance != null && entry.importance != oldImportance) { in onNotificationRankingUpdated() 252 mMessagingUtil.isImportantMessaging(sbn, entry.importance); in updateNotification()
|
D | NotificationEntry.java | 94 public int importance; field in NotificationEntry 193 importance = ranking.getImportance(); in populateFromRanking()
|
/frameworks/base/core/proto/android/app/ |
D | notification_channel.proto | 37 optional int32 importance = 4; field
|
/frameworks/base/core/proto/android/service/ |
D | notification.proto | 68 optional sint32 importance = 10; field 132 optional sint32 importance = 3; field
|
/frameworks/opt/net/wifi/service/java/com/android/server/wifi/ |
D | WifiLockManager.java | 146 public void onUidImportance(final int uid, final int importance) { in registerUidImportanceTransitions() 154 boolean newModeIsFg = (importance in registerUidImportanceTransitions()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/ |
D | StatusBarTest.java | 425 entry.importance = IMPORTANCE_HIGH; in testShouldHeadsUp_nonSuppressedGroupSummary() 446 entry.importance = IMPORTANCE_HIGH; in testShouldHeadsUp_suppressedGroupSummary() 464 entry.importance = IMPORTANCE_HIGH; in testShouldHeadsUp_suppressedHeadsUp() 481 entry.importance = IMPORTANCE_HIGH; in testShouldHeadsUp_noSuppressedHeadsUp()
|
/frameworks/base/core/java/android/content/ |
D | ContextWrapper.java | 768 public void updateServiceGroup(ServiceConnection conn, int group, int importance) { in updateServiceGroup() argument 769 mBase.updateServiceGroup(conn, group, importance); in updateServiceGroup()
|