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.java347 int requestedImportance = IMPORTANCE_DEFAULT; in calculateInitialImportance() local
352 requestedImportance = IMPORTANCE_MIN; in calculateInitialImportance()
355 requestedImportance = IMPORTANCE_LOW; in calculateInitialImportance()
358 requestedImportance = IMPORTANCE_DEFAULT; in calculateInitialImportance()
362 requestedImportance = IMPORTANCE_HIGH; in calculateInitialImportance()
365 stats.requestedImportance = requestedImportance; in calculateInitialImportance()
373 if (!stats.isNoisy && requestedImportance > IMPORTANCE_LOW) { in calculateInitialImportance()
374 requestedImportance = IMPORTANCE_LOW; in calculateInitialImportance()
378 if (requestedImportance < IMPORTANCE_DEFAULT) { in calculateInitialImportance()
379 requestedImportance = IMPORTANCE_DEFAULT; in calculateInitialImportance()
[all …]
DNotificationUsageStats.java472 noisyImportance.increment(record.stats.requestedImportance); in countApiUse()
474 quietImportance.increment(record.stats.requestedImportance); in countApiUse()
843 public int requestedImportance; field in NotificationUsageStats.SingleNotificationStats
981 output.append("requestedImportance=").append(requestedImportance).append(", "); in toString()
1322 final int before = r.stats.requestedImportance; in putNotificationDetails()