HomeSort by relevance Sort by last modified time
    Searched refs:getShadowApplication (Results 1 - 14 of 14) sorted by null

  /external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowToast.java 44 Robolectric.getShadowApplication().getShownToasts().add(toast);
81 Robolectric.getShadowApplication().getShownToasts().clear();
92 return Robolectric.getShadowApplication().getShownToasts().size();
104 for (Toast toast : Robolectric.getShadowApplication().getShownToasts()) {
120 for (Toast toast : Robolectric.getShadowApplication().getShownToasts()) {
135 List<Toast> shownToasts = Robolectric.getShadowApplication().getShownToasts();
145 List<Toast> shownToasts = Robolectric.getShadowApplication().getShownToasts();
ShadowContextWrapper.java 145 return new TestSharedPreferences(getShadowApplication().getSharedPreferenceMap(), name, mode);
160 return getShadowApplication().getNextStartedActivity();
170 return getShadowApplication().peekNextStartedActivity();
180 return getShadowApplication().getNextStartedService();
188 getShadowApplication().clearStartedServices();
197 return getShadowApplication().peekNextStartedService();
207 return getShadowApplication().getNextStoppedService();
231 return getShadowApplication().getMainLooper();
244 private ShadowApplication getShadowApplication() {
250 return getShadowApplication().bindService(intent, serviceConnection, i)
    [all...]
ShadowProgressDialog.java 41 Robolectric.getShadowApplication().setLatestAlertDialog(shadowOf(progressDialog));
ShadowAlertDialog.java 21 import static com.xtremelabs.robolectric.Robolectric.getShadowApplication;
52 ShadowAlertDialog dialog = Robolectric.getShadowApplication().getLatestAlertDialog();
75 getShadowApplication().setLatestAlertDialog(null);
215 getShadowApplication().setLatestAlertDialog(this);
ShadowLooper.java 41 return Robolectric.getShadowApplication().getMainLooper();
ShadowViewStub.java 41 ResourceExtractor resourceExtractor = Robolectric.getShadowApplication().getResourceLoader().getResourceExtractor();
ShadowDialog.java 52 ShadowDialog dialog = Robolectric.getShadowApplication().getLatestDialog();
57 Robolectric.getShadowApplication().setLatestDialog(latestDialog);
ShadowLocationManager.java 86 Robolectric.getShadowApplication().sendBroadcast(intent);
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/matchers/
StartedServiceMatcher.java 13 import static com.xtremelabs.robolectric.Robolectric.getShadowApplication;
112 intent.setClass(getShadowApplication().getApplicationContext(), serviceClass);
  /external/robolectric/src/test/java/com/xtremelabs/robolectric/shadows/
PreferenceManagerTest.java 22 Map<String, Map<String, Object>> content = Robolectric.getShadowApplication().getSharedPreferenceMap();
LocationManagerTest.java 176 .getShadowApplication().getApplicationContext(), 0, someIntent,
180 Robolectric.getShadowApplication().getApplicationContext(), 0, someOtherIntent,
213 PendingIntent someLocationListenerPendingIntent = PendingIntent.getBroadcast(Robolectric.getShadowApplication().getApplicationContext(), 0,
216 PendingIntent someOtherLocationListenerPendingIntent = PendingIntent.getBroadcast(Robolectric.getShadowApplication().getApplicationContext(),
264 PendingIntent someLocationListenerPendingIntent = PendingIntent.getBroadcast(Robolectric.getShadowApplication().getApplicationContext(), 0,
362 PendingIntent someLocationListenerPendingIntent = PendingIntent.getBroadcast(Robolectric.getShadowApplication().getApplicationContext(), 0,
378 PendingIntent someLocationListenerPendingIntent = PendingIntent.getBroadcast(Robolectric.getShadowApplication().getApplicationContext(), 0,
  /external/robolectric/src/test/java/com/xtremelabs/robolectric/res/
ResourceLoaderTest.java 87 ResourceLoader resourceLoader = Robolectric.getShadowApplication().getResourceLoader();
97 ResourceLoader resourceLoader = Robolectric.getShadowApplication().getResourceLoader();
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/util/
RobolectricBackgroundExecutorService.java 57 Robolectric.getShadowApplication().getBackgroundScheduler().post(new Runnable() {
  /external/robolectric/src/main/java/com/xtremelabs/robolectric/
Robolectric.java     [all...]

Completed in 77 milliseconds