Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DNotificationGroupAlertTransferHelperTest.java103 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()
DHeadsUpManagerPhoneTest.java110 assertFalse(mHeadsUpManager.isAlerting(mEntry.key)); in testSwipedOutNotification()
138 () -> mLivesPastNormalTime = mHeadsUpManager.isAlerting(mEntry.key); in testExtendHeadsUp()
150 assertFalse(mHeadsUpManager.isAlerting(mEntry.key)); in testExtendHeadsUp()
DNotificationGroupManagerTest.java138 when(mHeadsUpManager.isAlerting(childEntry.key)).thenReturn(true); in testHeadsUpEntryIsIsolated()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNotificationGroupAlertTransferHelper.java144 if (mHeadsUpManager.isAlerting(group.summary.key)) {
158 if (!mHeadsUpManager.isAlerting(group.summary.key)) {
174 private void onAlertStateChanged(NotificationEntry entry, boolean isAlerting, in onAlertStateChanged() argument
176 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()
DNotificationGroupManager.java472 private void onAlertStateChanged(NotificationEntry entry, boolean isAlerting) { in onAlertStateChanged() argument
473 if (isAlerting) { in onAlertStateChanged()
497 if (!mHeadsUpManager.isAlerting(entry.key)) { in shouldIsolate()
DHeadsUpManagerPhone.java199 if (isAlerting(entry.key)) { in onExpandingFinished()
426 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()
/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.java119 final boolean wasAlerting = mHeadsUpManager.isAlerting(entry.key); in updateAlertState()
158 if (mHeadsUpManager.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.java413 return mHeadUpManager.isAlerting(entry.key); in isPulsing()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/logging/
DNotificationLogger.java283 if (mHeadsUpManager.isAlerting(key)) { in logNotificationClear()