Home
last modified time | relevance | path

Searched refs:addCondition (Results 1 – 11 of 11) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/shared/condition/
DConditionMonitorTest.java108 .addCondition(overridingCondition) in testOverridingCondition()
109 .addCondition(regularCondition) in testOverridingCondition()
113 .addCondition(regularCondition) in testOverridingCondition()
161 .addCondition(overridingCondition) in testMultipleOverridingConditions()
162 .addCondition(overridingCondition2) in testMultipleOverridingConditions()
237 .addCondition(condition) in addCallback_addSecondCallback_reportWithExistingValue()
243 .addCondition(condition) in addCallback_addSecondCallback_reportWithExistingValue()
285 new Monitor.Subscription.Builder(callback).addCondition(condition).build() in removeCallback_noFailureOnDoubleRemove()
303 new Monitor.Subscription.Builder(callback).addCondition(condition).build() in removeCallback_shouldNoLongerReceiveUpdate()
418 .addCondition(settableCondition) in unsetCondition_shouldNotAffectValue()
[all …]
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/process/condition/
DSystemProcessConditionTest.java75 .addCondition(condition) in testConditionFailsWithNonSystemProcess()
96 .addCondition(condition) in testConditionSucceedsWithSystemProcess()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/interruption/
DVisualInterruptionDecisionProviderImpl.kt160 addCondition(PeekDisabledSuppressor(globalSettings, headsUpManager, logger, mainHandler)) in start()
161 addCondition(PulseDisabledSuppressor(ambientDisplayConfiguration, userTracker)) in start()
162 addCondition(PulseBatterySaverSuppressor(batteryController)) in start()
167 addCondition(PeekDeviceNotInUseSuppressor(powerManager, statusBarStateController)) in start()
197 override fun addCondition(condition: VisualInterruptionCondition) { in addCondition() method
DVisualInterruptionDecisionProvider.kt89 fun addCondition(condition: VisualInterruptionCondition) method
DNotificationInterruptStateProviderWrapper.kt70 override fun addCondition(condition: VisualInterruptionCondition) = notValidInLegacyMode() in addCondition() method in com.android.systemui.statusbar.notification.interruption.NotificationInterruptStateProviderWrapper
/frameworks/base/packages/SystemUI/src/com/android/systemui/dreams/
DAssistantAttentionMonitor.java57 .addCondition(mAssistantAttentionCondition) in start()
DDreamMonitor.java61 .addCondition(mDreamCondition) in onStart()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarNotificationPresenter.java181 visualInterruptionDecisionProvider.addCondition(mAlertsDisabledCondition); in StatusBarNotificationPresenter()
182 visualInterruptionDecisionProvider.addCondition(mVrModeCondition); in StatusBarNotificationPresenter()
184 visualInterruptionDecisionProvider.addCondition(mPanelsDisabledCondition); in StatusBarNotificationPresenter()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/condition/
DMonitor.java347 public Builder addCondition(Condition condition) { in addCondition() method in Monitor.Subscription.Builder
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/interruption/
DVisualInterruptionDecisionProviderImplTest.kt398 provider.addCondition(condition) in withCondition()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DStatusBarNotificationPresenterTest.java333 verify(mVisualInterruptionDecisionProvider, times(3)).addCondition( in verifyAndCaptureSuppressors()