@Implements(value=android.app.Instrumentation.class,
looseSignatures=true)
public class ShadowInstrumentation
extends java.lang.Object
| Constructor and Description |
|---|
ShadowInstrumentation() |
| Modifier and Type | Method and Description |
|---|---|
void |
execStartActivities(android.content.Context who,
android.os.IBinder contextThread,
android.os.IBinder token,
android.app.Activity target,
android.content.Intent[] intents,
android.os.Bundle options) |
android.app.Instrumentation.ActivityResult |
execStartActivity(android.content.Context who,
android.os.IBinder contextThread,
android.os.IBinder token,
android.app.Activity target,
android.content.Intent intent,
int requestCode,
android.os.Bundle options) |
android.app.Instrumentation.ActivityResult |
execStartActivity(android.content.Context who,
android.os.IBinder contextThread,
android.os.IBinder token,
android.app.Fragment target,
android.content.Intent intent,
int requestCode,
android.os.Bundle options) |
android.app.Instrumentation.ActivityResult |
execStartActivity(android.content.Context who,
android.os.IBinder contextThread,
android.os.IBinder token,
java.lang.String target,
android.content.Intent intent,
int requestCode,
android.os.Bundle options) |
android.app.Instrumentation.ActivityResult |
execStartActivity(android.content.Context who,
android.os.IBinder contextThread,
android.os.IBinder token,
java.lang.String resultWho,
android.content.Intent intent,
int requestCode,
android.os.Bundle options,
android.os.UserHandle user) |
android.app.Instrumentation.ActivityResult |
execStartActivityAsCaller(android.content.Context who,
android.os.IBinder contextThread,
android.os.IBinder token,
android.app.Activity target,
android.content.Intent intent,
int requestCode,
android.os.Bundle options,
boolean ignoreTargetSecurity,
int userId) |
void |
execStartActivityFromAppTask(android.content.Context who,
android.os.IBinder contextThread,
java.lang.Object appTask,
android.content.Intent intent,
android.os.Bundle options) |
android.app.Activity |
startActivitySync(android.content.Intent intent,
android.os.Bundle options) |
@Implementation
public android.app.Activity startActivitySync(android.content.Intent intent,
android.os.Bundle options)
@Implementation
public android.app.Instrumentation.ActivityResult execStartActivity(android.content.Context who,
android.os.IBinder contextThread,
android.os.IBinder token,
android.app.Activity target,
android.content.Intent intent,
int requestCode,
android.os.Bundle options)
@Implementation(maxSdk=22)
public android.app.Instrumentation.ActivityResult execStartActivity(android.content.Context who,
android.os.IBinder contextThread,
android.os.IBinder token,
android.app.Fragment target,
android.content.Intent intent,
int requestCode,
android.os.Bundle options)
@Implementation
public void execStartActivities(android.content.Context who,
android.os.IBinder contextThread,
android.os.IBinder token,
android.app.Activity target,
android.content.Intent[] intents,
android.os.Bundle options)
@Implementation(minSdk=21)
public void execStartActivityFromAppTask(android.content.Context who,
android.os.IBinder contextThread,
java.lang.Object appTask,
android.content.Intent intent,
android.os.Bundle options)
@Implementation(minSdk=23)
public android.app.Instrumentation.ActivityResult execStartActivity(android.content.Context who,
android.os.IBinder contextThread,
android.os.IBinder token,
java.lang.String target,
android.content.Intent intent,
int requestCode,
android.os.Bundle options)
@Implementation
public android.app.Instrumentation.ActivityResult execStartActivity(android.content.Context who,
android.os.IBinder contextThread,
android.os.IBinder token,
java.lang.String resultWho,
android.content.Intent intent,
int requestCode,
android.os.Bundle options,
android.os.UserHandle user)
@Implementation
public android.app.Instrumentation.ActivityResult execStartActivityAsCaller(android.content.Context who,
android.os.IBinder contextThread,
android.os.IBinder token,
android.app.Activity target,
android.content.Intent intent,
int requestCode,
android.os.Bundle options,
boolean ignoreTargetSecurity,
int userId)