Home
last modified time | relevance | path

Searched refs:ShadowActivity (Results 1 – 10 of 10) 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/shadows/
DShadowActivityTest.java245 ShadowActivity shadowActivity = shadowOf(activity); in shouldSupportStartActivityForResult()
259 ShadowActivity shadowActivity = shadowOf(activity); in shouldSupportGetStartedActivitiesForResult()
264ShadowActivity.IntentForResult intentForResult = shadowActivity.getNextStartedActivityForResult(); in shouldSupportGetStartedActivitiesForResult()
275 ShadowActivity shadowActivity = shadowOf(activity); in shouldSupportPeekStartedActivitiesForResult()
280ShadowActivity.IntentForResult intentForResult = shadowActivity.peekNextStartedActivityForResult(); in shouldSupportPeekStartedActivitiesForResult()
474 ShadowActivity shadow = shadowOf(activity); in shouldSupportCurrentFocus()
499 ShadowActivity shadow = shadowOf(activity); in setDefaultKeyMode_shouldSetKeyMode()
597 ShadowActivity shadow = shadowOf(activity); in startAndStopManagingCursorTracksCursors()
815ShadowActivity.IntentForResult intentForResult = shadowOf(activity).getNextStartedActivityForResul… in canStartActivityFromFragment()
828ShadowActivity.IntentForResult intentForResult = shadowOf(activity).getNextStartedActivityForResul… in canStartActivityFromFragment_withBundle()
[all …]
DShadowTest.java32 assertThat((ShadowActivity) Shadow.extract(activity)).isSameAs(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/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/main/java/org/robolectric/android/internal/
DLocalActivityInvoker.java21 import org.robolectric.shadows.ShadowActivity;
55 ShadowActivity shadowActivity = Shadow.extract(controller.get()); in getActivityResult()
135 Shadow.<ShadowActivity>extract(recreatedActivity) in recreateActivity()
/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()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DShadowActivityGroup.java9 public class ShadowActivityGroup extends ShadowActivity {
DShadowActivity.java52 public class ShadowActivity extends ShadowContextThemeWrapper { class
DShadowInstrumentation.java55 import org.robolectric.shadows.ShadowActivity.IntentForResult;