Home
last modified time | relevance | path

Searched refs:mockExecutorHandler (Results 1 – 10 of 10) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/util/concurrency/
DMockExecutorHandlerTest.kt36 val handler = mockExecutorHandler(fakeExecutor) in testNoDelay()
83 val handler = mockExecutorHandler(fakeExecutor) in testDelayed()
116 val handler = mockExecutorHandler(fakeExecutor) in testAtTime()
148 val handler = mockExecutorHandler(fakeExecutor) in testRemoveCallback_postDelayed()
169 val handler = mockExecutorHandler(fakeExecutor) in testRemoveCallback_postAtTime()
191 val handler = mockExecutorHandler(fakeExecutor) in testRemoveCallback_mixed_allRemoved()
210 val handler = mockExecutorHandler(fakeExecutor) in testRemoveCallback_differentRunnables_onlyMatchingRemoved()
234 val handler = mockExecutorHandler(fakeExecutor) in testRemoveMessages_fails()
/frameworks/base/packages/SystemUI/tests/utils/src/android/os/
DHandlerKosmos.kt21 import com.android.systemui.util.concurrency.mockExecutorHandler
23 val Kosmos.fakeExecutorHandler by Kosmos.Fixture { mockExecutorHandler(fakeExecutor) } in <lambda>()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/bouncer/domain/interactor/
DPrimaryBouncerInteractorKosmos.kt33 import com.android.systemui.util.concurrency.mockExecutorHandler
43 mainHandler = mockExecutorHandler(executor = fakeExecutor), in <lambda>()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/policy/
DTestableHeadsUpManager.java20 import static com.android.systemui.util.concurrency.MockExecutorHandlerKt.mockExecutorHandler;
48 super(context, logger, mockExecutorHandler(executor), globalSettings, systemClock, in TestableHeadsUpManager()
DHeadsUpManagerPhoneTest.java20 import static com.android.systemui.util.concurrency.MockExecutorHandlerKt.mockExecutorHandler;
114 mockExecutorHandler(executor), in TestableHeadsUpManagerPhone()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/util/concurrency/
DMockExecutorHandler.kt39 fun mockExecutorHandler(executor: Executor): Handler { in <lambda>() method
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/external/
DTileServiceManagerTest.java21 import static com.android.systemui.util.concurrency.MockExecutorHandlerKt.mockExecutorHandler;
104 Handler handler = mockExecutorHandler(mFakeExecutor); in setUp()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
DNotificationRowContentBinderImplTest.kt46 import com.android.systemui.util.concurrency.mockExecutorHandler in <lambda>()
495 var mHandler = mockExecutorHandler { p0 -> p0.run() } in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DSensitiveNotificationProtectionControllerTest.kt55 import com.android.systemui.util.concurrency.mockExecutorHandler
159 mockExecutorHandler(executor), in setUp()
/frameworks/base/packages/SystemUI/docs/
Dexecutors.md330 done with `com.android.systemui.util.concurrency.mockExecutorHandler` in