Searched refs:isAlerting (Results 1 – 15 of 15) sorted by relevance
123 assertFalse(mHeadsUpManager.isAlerting(summaryEntry.getKey())); in testSuppressedSummaryHeadsUpTransfersToChild()124 assertTrue(mHeadsUpManager.isAlerting(childEntry.getKey())); in testSuppressedSummaryHeadsUpTransfersToChild()147 assertTrue(mHeadsUpManager.isAlerting(summaryEntry.getKey())); in testSuppressedSummaryHeadsUpTransfersToChildButBackAgain()148 assertFalse(mHeadsUpManager.isAlerting(childEntry.getKey())); in testSuppressedSummaryHeadsUpTransfersToChildButBackAgain()173 assertFalse(mHeadsUpManager.isAlerting(summaryEntry.getKey())); in testSuppressedSummaryHeadsUpDoesntTransferBackOnDozingChanged()189 assertFalse(mHeadsUpManager.isAlerting(summaryEntry.getKey())); in testSuppressedSummaryHeadsUpTransferDoesNotAlertChildIfUninflated()190 assertFalse(mHeadsUpManager.isAlerting(childEntry.getKey())); in testSuppressedSummaryHeadsUpTransferDoesNotAlertChildIfUninflated()211 assertFalse(mHeadsUpManager.isAlerting(summaryEntry.getKey())); in testSuppressedSummaryHeadsUpTransferAlertsChildOnInflation()212 assertTrue(mHeadsUpManager.isAlerting(childEntry.getKey())); in testSuppressedSummaryHeadsUpTransferAlertsChildOnInflation()242 assertFalse(mHeadsUpManager.isAlerting(childEntry.getKey())); in testSuppressedSummaryHeadsUpTransferBackAbortsChildInflation()
122 assertFalse(mHeadsUpManager.isAlerting(mEntry.getKey())); in testSwipedOutNotification()153 () -> mLivesPastNormalTime = mHeadsUpManager.isAlerting(mEntry.getKey()); in testExtendHeadsUp()165 assertFalse(mHeadsUpManager.isAlerting(mEntry.getKey())); in testExtendHeadsUp()
143 when(mHeadsUpManager.isAlerting(childEntry.getKey())).thenReturn(true); in testHeadsUpEntryIsIsolated()
145 if (mHeadsUpManager.isAlerting(group.summary.getKey())) {159 if (!mHeadsUpManager.isAlerting(group.summary.getKey())) {175 private void onAlertStateChanged(NotificationEntry entry, boolean isAlerting, in onAlertStateChanged() argument177 if (isAlerting && mGroupManager.isSummaryOfSuppressedGroup(entry.getSbn())) { in onAlertStateChanged()278 || !alertManager.isAlerting(sbn.getKey()) in handleSuppressedSummaryAlerted()297 if (!alertManager.isAlerting(child.getKey()) && onlySummaryAlerts(summary)) { in handleSuppressedSummaryAlerted()349 if (onlySummaryAlerts(entry) && mHeadsUpManager.isAlerting(entry.getKey())) { in checkShouldTransferBack()360 if (releasedChild && !mHeadsUpManager.isAlerting(summary.getKey())) { in checkShouldTransferBack()402 if (alertManager.isAlerting(entry.getKey())) { in alertNotificationWhenPossible()
202 if (isAlerting(entry.getKey())) { in onExpandingFinished()343 if (isAlerting(entry.getKey())) { in onChangeAllowed()
491 if (mHeadsUpManager != null && mHeadsUpManager.isAlerting(key)) { in removeHUN()605 if (mHeadsUpManager.isAlerting(entry.getKey())) { in createRemoveRunnable()
550 if (mHeadsUpManager != null && !mHeadsUpManager.isAlerting(entry.getKey())) { in shouldIsolate()
145 assertTrue(mAlertingNotificationManager.isAlerting(mEntry.getKey())); in testShowNotification_addsEntry()159 assertFalse(mAlertingNotificationManager.isAlerting(mEntry.getKey())); in testShowNotification_autoDismisses()170 assertTrue(mAlertingNotificationManager.isAlerting(mEntry.getKey())); in testRemoveNotification_removeDeferred()181 assertFalse(mAlertingNotificationManager.isAlerting(mEntry.getKey())); in testRemoveNotification_forceRemove()
76 () -> mLivesPastNormalTime = mHeadsUpManager.isAlerting(mEntry.getKey()); in testShowNotification_autoDismissesWithAccessibilityTimeout()85 assertFalse(mHeadsUpManager.isAlerting(mEntry.getKey())); in testShowNotification_autoDismissesWithAccessibilityTimeout()
123 final boolean wasHeadsUp = mHeadsUpManager.isAlerting(entry.getKey()); in updateHunState()149 if (mHeadsUpManager.isAlerting(key)) { in stopAlerting()
123 final boolean wasHeadsUp = mHeadsUpManager.isAlerting(entry.getKey());146 if (mHeadsUpManager.isAlerting(entryKey)) {
224 when(mHeadsUpManager.isAlerting(any())).thenReturn(false); in setCurrentHUN()226 when(mHeadsUpManager.isAlerting(entry.getKey())).thenReturn(true); in setCurrentHUN()
167 public boolean isAlerting(@NonNull String key) { in isAlerting() method in AlertingNotificationManager
414 return mHeadUpManager.isAlerting(entry.getKey()); in isPulsing()
309 if (mHeadsUpManager.isAlerting(key)) { in logNotificationClear()