Searched refs:getHistoryCount (Results 1 – 8 of 8) sorted by relevance
74 } 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()
133 public int getHistoryCount() { in getHistoryCount() method in ReferenceWithHistory
85 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()
102 assertThat(actualHistory.getHistoryCount()).isEqualTo(history.getHistoryCount()); in testReadWriteNotifications()128 assertThat(actualHistory.getHistoryCount()).isEqualTo(history.getHistoryCount()); in testReadWriteNotifications_stringFieldsPersistedEvenIfNoPool()
76 return notifications.getHistoryCount() < mNotificationCount; in matchesCountFilter()
166 if (mBuffer.getHistoryCount() == 1) { in addNotification()203 if (maxNotifications == notifications.getHistoryCount()) { in readNotificationHistory()
131 assertThat(history.getHistoryCount()).isEqualTo(2); in testAddNotificationToWrite()158 assertThat(history.getHistoryCount()).isEqualTo(5); in testAddNotificationsToWrite()398 assertThat(parceledHistory.getHistoryCount()).isEqualTo(expectedEntries.size()); in testParceling()
445 public int getHistoryCount() { in getHistoryCount() method in NotificationHistory