Home
last modified time | relevance | path

Searched refs:requestedImportance (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/core/java/com/android/server/notification/
DNotificationRecord.java316 int requestedImportance = IMPORTANCE_DEFAULT; in calculateImportance() local
327 requestedImportance = IMPORTANCE_MIN; in calculateImportance()
330 requestedImportance = IMPORTANCE_LOW; in calculateImportance()
333 requestedImportance = IMPORTANCE_DEFAULT; in calculateImportance()
337 requestedImportance = IMPORTANCE_HIGH; in calculateImportance()
340 stats.requestedImportance = requestedImportance; in calculateImportance()
347 if (!stats.isNoisy && requestedImportance > IMPORTANCE_LOW) { in calculateImportance()
348 requestedImportance = IMPORTANCE_LOW; in calculateImportance()
352 if (requestedImportance < IMPORTANCE_DEFAULT) { in calculateImportance()
353 requestedImportance = IMPORTANCE_DEFAULT; in calculateImportance()
[all …]
DNotificationUsageStats.java460 noisyImportance.increment(record.stats.requestedImportance); in countApiUse()
462 quietImportance.increment(record.stats.requestedImportance); in countApiUse()
829 public int requestedImportance; field in NotificationUsageStats.SingleNotificationStats
960 output.append("requestedImportance=").append(requestedImportance).append(", "); in toString()
1286 final int before = r.stats.requestedImportance; in putNotificationDetails()