Searched refs:getFreshnessMs (Results 1 – 4 of 4) sorted by relevance
/frameworks/base/services/core/java/com/android/server/notification/ |
D | NotificationIntrusivenessExtractor.java | 50 if (record.getFreshnessMs(System.currentTimeMillis()) < HANG_TIME_MS in process()
|
D | NotificationRecord.java | 815 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()
|
D | NotificationManagerService.java | 812 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/ |
D | NotificationRecordTest.java | 447 assertEquals(record.getFreshnessMs(timestamp), in testLogMaker()
|