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.java357 int requestedImportance = IMPORTANCE_DEFAULT; in calculateInitialImportance() local
362 requestedImportance = IMPORTANCE_MIN; in calculateInitialImportance()
365 requestedImportance = IMPORTANCE_LOW; in calculateInitialImportance()
368 requestedImportance = IMPORTANCE_DEFAULT; in calculateInitialImportance()
372 requestedImportance = IMPORTANCE_HIGH; in calculateInitialImportance()
375 stats.requestedImportance = requestedImportance; in calculateInitialImportance()
383 if (!stats.isNoisy && requestedImportance > IMPORTANCE_LOW) { in calculateInitialImportance()
384 requestedImportance = IMPORTANCE_LOW; in calculateInitialImportance()
388 if (requestedImportance < IMPORTANCE_DEFAULT) { in calculateInitialImportance()
389 requestedImportance = IMPORTANCE_DEFAULT; in calculateInitialImportance()
[all …]
DNotificationUsageStats.java460 noisyImportance.increment(record.stats.requestedImportance); in countApiUse()
462 quietImportance.increment(record.stats.requestedImportance); in countApiUse()
836 public int requestedImportance; field in NotificationUsageStats.SingleNotificationStats
974 output.append("requestedImportance=").append(requestedImportance).append(", "); in toString()