Home
last modified time | relevance | path

Searched refs:mNotificationManagerInternal (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/
DJobNotificationCoordinatorTest.java62 private NotificationManagerInternal mNotificationManagerInternal; field in JobNotificationCoordinatorTest
71 doReturn(mNotificationManagerInternal) in setUp()
73 doNothing().when(mNotificationManagerInternal) in setUp()
76 doNothing().when(mNotificationManagerInternal) in setUp()
79 doReturn(mock(NotificationChannel.class)).when(mNotificationManagerInternal) in setUp()
148 verify(mNotificationManagerInternal) in testSingleJob_DetachOnStop()
154 verify(mNotificationManagerInternal, never()) in testSingleJob_DetachOnStop()
170 verify(mNotificationManagerInternal) in testSingleJob_RemoveOnStop()
176 verify(mNotificationManagerInternal) in testSingleJob_RemoveOnStop()
192 InOrder inOrder = inOrder(mNotificationManagerInternal); in testSingleJob_EnqueueDifferentNotificationId_DetachOnStop()
[all …]
/frameworks/base/apex/jobscheduler/service/java/com/android/server/job/
DJobNotificationCoordinator.java107 private final NotificationManagerInternal mNotificationManagerInternal; field in JobNotificationCoordinator
110 mNotificationManagerInternal = LocalServices.getService(NotificationManagerInternal.class); in JobNotificationCoordinator()
177 mNotificationManagerInternal.enqueueNotification( in enqueueNotification()
208 mNotificationManagerInternal.cancelNotification( in removeNotificationAssociation()
218 mNotificationManagerInternal.removeUserInitiatedJobFlagFromNotification( in removeNotificationAssociation()
341 if (null == mNotificationManagerInternal.getNotificationChannel( in validateNotification()
/frameworks/base/services/core/java/com/android/server/am/
DBaseAppStateTracker.java293 NotificationManagerInternal mNotificationManagerInternal; field in BaseAppStateTracker.Injector
316 mNotificationManagerInternal = LocalServices.getService( in onSystemReady()
389 return mNotificationManagerInternal; in getNotificationManagerInternal()
/frameworks/base/services/tests/servicestests/src/com/android/server/people/
DPeopleServiceTest.java97 NotificationManagerInternal mNotificationManagerInternal; field in PeopleServiceTest
125 LocalServices.addService(NotificationManagerInternal.class, mNotificationManagerInternal); in setUp()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/
DActivityManagerServiceTest.java231 @Mock private NotificationManagerInternal mNotificationManagerInternal; field in ActivityManagerServiceTest
252 LocalServices.addService(NotificationManagerInternal.class, mNotificationManagerInternal); in setUp()
307 clearInvocations(mNotificationManagerInternal); in tearDown()
1386 doReturn(true).when(mNotificationManagerInternal).areNotificationsEnabledForPackage( in testStartForegroundServiceDelegate()
1390 doReturn(mock(NotificationChannel.class)).when(mNotificationManagerInternal) in testStartForegroundServiceDelegate()
1439 verify(mNotificationManagerInternal, mode) in testStartForegroundServiceDelegate()
1450 verify(mNotificationManagerInternal, mode) in testStartForegroundServiceDelegate()
DBackgroundRestrictionTest.java294 @Mock private NotificationManagerInternal mNotificationManagerInternal; field in BackgroundRestrictionTest
3431 return BackgroundRestrictionTest.this.mNotificationManagerInternal; in getNotificationManagerInternal()
/frameworks/base/services/people/java/com/android/server/people/data/
DDataManager.java137 private NotificationManagerInternal mNotificationManagerInternal; field in DataManager
156 mNotificationManagerInternal = LocalServices.getService(NotificationManagerInternal.class); in initialize()
291 mNotificationManagerInternal.getNotificationChannel(packageName, uid, in getConversationChannel()
296 mNotificationManagerInternal.getNotificationChannelGroup(packageName, in getConversationChannel()
1157 mNotificationManagerInternal.onConversationRemoved(packageName, uid, shortcutIds); in removeConversations()
/frameworks/base/services/tests/servicestests/src/com/android/server/people/data/
DDataManagerTest.java149 private NotificationManagerInternal mNotificationManagerInternal; field in DataManagerTest
207 addLocalServiceMock(NotificationManagerInternal.class, mNotificationManagerInternal); in setUp()
256 when(mNotificationManagerInternal.getNotificationChannel(anyString(), anyInt(), in setUp()
258 when(mNotificationManagerInternal.getNotificationChannel(anyString(), anyInt(), in setUp()
746 verify(mNotificationManagerInternal) in testGetConversation_unsyncedShortcut()
985 verify(mNotificationManagerInternal) in testShortcutsDeleted()