Searched refs:isAlerting (Results 1 – 13 of 13) sorted by relevance
103 assertFalse(mHeadsUpManager.isAlerting(summaryEntry.key)); in testSuppressedSummaryHeadsUpTransfersToChild()104 assertTrue(mHeadsUpManager.isAlerting(childEntry.key)); in testSuppressedSummaryHeadsUpTransfersToChild()127 assertTrue(mHeadsUpManager.isAlerting(summaryEntry.key)); in testSuppressedSummaryHeadsUpTransfersToChildButBackAgain()128 assertFalse(mHeadsUpManager.isAlerting(childEntry.key)); in testSuppressedSummaryHeadsUpTransfersToChildButBackAgain()153 assertFalse(mHeadsUpManager.isAlerting(summaryEntry.key)); in testSuppressedSummaryHeadsUpDoesntTransferBackOnDozingChanged()169 assertFalse(mHeadsUpManager.isAlerting(summaryEntry.key)); in testSuppressedSummaryHeadsUpTransferDoesNotAlertChildIfUninflated()170 assertFalse(mHeadsUpManager.isAlerting(childEntry.key)); in testSuppressedSummaryHeadsUpTransferDoesNotAlertChildIfUninflated()190 assertFalse(mHeadsUpManager.isAlerting(summaryEntry.key)); in testSuppressedSummaryHeadsUpTransferAlertsChildOnInflation()191 assertTrue(mHeadsUpManager.isAlerting(childEntry.key)); in testSuppressedSummaryHeadsUpTransferAlertsChildOnInflation()221 assertFalse(mHeadsUpManager.isAlerting(childEntry.key)); in testSuppressedSummaryHeadsUpTransferBackAbortsChildInflation()
110 assertFalse(mHeadsUpManager.isAlerting(mEntry.key)); in testSwipedOutNotification()138 () -> mLivesPastNormalTime = mHeadsUpManager.isAlerting(mEntry.key); in testExtendHeadsUp()150 assertFalse(mHeadsUpManager.isAlerting(mEntry.key)); in testExtendHeadsUp()
138 when(mHeadsUpManager.isAlerting(childEntry.key)).thenReturn(true); in testHeadsUpEntryIsIsolated()
144 if (mHeadsUpManager.isAlerting(group.summary.key)) {158 if (!mHeadsUpManager.isAlerting(group.summary.key)) {174 private void onAlertStateChanged(NotificationEntry entry, boolean isAlerting, in onAlertStateChanged() argument176 if (isAlerting && mGroupManager.isSummaryOfSuppressedGroup(entry.notification)) { in onAlertStateChanged()291 || !alertManager.isAlerting(sbn.getKey()) in handleSuppressedSummaryAlerted()309 if (!alertManager.isAlerting(child.key) && onlySummaryAlerts(summary)) { in handleSuppressedSummaryAlerted()360 if (onlySummaryAlerts(entry) && mHeadsUpManager.isAlerting(entry.key)) { in checkShouldTransferBack()370 if (releasedChild && !mHeadsUpManager.isAlerting(summary.key)) { in checkShouldTransferBack()399 if (alertManager.isAlerting(entry.key)) { in alertNotificationWhenPossible()
472 private void onAlertStateChanged(NotificationEntry entry, boolean isAlerting) { in onAlertStateChanged() argument473 if (isAlerting) { in onAlertStateChanged()497 if (!mHeadsUpManager.isAlerting(entry.key)) { in shouldIsolate()
199 if (isAlerting(entry.key)) { in onExpandingFinished()426 if (isAlerting(entry.key)) { in onReorderingAllowed()
233 if (mHeadsUpManager != null && mHeadsUpManager.isAlerting(notificationKey)) { in handleNotificationClickAfterKeyguardDismissed()
142 assertTrue(mAlertingNotificationManager.isAlerting(mEntry.key)); in testShowNotification_addsEntry()156 assertFalse(mAlertingNotificationManager.isAlerting(mEntry.key)); in testShowNotification_autoDismisses()166 assertTrue(mAlertingNotificationManager.isAlerting(mEntry.key)); in testRemoveNotification_removeDeferred()176 assertFalse(mAlertingNotificationManager.isAlerting(mEntry.key)); in testRemoveNotification_forceRemove()
76 () -> mLivesPastNormalTime = mHeadsUpManager.isAlerting(mEntry.key); in testShowNotification_autoDismissesWithAccessibilityTimeout()85 assertFalse(mHeadsUpManager.isAlerting(mEntry.key)); in testShowNotification_autoDismissesWithAccessibilityTimeout()
119 final boolean wasAlerting = mHeadsUpManager.isAlerting(entry.key); in updateAlertState()158 if (mHeadsUpManager.isAlerting(key)) { in stopAlerting()
167 public boolean isAlerting(@NonNull String key) { in isAlerting() method in AlertingNotificationManager
413 return mHeadUpManager.isAlerting(entry.key); in isPulsing()
283 if (mHeadsUpManager.isAlerting(key)) { in logNotificationClear()