@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 |
---|---|
protected boolean |
bindService(android.content.Intent intent,
android.content.ServiceConnection serviceConnection,
int i) |
protected 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) |
protected 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) |
protected 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) |
protected 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) |
protected 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) |
protected 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) |
protected void |
execStartActivityFromAppTask(android.content.Context who,
android.os.IBinder contextThread,
java.lang.Object appTask,
android.content.Intent intent,
android.os.Bundle options) |
protected java.util.List<android.content.ServiceConnection> |
getBoundServiceConnections() |
static android.app.Instrumentation |
getInstrumentation() |
java.util.List<java.lang.String> |
getUnbindableActions() |
protected java.util.List<android.content.ServiceConnection> |
getUnboundServiceConnections() |
protected android.app.Activity |
startActivitySync(android.content.Intent intent,
android.os.Bundle options) |
protected android.content.ComponentName |
startService(android.content.Intent intent) |
protected void |
unbindService(android.content.ServiceConnection serviceConnection) |
@Implementation(minSdk=28) protected android.app.Activity startActivitySync(android.content.Intent intent, android.os.Bundle options)
@Implementation protected 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) protected 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 protected 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) protected 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) protected 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(minSdk=17) protected 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(minSdk=23) protected 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)
protected android.content.ComponentName startService(android.content.Intent intent)
protected boolean bindService(android.content.Intent intent, android.content.ServiceConnection serviceConnection, int i)
protected void unbindService(android.content.ServiceConnection serviceConnection)
protected java.util.List<android.content.ServiceConnection> getBoundServiceConnections()
protected java.util.List<android.content.ServiceConnection> getUnboundServiceConnections()
public java.util.List<java.lang.String> getUnbindableActions()
public static android.app.Instrumentation getInstrumentation()