Home
last modified time | relevance | path

Searched refs:getHistoryCount (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/services/core/java/com/android/server/timezonedetector/
DArrayMapWithHistory.java74 } else if (valueHolder.getHistoryCount() == 0) { in put()
93 } else if (valueHolder.getHistoryCount() == 0) { in get()
127 if (valueHolder == null || valueHolder.getHistoryCount() == 0) { in valueAt()
172 } else if (valueHolder.getHistoryCount() == 0) { in getHistoryCountForKeyForTests()
176 return valueHolder.getHistoryCount(); in getHistoryCountForKeyForTests()
DReferenceWithHistory.java133 public int getHistoryCount() { in getHistoryCount() method in ReferenceWithHistory
/frameworks/base/services/tests/timetests/src/com/android/server/timedetector/
DReferenceWithHistoryTest.java85 assertEquals(0, referenceWithHistory.getHistoryCount()); in testValueHistoryBehavior()
89 assertEquals(1, referenceWithHistory.getHistoryCount()); in testValueHistoryBehavior()
93 assertEquals(2, referenceWithHistory.getHistoryCount()); in testValueHistoryBehavior()
98 assertEquals(2, referenceWithHistory.getHistoryCount()); in testValueHistoryBehavior()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationHistoryProtoHelperTest.java102 assertThat(actualHistory.getHistoryCount()).isEqualTo(history.getHistoryCount()); in testReadWriteNotifications()
128 assertThat(actualHistory.getHistoryCount()).isEqualTo(history.getHistoryCount()); in testReadWriteNotifications_stringFieldsPersistedEvenIfNoPool()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationHistoryFilter.java76 return notifications.getHistoryCount() < mNotificationCount; in matchesCountFilter()
DNotificationHistoryDatabase.java166 if (mBuffer.getHistoryCount() == 1) { in addNotification()
203 if (maxNotifications == notifications.getHistoryCount()) { in readNotificationHistory()
/frameworks/base/core/tests/coretests/src/android/app/
DNotificationHistoryTest.java131 assertThat(history.getHistoryCount()).isEqualTo(2); in testAddNotificationToWrite()
158 assertThat(history.getHistoryCount()).isEqualTo(5); in testAddNotificationsToWrite()
398 assertThat(parceledHistory.getHistoryCount()).isEqualTo(expectedEntries.size()); in testParceling()
/frameworks/base/core/java/android/app/
DNotificationHistory.java445 public int getHistoryCount() { in getHistoryCount() method in NotificationHistory