Home
last modified time | relevance | path

Searched refs:canRestartNow (Results 1 – 8 of 8) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/flags/
DScreenIdleConditionTest.kt57 val canRestart by collectLastValue(condition.canRestartNow) in testCondition_awake()
67 val canRestart by collectLastValue(condition.canRestartNow) in testCondition_asleep()
77 val canRestart by collectLastValue(condition.canRestartNow) in testCondition_invokesRetry()
DNotOccludedConditionTest.kt63 val canRestart by collectLastValue(condition.canRestartNow) in testCondition_occluded()
72 val canRestart by collectLastValue(condition.canRestartNow) in testCondition_notOccluded()
81 val canRestart by collectLastValue(condition.canRestartNow) in testCondition_invokesRetry()
DPluggedInConditionTest.kt60 val canRestart by collectLastValue(condition.canRestartNow) in testCondition_unplugged()
70 val canRestart by collectLastValue(condition.canRestartNow) in testCondition_pluggedIn()
80 val canRestart by collectLastValue(condition.canRestartNow) in testCondition_invokesRetry()
DConditionalRestarterTest.kt130 override val canRestartNow: Flow<Boolean> = canRestart constant in com.android.systemui.flags.ConditionalRestarterTest.FakeCondition
/frameworks/base/packages/SystemUI/src/com/android/systemui/flags/
DConditionalRestarter.kt64 combine(conditions.map { condition -> condition.canRestartNow }) { it.all { it } } in <lambda>()
102 val canRestartNow: Flow<Boolean> in <lambda>() constant
DScreenIdleCondition.kt30 override val canRestartNow: Flow<Boolean> constant in com.android.systemui.flags.ScreenIdleCondition
DNotOccludedCondition.kt17 override val canRestartNow: Flow<Boolean> constant in com.android.systemui.flags.NotOccludedCondition
DPluggedInCondition.kt32 override val canRestartNow = conflatedCallbackFlow { in <lambda>() constant in com.android.systemui.flags.PluggedInCondition