OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:getBackgroundThreadScheduler
(Results
1 - 13
of
13
) sorted by null
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/
RobolectricTest.java
71
assertThat(Robolectric.
getBackgroundThreadScheduler
().isPaused()).isFalse();
72
Robolectric.
getBackgroundThreadScheduler
().pause();
77
assertThat(Robolectric.
getBackgroundThreadScheduler
().isPaused()).isFalse();
78
Robolectric.
getBackgroundThreadScheduler
().pause();
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
ShadowAsyncTaskTest.java
28
Robolectric.
getBackgroundThreadScheduler
().pause();
118
Robolectric.
getBackgroundThreadScheduler
().unPause();
129
Robolectric.
getBackgroundThreadScheduler
().unPause();
135
Robolectric.
getBackgroundThreadScheduler
().unPause();
ShadowAsyncTaskLoaderTest.java
22
Robolectric.
getBackgroundThreadScheduler
().pause();
ShadowApplicationTest.java
564
assertThat(shadowApplication.
getBackgroundThreadScheduler
()).isSameAs(Robolectric.
getBackgroundThreadScheduler
());
580
assertThat(shadowApplication.
getBackgroundThreadScheduler
()).isNotSameAs(RuntimeEnvironment.getMasterScheduler());
588
assertThat(shadowApplication.
getBackgroundThreadScheduler
()).isNotSameAs(s);
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
ShadowAsyncTaskLoader.java
43
ShadowApplication.getInstance().
getBackgroundThreadScheduler
().post(future);
ShadowApplication.java
67
getInstance().
getBackgroundThreadScheduler
().advanceBy(0);
99
public Scheduler
getBackgroundThreadScheduler
() {
ShadowAsyncTask.java
90
ShadowApplication.getInstance().
getBackgroundThreadScheduler
().post(new Runnable() {
/external/robolectric-shadows/shadows/supportv4/src/main/java/org/robolectric/shadows/support/v4/
ShadowAsyncTaskLoader.java
41
Robolectric.
getBackgroundThreadScheduler
().post(future);
/external/robolectric-shadows/shadows/supportv4/src/test/java/org/robolectric/shadows/support/v4/
ShadowAsyncTaskLoaderTest.java
22
Robolectric.
getBackgroundThreadScheduler
().pause();
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/
Robolectric.java
203
public static Scheduler
getBackgroundThreadScheduler
() {
204
return ShadowApplication.getInstance().
getBackgroundThreadScheduler
();
211
getBackgroundThreadScheduler
().advanceToLastPostedRunnable();
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/android/util/concurrent/
RoboExecutorServiceTest.java
22
private final Scheduler backgroundScheduler = Robolectric.
getBackgroundThreadScheduler
();
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/android/util/concurrent/
RoboExecutorService.java
48
this.scheduler = ShadowApplication.getInstance().
getBackgroundThreadScheduler
();
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/android/internal/
ParallelUniverseTest.java
69
assertThat(shadowApplication.
getBackgroundThreadScheduler
())
83
assertThat(shadowApplication.
getBackgroundThreadScheduler
())
Completed in 180 milliseconds