Searched refs:isAlerting (Results 1 – 14 of 14) sorted by relevance
106 assertFalse(mHeadsUpManager.isAlerting(summaryEntry.key)); in testSuppressedSummaryHeadsUpTransfersToChild()107 assertTrue(mHeadsUpManager.isAlerting(childEntry.key)); in testSuppressedSummaryHeadsUpTransfersToChild()130 assertTrue(mHeadsUpManager.isAlerting(summaryEntry.key)); in testSuppressedSummaryHeadsUpTransfersToChildButBackAgain()131 assertFalse(mHeadsUpManager.isAlerting(childEntry.key)); in testSuppressedSummaryHeadsUpTransfersToChildButBackAgain()156 assertFalse(mHeadsUpManager.isAlerting(summaryEntry.key)); in testSuppressedSummaryHeadsUpDoesntTransferBackOnDozingChanged()172 assertFalse(mHeadsUpManager.isAlerting(summaryEntry.key)); in testSuppressedSummaryHeadsUpTransferDoesNotAlertChildIfUninflated()173 assertFalse(mHeadsUpManager.isAlerting(childEntry.key)); in testSuppressedSummaryHeadsUpTransferDoesNotAlertChildIfUninflated()193 assertFalse(mHeadsUpManager.isAlerting(summaryEntry.key)); in testSuppressedSummaryHeadsUpTransferAlertsChildOnInflation()194 assertTrue(mHeadsUpManager.isAlerting(childEntry.key)); in testSuppressedSummaryHeadsUpTransferAlertsChildOnInflation()224 assertFalse(mHeadsUpManager.isAlerting(childEntry.key)); in testSuppressedSummaryHeadsUpTransferBackAbortsChildInflation()
140 when(mHeadsUpManager.isAlerting(childEntry.key)).thenReturn(true); in testHeadsUpEntryIsIsolated()157 when(mAmbientPulseManager.isAlerting(childEntry.key)).thenReturn(true); in testAmbientPulseEntryIsIsolated()
103 assertFalse(mHeadsUpManager.isAlerting(mEntry.key)); in testSwipedOutNotification()
149 if (alertManager.isAlerting(group.summary.key)) {163 if (!alertManager.isAlerting(group.summary.key)) {184 private void onAlertStateChanged(NotificationEntry entry, boolean isAlerting, in onAlertStateChanged() argument186 if (isAlerting && mGroupManager.isSummaryOfSuppressedGroup(entry.notification)) { in onAlertStateChanged()302 || !alertManager.isAlerting(sbn.getKey()) in handleSuppressedSummaryAlerted()320 if (!alertManager.isAlerting(child.key) && onlySummaryAlerts(summary)) { in handleSuppressedSummaryAlerted()372 if (onlySummaryAlerts(entry) && alertManager.isAlerting(entry.key)) { in checkShouldTransferBack()382 if (releasedChild && !alertManager.isAlerting(summary.key)) { in checkShouldTransferBack()411 if (alertManager.isAlerting(entry.key)) { in alertNotificationWhenPossible()
463 private void onAlertStateChanged(NotificationEntry entry, boolean isAlerting) { in onAlertStateChanged() argument464 if (isAlerting) { in onAlertStateChanged()488 if (!mHeadsUpManager.isAlerting(entry.key) && !mAmbientPulseManager.isAlerting(entry.key)) { in shouldIsolate()
178 if (isAlerting(entry.key)) { in onExpandingFinished()364 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()
63 () -> mLivesPastNormalTime = mAmbientPulseManager.isAlerting(mEntry.key); in testExtendPulse()76 assertFalse(mAmbientPulseManager.isAlerting(mEntry.key)); in testExtendPulse()
76 () -> mLivesPastNormalTime = mHeadsUpManager.isAlerting(mEntry.key); in testShowNotification_autoDismissesWithAccessibilityTimeout()85 assertFalse(mHeadsUpManager.isAlerting(mEntry.key)); in testShowNotification_autoDismissesWithAccessibilityTimeout()
137 final boolean wasAlerting = alertManager.isAlerting(entry.key); in updateAlertState()177 if (mHeadsUpManager.isAlerting(key)) { in stopAlerting()188 if (mAmbientPulseManager.isAlerting(key)) { in stopAlerting()
167 public boolean isAlerting(@NonNull String key) { in isAlerting() method in AlertingNotificationManager
411 return mAmbientPulseManager.isAlerting(entry.key); in isPulsing()
283 if (mHeadsUpManager.isAlerting(key)) { in logNotificationClear()