Home
last modified time | relevance | path

Searched refs:getFreshnessMs (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/services/core/java/com/android/server/notification/
DNotificationIntrusivenessExtractor.java50 if (record.getFreshnessMs(System.currentTimeMillis()) < HANG_TIME_MS in process()
DNotificationRecord.java815 return getFreshnessMs(now) <= MAX_SOUND_DELAY_MS; in isNewEnoughForAlerting()
854 public int getFreshnessMs(long now) { in getFreshnessMs() method in NotificationRecord
892 MetricsLogger.histogram(mContext, "note_freshness", getFreshnessMs(now)); in setVisibility()
896 getFreshnessMs(now), in setVisibility()
1249 .addTaggedData(MetricsEvent.NOTIFICATION_SINCE_UPDATE_MILLIS, getFreshnessMs(now)) in getLogMaker()
DNotificationManagerService.java812 r.getLifespanMs(now), r.getFreshnessMs(now), r.getExposureMs(now),
852 r.getLifespanMs(now), r.getFreshnessMs(now), r.getExposureMs(now),
6797 r.getLifespanMs(now), r.getFreshnessMs(now), r.getExposureMs(now),
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationRecordTest.java447 assertEquals(record.getFreshnessMs(timestamp), in testLogMaker()