Searched refs:assertNotification (Results 1 – 1 of 1) sorted by relevance
/cts/tests/app/src/android/app/cts/ |
D | ServiceTest.java | 516 private void assertNotification(int id, String expectedTitle, boolean shouldHaveFgsFlag) { in assertNotification() method in ServiceTest 981 assertNotification(1, LocalForegroundService.getNotificationTitle(1), true); in testForegroundService_canUpdateNotification() 986 assertNotification(1, newTitle, true); in testForegroundService_canUpdateNotification() 1008 assertNotification(1, LocalForegroundService.getNotificationTitle(1), true); in testForegroundService_dontRemoveNotificationOnStop() 1014 assertNotification(1, LocalForegroundService.getNotificationTitle(1), false); in testForegroundService_dontRemoveNotificationOnStop() 1019 assertNotification(1, newTitle, false); in testForegroundService_dontRemoveNotificationOnStop() 1026 assertNotification(2, LocalForegroundService.getNotificationTitle(2), true); in testForegroundService_dontRemoveNotificationOnStop() 1061 assertNotification(1, LocalForegroundService.getNotificationTitle(1), true); in testForegroundServiceRemoveNotificationOnStop() 1080 assertNotification(2, LocalForegroundService.getNotificationTitle(2), true); in testForegroundServiceRemoveNotificationOnStop() 1160 assertNotification(1, LocalForegroundService.getNotificationTitle(1), true); in testForegroundService_detachNotificationOnStop() [all …]
|