Searched refs:getPooledStringsToWrite (Results 1 – 5 of 5) sorted by relevance
160 assertThat(history.getPooledStringsToWrite()).asList().contains(n2.getChannelName()); in testAddNotificationsToWrite()161 assertThat(history.getPooledStringsToWrite()).asList().contains(n4.getPackage()); in testAddNotificationsToWrite()182 assertThat(history.getPooledStringsToWrite().length).isEqualTo(expectedStrings.size()); in testPoolStringsFromNotifications()184 for (String actual : history.getPooledStringsToWrite()) { in testPoolStringsFromNotifications()212 String[] actualStrings = history.getPooledStringsToWrite(); in testAddPooledStrings()252 assertThat(history.getPooledStringsToWrite().length).isEqualTo(27); in testRemoveNotificationsFromWrite()258 assertThat(history.getPooledStringsToWrite().length).isEqualTo(16); in testRemoveNotificationsFromWrite()289 assertThat(history.getPooledStringsToWrite().length).isEqualTo(26); in testRemoveNotificationFromWrite()295 assertThat(history.getPooledStringsToWrite().length).isEqualTo(23); in testRemoveNotificationFromWrite()328 assertThat(history.getPooledStringsToWrite().length).isEqualTo(26); in testRemoveConversationNotificationFromWrite()[all …]
172 assertThat(Arrays.asList(actualHistory.getPooledStringsToWrite())) in testReadNotificationsWithPkgFilter()214 assertThat(Arrays.asList(actualHistory.getPooledStringsToWrite())) in testReadNotificationsWithNumberFilter()233 expectedStrings.addAll(Arrays.asList(history.getPooledStringsToWrite())); in testReadNotificationsWithNumberFilter_preExistingNotifs()266 assertThat(Arrays.asList(actualHistory.getPooledStringsToWrite())) in testReadNotificationsWithNumberFilter_preExistingNotifs()315 assertThat(Arrays.asList(actualHistory.getPooledStringsToWrite())) in testReadMergeIntoExistingHistory()
389 when(nh.getPooledStringsToWrite()).thenReturn(new String[]{}); in testWriteBufferRunnable()
67 final String[] pooledStrings = notifications.getPooledStringsToWrite(); in writeStringPool()337 writeNotification(proto, notifications.getPooledStringsToWrite(), in write()
429 public @NonNull String[] getPooledStringsToWrite() { in getPooledStringsToWrite() method in NotificationHistory564 mStringPool = getPooledStringsToWrite(); in writeToParcel()