Home
last modified time | relevance | path

Searched refs:canceller (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/util/concurrency/
DMockExecutorHandler.kt53 val canceller = in <lambda>() constant
64 .add(Cancellation(token, canceller)) in <lambda>()
73 val canceller = in <lambda>() constant
84 .add(Cancellation(token, canceller)) in <lambda>()
100 private class Cancellation(val token: Any, canceller: Runnable) : Runnable by canceller
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/controller/
DControlsBindingControllerImplTest.kt122 val canceller = controller.bindAndLoad(TEST_COMPONENT_NAME_1, callback) in testBindAndLoad_cancel() constant
127 canceller.run() in testBindAndLoad_cancel()
141 val canceller = controller.bindAndLoad(TEST_COMPONENT_NAME_1, callback) in testBindAndLoad_noCancelAfterOnComplete() constant
148 canceller.run() in testBindAndLoad_noCancelAfterOnComplete()
161 val canceller = controller.bindAndLoad(TEST_COMPONENT_NAME_1, callback) in testLoad_onCompleteRemovesTimeout() constant
180 val canceller = controller.bindAndLoad(TEST_COMPONENT_NAME_1, callback) in testLoad_onErrorRemovesTimeout() constant
199 val canceller = controller.bindAndLoad(TEST_COMPONENT_NAME_1, callback) in testBindAndLoad_noCancelAfterOnError() constant
206 canceller.run() in testBindAndLoad_noCancelAfterOnError()
DControlsControllerImplTest.kt116 private lateinit var canceller: DidRunRunnable in <lambda>() variable in com.android.systemui.controls.controller.ControlsControllerImplTest
164 canceller = DidRunRunnable() in <lambda>()
165 `when`(bindingController.bindAndLoad(any(), any())).thenReturn(canceller) in <lambda>()
436 assertTrue(canceller.ran) in <lambda>()
458 assertTrue(canceller.ran) in <lambda>()
480 assertTrue(canceller.ran) in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/
DNotificationsQSContainerController.kt104 private var canceller: Runnable? = null in <lambda>() variable
112 canceller?.run() in <lambda>()
113 canceller = delayableExecutor.executeDelayed(this, INSET_DEBOUNCE_MILLIS) in <lambda>()