Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DNotificationGroupAlertTransferHelperTest.java123 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()
DHeadsUpManagerPhoneTest.java122 assertFalse(mHeadsUpManager.isAlerting(mEntry.getKey())); in testSwipedOutNotification()
153 () -> mLivesPastNormalTime = mHeadsUpManager.isAlerting(mEntry.getKey()); in testExtendHeadsUp()
165 assertFalse(mHeadsUpManager.isAlerting(mEntry.getKey())); in testExtendHeadsUp()
DNotificationGroupManagerTest.java143 when(mHeadsUpManager.isAlerting(childEntry.getKey())).thenReturn(true); in testHeadsUpEntryIsIsolated()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DNotificationGroupAlertTransferHelper.java145 if (mHeadsUpManager.isAlerting(group.summary.getKey())) {
159 if (!mHeadsUpManager.isAlerting(group.summary.getKey())) {
175 private void onAlertStateChanged(NotificationEntry entry, boolean isAlerting, in onAlertStateChanged() argument
177 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()
DHeadsUpManagerPhone.java202 if (isAlerting(entry.getKey())) { in onExpandingFinished()
343 if (isAlerting(entry.getKey())) { in onChangeAllowed()
DStatusBarNotificationActivityStarter.java491 if (mHeadsUpManager != null && mHeadsUpManager.isAlerting(key)) { in removeHUN()
605 if (mHeadsUpManager.isAlerting(entry.getKey())) { in createRemoveRunnable()
DNotificationGroupManager.java550 if (mHeadsUpManager != null && !mHeadsUpManager.isAlerting(entry.getKey())) { in shouldIsolate()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/
DAlertingNotificationManagerTest.java145 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()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DHeadsUpManagerTest.java76 () -> mLivesPastNormalTime = mHeadsUpManager.isAlerting(mEntry.getKey()); in testShowNotification_autoDismissesWithAccessibilityTimeout()
85 assertFalse(mHeadsUpManager.isAlerting(mEntry.getKey())); in testShowNotification_autoDismissesWithAccessibilityTimeout()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/interruption/
DHeadsUpController.java123 final boolean wasHeadsUp = mHeadsUpManager.isAlerting(entry.getKey()); in updateHunState()
149 if (mHeadsUpManager.isAlerting(key)) { in stopAlerting()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/collection/coordinator/
DHeadsUpCoordinator.java123 final boolean wasHeadsUp = mHeadsUpManager.isAlerting(entry.getKey());
146 if (mHeadsUpManager.isAlerting(entryKey)) {
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/collection/coordinator/
DHeadsUpCoordinatorTest.java224 when(mHeadsUpManager.isAlerting(any())).thenReturn(false); in setCurrentHUN()
226 when(mHeadsUpManager.isAlerting(entry.getKey())).thenReturn(true); in setCurrentHUN()
/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.java414 return mHeadUpManager.isAlerting(entry.getKey()); in isPulsing()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/logging/
DNotificationLogger.java309 if (mHeadsUpManager.isAlerting(key)) { in logNotificationClear()