Home
last modified time | relevance | path

Searched refs:mForegroundNotification (Results 1 – 2 of 2) sorted by relevance

/packages/apps/DocumentsUI/tests/common/com/android/documentsui/services/
DTestForegroundManager.java28 private Notification mForegroundNotification; field in TestForegroundManager
38 mForegroundNotification = notification; in startForeground()
39 mNotificationManager.notify(null, mForegroundId, mForegroundNotification); in startForeground()
46 mForegroundNotification = null; in stopForeground()
50 assertNotNull(mForegroundNotification); in assertInForeground()
54 assertNull(mForegroundNotification); in assertInBackground()
/packages/apps/Car/Notification/tests/unit/src/com/android/car/notification/
DPreprocessingManagerTest.java148 private Notification mForegroundNotification; field in PreprocessingManagerTest
190 mForegroundNotification = generateNotification(/* isForeground= */ true, in setup()
227 when(mStatusBarNotification2.getNotification()).thenReturn(mForegroundNotification); in setup()
231 when(mStatusBarNotification6.getNotification()).thenReturn(mForegroundNotification); in setup()
232 when(mStatusBarNotification7.getNotification()).thenReturn(mForegroundNotification); in setup()
233 when(mStatusBarNotification8.getNotification()).thenReturn(mForegroundNotification); in setup()
234 when(mStatusBarNotification9.getNotification()).thenReturn(mForegroundNotification); in setup()
235 when(mStatusBarNotification10.getNotification()).thenReturn(mForegroundNotification); in setup()
236 when(mStatusBarNotification11.getNotification()).thenReturn(mForegroundNotification); in setup()
237 when(mStatusBarNotification12.getNotification()).thenReturn(mForegroundNotification); in setup()
[all …]