/frameworks/base/services/tests/mockingservicestests/src/com/android/server/job/ |
D | JobNotificationCoordinatorTest.java | 62 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/ |
D | JobNotificationCoordinator.java | 107 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/ |
D | BaseAppStateTracker.java | 293 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/ |
D | PeopleServiceTest.java | 97 NotificationManagerInternal mNotificationManagerInternal; field in PeopleServiceTest 125 LocalServices.addService(NotificationManagerInternal.class, mNotificationManagerInternal); in setUp()
|
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/am/ |
D | ActivityManagerServiceTest.java | 231 @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()
|
D | BackgroundRestrictionTest.java | 294 @Mock private NotificationManagerInternal mNotificationManagerInternal; field in BackgroundRestrictionTest 3431 return BackgroundRestrictionTest.this.mNotificationManagerInternal; in getNotificationManagerInternal()
|
/frameworks/base/services/people/java/com/android/server/people/data/ |
D | DataManager.java | 137 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/ |
D | DataManagerTest.java | 149 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()
|