Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/notification/
DNotificationIntrusivenessExtractor.java38 static final long HANG_TIME_MS = 10000; field in NotificationIntrusivenessExtractor
50 if (record.getFreshnessMs(System.currentTimeMillis()) < HANG_TIME_MS in process()
67 return new RankingReconsideration(record.getKey(), HANG_TIME_MS) { in process()
77 if ((System.currentTimeMillis() - record.getLastIntrusive()) >= HANG_TIME_MS) { in process()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationIntrusivenessExtractorTest.java22 import static com.android.server.notification.NotificationIntrusivenessExtractor.HANG_TIME_MS;
88 System.currentTimeMillis() - HANG_TIME_MS); in testOldNotificationsNotIntrusive()