Home
last modified time | relevance | path

Searched refs:getRankingTimeMs (Results 1 – 7 of 7) sorted by relevance

/frameworks/base/services/core/java/com/android/server/notification/
DNotificationTimeComparator.java32 return -1 * Long.compare(left.getRankingTimeMs(), right.getRankingTimeMs()); in compare()
DNotificationComparator.java145 return -1 * Long.compare(left.getRankingTimeMs(), right.getRankingTimeMs()); in compare()
DNotificationUsageStats.java187 (int) (System.currentTimeMillis() - notification.getRankingTimeMs()) / (60 * 1000)); in registerDismissedByUser()
196 (int) (System.currentTimeMillis() - notification.getRankingTimeMs()) / (60 * 1000)); in registerClickedByUser()
DNotificationRecord.java449 mRankingTimeMs = calculateRankingTimeMs(previous.getRankingTimeMs()); in copyRankingInformation()
1027 public long getRankingTimeMs() { in getRankingTimeMs() method in NotificationRecord
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationTimeComparatorTest.java61 when(one.getRankingTimeMs()).thenReturn(1L); in testCompare()
64 when(five.getRankingTimeMs()).thenReturn(5L); in testCompare()
67 when(ten.getRankingTimeMs()).thenReturn(10L); in testCompare()
DNotificationManagerServiceTest.java15514 assertThat(posted.getRankingTimeMs()).isEqualTo(originalPostTime);
15529 assertThat(posted.getRankingTimeMs()).isEqualTo(originalPostTime);
15543 assertThat(posted.getRankingTimeMs()).isEqualTo(originalPostTime);
15548 assertThat(mService.mNotificationList.get(0).getRankingTimeMs())
15563 assertThat(posted.getRankingTimeMs()).isEqualTo(originalPostTime);
15573 assertThat(posted.getRankingTimeMs()).isGreaterThan(originalPostTime);
15574 assertThat(posted.getRankingTimeMs()).isEqualTo(posted.getSbn().getPostTime());
15588 assertThat(posted.getRankingTimeMs()).isEqualTo(originalPostTime);
15603 assertThat(posted.getRankingTimeMs()).isGreaterThan(originalPostTime);
15604 assertThat(posted.getRankingTimeMs()).isEqualTo(posted.getSbn().getPostTime());
DNotificationAttentionHelperTest.java2790 assertThat(r.getRankingTimeMs()).isEqualTo(r.getSbn().getPostTime()); in testSoundResetsRankingTime()