Searched refs:onNotificationCountChanged (Results 1 – 3 of 3) sorted by relevance
98 callback.onNotificationCountChanged(mNotificationKeys.size()); in addCallback()109 mCallbacks.forEach(callback -> callback.onNotificationCountChanged(notificationCount)); in reportNotificationCountChanged()121 void onNotificationCountChanged(int count); in onNotificationCountChanged() method
80 verify(mCallback).onNotificationCountChanged(2); in testPostingNotificationCallsCallbackWithNotificationCount()89 verify(mCallback).onNotificationCountChanged(0); in testRemovingNotificationCallsCallbackWithZeroNotificationCount()98 verify(mCallback, never()).onNotificationCountChanged(2); in testPostingOngoingNotificationDoesNotCallCallbackWithNotificationCount()
261 callbackCapture.getValue().onNotificationCountChanged(1); in testOnViewAttachedShowsNotificationsIconWhenNotificationsExist()274 callbackCapture.getValue().onNotificationCountChanged(0); in testOnViewAttachedHidesNotificationsIconWhenNoNotificationsExist()408 callbackCapture.getValue().onNotificationCountChanged(1); in testNotificationsIconShownWhenNotificationAdded()421 callbackCapture.getValue().onNotificationCountChanged(0); in testNotificationsIconHiddenWhenLastNotificationRemoved()