Home
last modified time | relevance | path

Searched refs:ShadowActivity (Results 1 – 11 of 11) sorted by relevance

/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/android/fakes/
DRoboMonitoringInstrumentation.java16 import org.robolectric.shadows.ShadowActivity;
76 ShadowActivity shadowActivity = extract(target); in execStartActivity()
95 ShadowActivity shadowActivity = extract(target); in execStartActivity()
115 ShadowActivity shadowActivity = extract(target); in execStartActivity()
136 ShadowActivity shadowActivity = extract(target); in execStartActivity()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/internal/bytecode/
DShadowMapTest.java12 import org.robolectric.shadows.ShadowActivity;
57 .addShadowClasses(ShadowActivity.class) in shouldNotReturnMismatchedClassesJustBecauseTheSimpleNameMatches()
60 .isEqualTo(ShadowActivity.class.getName()); in shouldNotReturnMismatchedClassesJustBecauseTheSimpleNameMatches()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowActivityTest.java246 ShadowActivity shadowActivity = shadowOf(activity); in shouldSupportStartActivityForResult()
260 ShadowActivity shadowActivity = shadowOf(activity); in shouldSupportGetStartedActivitiesForResult()
265ShadowActivity.IntentForResult intentForResult = shadowActivity.getNextStartedActivityForResult(); in shouldSupportGetStartedActivitiesForResult()
276 ShadowActivity shadowActivity = shadowOf(activity); in shouldSupportPeekStartedActivitiesForResult()
281ShadowActivity.IntentForResult intentForResult = shadowActivity.peekNextStartedActivityForResult(); in shouldSupportPeekStartedActivitiesForResult()
475 ShadowActivity shadow = shadowOf(activity); in shouldSupportCurrentFocus()
500 ShadowActivity shadow = shadowOf(activity); in setDefaultKeyMode_shouldSetKeyMode()
598 ShadowActivity shadow = shadowOf(activity); in startAndStopManagingCursorTracksCursors()
816ShadowActivity.IntentForResult intentForResult = shadowOf(activity).getNextStartedActivityForResul… in canStartActivityFromFragment()
829ShadowActivity.IntentForResult intentForResult = shadowOf(activity).getNextStartedActivityForResul… in canStartActivityFromFragment_withBundle()
[all …]
DShadowTest.java32 assertThat((ShadowActivity) Shadow.extract(activity)).isSameInstanceAs(shadowOf(activity)); in extractor()
DShadowPendingIntentTest.java180 ShadowActivity shadowActivity = shadowOf(otherContext); in send_shouldNotReusePreviouslyFilledInIntentData()
204 ShadowActivity shadowActivity = shadowOf(otherContext); in send_shouldFillInLastIntentData()
228 ShadowActivity shadowActivity = shadowOf(otherContext); in send_shouldNotUsePreviouslyFilledInLastIntentData()
/external/libchrome/base/android/junit/src/org/chromium/base/
DApplicationStatusTest.java23 import org.robolectric.shadows.ShadowActivity;
35 public static class TrackingShadowActivity extends ShadowActivity {
/external/robolectric-shadows/robolectric/src/main/java/org/robolectric/android/internal/
DLocalActivityInvoker.java21 import org.robolectric.shadows.ShadowActivity;
60 ShadowActivity shadowActivity = Shadow.extract(controller.get()); in getActivityResult()
140 Shadow.<ShadowActivity>extract(recreatedActivity) in recreateActivity()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowActivityGroup.java9 public class ShadowActivityGroup extends ShadowActivity {
DShadowInstrumentation.java55 import org.robolectric.shadows.ShadowActivity.IntentForResult;
DShadowActivity.java52 public class ShadowActivity extends ShadowContextThemeWrapper { class
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/android/controller/
DActivityController.java23 import org.robolectric.shadows.ShadowActivity;
54 ShadowActivity shadowActivity = Shadow.extract(component); in attach()
347 ShadowActivity shadowActivity = Shadow.extract(recreatedActivity); in configurationChange()