Home
last modified time | relevance | path

Searched refs:getPooledStringsToWrite (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/core/tests/coretests/src/android/app/
DNotificationHistoryTest.java160 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 …]
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationHistoryProtoHelperTest.java172 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()
DNotificationHistoryDatabaseTest.java389 when(nh.getPooledStringsToWrite()).thenReturn(new String[]{}); in testWriteBufferRunnable()
/frameworks/base/services/core/java/com/android/server/notification/
DNotificationHistoryProtoHelper.java67 final String[] pooledStrings = notifications.getPooledStringsToWrite(); in writeStringPool()
337 writeNotification(proto, notifications.getPooledStringsToWrite(), in write()
/frameworks/base/core/java/android/app/
DNotificationHistory.java429 public @NonNull String[] getPooledStringsToWrite() { in getPooledStringsToWrite() method in NotificationHistory
564 mStringPool = getPooledStringsToWrite(); in writeToParcel()