public class RoboMonitoringInstrumentation
extends androidx.test.runner.MonitoringInstrumentation
androidx.test.runner.MonitoringInstrumentation.ActivityFinisher
Instrumentation.ActivityMonitor, Instrumentation.ActivityResult, Instrumentation.UiAutomationFlags
REPORT_KEY_IDENTIFIER, REPORT_KEY_STREAMRESULT
Constructor and Description |
---|
RoboMonitoringInstrumentation() |
Modifier and Type | Method and Description |
---|---|
Instrumentation.ActivityResult |
execStartActivity(Context who,
IBinder contextThread,
IBinder token,
Activity target,
Intent intent,
int requestCode) |
Instrumentation.ActivityResult |
execStartActivity(Context who,
IBinder contextThread,
IBinder token,
Activity target,
Intent intent,
int requestCode,
Bundle options) |
Instrumentation.ActivityResult |
execStartActivity(Context who,
IBinder contextThread,
IBinder token,
Activity target,
Intent intent,
int requestCode,
Bundle options,
UserHandle user)
This API was added in Android API 17 (JELLY_BEAN_MR1)
|
Instrumentation.ActivityResult |
execStartActivity(Context who,
IBinder contextThread,
IBinder token,
String target,
Intent intent,
int requestCode,
Bundle options)
This API was added in Android API 23 (M)
|
protected void |
installMultidex() |
void |
runOnMainSync(Runnable runner) |
void |
setInTouchMode(boolean inTouch) |
protected void |
specifyDexMakerCacheProperty() |
Activity |
startActivitySync(Intent intent) |
void |
waitForIdleSync() |
callActivityOnCreate, callActivityOnDestroy, callActivityOnPause, callActivityOnRestart, callActivityOnResume, callActivityOnStart, callActivityOnStop, callApplicationOnCreate, dumpThreadStateToOutputs, execStartActivities, execStartActivity, finish, getThreadState, installOldMultiDex, interceptActivityUsing, isPrimaryInstrProcess, isPrimaryInstrProcess, newActivity, newActivity, onCreate, onDestroy, onException, onStart, setJsBridgeClassName, useDefaultInterceptingActivityFactory, waitForActivitiesToComplete
acquireLooperManager, addMonitor, addMonitor, addMonitor, addResults, callActivityOnCreate, callActivityOnNewIntent, callActivityOnNewIntent, callActivityOnPostCreate, callActivityOnPostCreate, callActivityOnRestoreInstanceState, callActivityOnRestoreInstanceState, callActivityOnSaveInstanceState, callActivityOnSaveInstanceState, callActivityOnUserLeaving, checkMonitorHit, checkStartActivityResult, endPerformanceSnapshot, execStartActivitiesAsUser, execStartActivity, execStartActivityAsCaller, execStartActivityFromAppTask, getAllocCounts, getBinderCounts, getComponentName, getContext, getProcessName, getTargetContext, getUiAutomation, getUiAutomation, invokeContextMenuAction, invokeMenuActionSync, isProfiling, newApplication, newApplication, removeMonitor, sendCharacterSync, sendKeyDownUpSync, sendKeySync, sendPointerSync, sendStatus, sendStringSync, sendTrackballEventSync, setAutomaticPerformanceSnapshots, start, startActivitySync, startAllocCounting, startPerformanceSnapshot, startProfiling, stopAllocCounting, stopProfiling, waitForIdle, waitForMonitor, waitForMonitorWithTimeout
protected void specifyDexMakerCacheProperty()
specifyDexMakerCacheProperty
in class androidx.test.runner.MonitoringInstrumentation
protected void installMultidex()
installMultidex
in class androidx.test.runner.MonitoringInstrumentation
public void setInTouchMode(boolean inTouch)
setInTouchMode
in class Instrumentation
public void waitForIdleSync()
waitForIdleSync
in class Instrumentation
public Activity startActivitySync(Intent intent)
startActivitySync
in class androidx.test.runner.MonitoringInstrumentation
public void runOnMainSync(Runnable runner)
runOnMainSync
in class Instrumentation
public Instrumentation.ActivityResult execStartActivity(Context who, IBinder contextThread, IBinder token, Activity target, Intent intent, int requestCode)
execStartActivity
in class androidx.test.runner.MonitoringInstrumentation
public Instrumentation.ActivityResult execStartActivity(Context who, IBinder contextThread, IBinder token, Activity target, Intent intent, int requestCode, Bundle options)
execStartActivity
in class androidx.test.runner.MonitoringInstrumentation
public Instrumentation.ActivityResult execStartActivity(Context who, IBinder contextThread, IBinder token, String target, Intent intent, int requestCode, Bundle options)
This API was added in Android API 23 (M)
execStartActivity
in class androidx.test.runner.MonitoringInstrumentation
public Instrumentation.ActivityResult execStartActivity(Context who, IBinder contextThread, IBinder token, Activity target, Intent intent, int requestCode, Bundle options, UserHandle user)
This API was added in Android API 17 (JELLY_BEAN_MR1)
execStartActivity
in class androidx.test.runner.MonitoringInstrumentation