Home
last modified time | relevance | path

Searched refs:isAlerting (Results 1 – 14 of 14) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DNotificationGroupAlertTransferHelperTest.java106 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()
DNotificationGroupManagerTest.java140 when(mHeadsUpManager.isAlerting(childEntry.key)).thenReturn(true); in testHeadsUpEntryIsIsolated()
157 when(mAmbientPulseManager.isAlerting(childEntry.key)).thenReturn(true); in testAmbientPulseEntryIsIsolated()
DHeadsUpManagerPhoneTest.java103 assertFalse(mHeadsUpManager.isAlerting(mEntry.key)); in testSwipedOutNotification()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNotificationGroupAlertTransferHelper.java149 if (alertManager.isAlerting(group.summary.key)) {
163 if (!alertManager.isAlerting(group.summary.key)) {
184 private void onAlertStateChanged(NotificationEntry entry, boolean isAlerting, in onAlertStateChanged() argument
186 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()
DNotificationGroupManager.java463 private void onAlertStateChanged(NotificationEntry entry, boolean isAlerting) { in onAlertStateChanged() argument
464 if (isAlerting) { in onAlertStateChanged()
488 if (!mHeadsUpManager.isAlerting(entry.key) && !mAmbientPulseManager.isAlerting(entry.key)) { in shouldIsolate()
DHeadsUpManagerPhone.java178 if (isAlerting(entry.key)) { in onExpandingFinished()
364 if (isAlerting(entry.key)) { in onReorderingAllowed()
DStatusBarNotificationActivityStarter.java233 if (mHeadsUpManager != null && mHeadsUpManager.isAlerting(notificationKey)) { in handleNotificationClickAfterKeyguardDismissed()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DAlertingNotificationManagerTest.java142 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()
DAmbientPulseManagerTest.java63 () -> mLivesPastNormalTime = mAmbientPulseManager.isAlerting(mEntry.key); in testExtendPulse()
76 assertFalse(mAmbientPulseManager.isAlerting(mEntry.key)); in testExtendPulse()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DHeadsUpManagerTest.java76 () -> mLivesPastNormalTime = mHeadsUpManager.isAlerting(mEntry.key); in testShowNotification_autoDismissesWithAccessibilityTimeout()
85 assertFalse(mHeadsUpManager.isAlerting(mEntry.key)); in testShowNotification_autoDismissesWithAccessibilityTimeout()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DNotificationAlertingManager.java137 final boolean wasAlerting = alertManager.isAlerting(entry.key); in updateAlertState()
177 if (mHeadsUpManager.isAlerting(key)) { in stopAlerting()
188 if (mAmbientPulseManager.isAlerting(key)) { in stopAlerting()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DAlertingNotificationManager.java167 public boolean isAlerting(@NonNull String key) { in isAlerting() method in AlertingNotificationManager
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DAmbientState.java411 return mAmbientPulseManager.isAlerting(entry.key); in isPulsing()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/logging/
DNotificationLogger.java283 if (mHeadsUpManager.isAlerting(key)) { in logNotificationClear()