Home
last modified time | relevance | path

Searched refs:setDelegate (Results 1 – 17 of 17) sorted by relevance

/frameworks/support/app-toolkit/core-testing/src/main/java/androidx/arch/core/executor/testing/
DInstantTaskExecutorRule.java35 ArchTaskExecutor.getInstance().setDelegate(new TaskExecutor() { in starting()
56 ArchTaskExecutor.getInstance().setDelegate(null); in finished()
DCountingTaskExecutorRule.java43 ArchTaskExecutor.getInstance().setDelegate(new DefaultTaskExecutor() { in starting()
59 ArchTaskExecutor.getInstance().setDelegate(null); in finished()
/frameworks/support/work/workmanager/src/androidTest/java/androidx/work/impl/
DWorkManagerImplLargeExecutorTest.java86 ArchTaskExecutor.getInstance().setDelegate(new TaskExecutor() { in setUp()
113 WorkManagerImpl.setDelegate(mWorkManagerImpl); in setUp()
118 WorkManagerImpl.setDelegate(null); in tearDown()
119 ArchTaskExecutor.getInstance().setDelegate(null); in tearDown()
DWorkContinuationImplTest.java85 ArchTaskExecutor.getInstance().setDelegate(new android.arch.core.executor.TaskExecutor() { in setUp()
113 WorkManagerImpl.setDelegate(mWorkManagerImpl); in setUp()
123 WorkManagerImpl.setDelegate(null); in tearDown()
124 ArchTaskExecutor.getInstance().setDelegate(null); in tearDown()
DWorkManagerImplTest.java117 ArchTaskExecutor.getInstance().setDelegate(new TaskExecutor() { in setUp()
139 WorkManagerImpl.setDelegate(mWorkManagerImpl); in setUp()
145 WorkManagerImpl.setDelegate(null); in tearDown()
146 ArchTaskExecutor.getInstance().setDelegate(null); in tearDown()
/frameworks/support/app-toolkit/core-testing/src/main/java/androidx/arch/core/executor/
DJunitTaskExecutorRule.java49 ArchTaskExecutor.getInstance().setDelegate(mTaskExecutor); in beforeStart()
53 ArchTaskExecutor.getInstance().setDelegate(null); in afterFinished()
/frameworks/support/lifecycle/livedata/src/test/java/androidx/lifecycle/
DComputableLiveDataTest.java63 ArchTaskExecutor.getInstance().setDelegate(mTaskExecutor); in swapExecutorDelegate()
68 ArchTaskExecutor.getInstance().setDelegate(null); in removeExecutorDelegate()
81 ArchTaskExecutor.getInstance().setDelegate(executor); in noConcurrentCompute()
131 ArchTaskExecutor.getInstance().setDelegate(null); in noConcurrentCompute()
DTransformationsTest.java46 ArchTaskExecutor.getInstance().setDelegate(new InstantTaskExecutor()); in swapExecutorDelegate()
DMediatorLiveDataTest.java77 ArchTaskExecutor.getInstance().setDelegate(new InstantTaskExecutor()); in swapExecutorDelegate()
/frameworks/support/work/workmanager/src/androidTest/java/androidx/work/impl/background/systemjob/
DSystemJobServiceTest.java82 ArchTaskExecutor.getInstance().setDelegate(new TaskExecutor() { in setUp()
104 WorkManagerImpl.setDelegate(mWorkManagerImpl); in setUp()
119 WorkManagerImpl.setDelegate(null); in tearDown()
120 ArchTaskExecutor.getInstance().setDelegate(null); in tearDown()
/frameworks/support/paging/runtime/src/androidTest/java/androidx/paging/
DLivePagedListBuilderTest.kt54 ArchTaskExecutor.getInstance().setDelegate(object : TaskExecutor() { in <lambda>()
73 ArchTaskExecutor.getInstance().setDelegate(null) in <lambda>()
/frameworks/support/work/workmanager-test/src/androidTest/java/androidx/work/test/
DWorkManagerInitHelperTest.java50 WorkManagerImpl.setDelegate(null); in tearDown()
/frameworks/support/app-toolkit/runtime/src/main/java/androidx/arch/core/executor/
DArchTaskExecutor.java90 public void setDelegate(@Nullable TaskExecutor taskExecutor) { in setDelegate() method in ArchTaskExecutor
/frameworks/support/work/workmanager-test/src/main/java/androidx/work/test/
DWorkManagerTestInitHelper.java75 WorkManagerImpl.setDelegate(workManager); in initializeTestWorkManager()
/frameworks/support/room/integration-tests/testapp/src/androidTest/java/androidx/room/integration/testapp/test/
DRxJava2Test.java62 ArchTaskExecutor.getInstance().setDelegate(new TaskExecutor() { in setupSchedulers()
83 ArchTaskExecutor.getInstance().setDelegate(null); in clearSchedulers()
/frameworks/support/work/workmanager/src/main/java/androidx/work/impl/
DWorkManagerImpl.java87 public static void setDelegate(WorkManagerImpl delegate) { in setDelegate() method in WorkManagerImpl
/frameworks/support/lifecycle/livedata-core/src/test/java/androidx/lifecycle/
DLiveDataTest.java113 ArchTaskExecutor.getInstance().setDelegate(null); in removeExecutorDelegate()