FileDocCategorySizeDatePackage
IUiAutomationConnection.javaAPI DocAndroid 5.1 API13156Sat Mar 14 05:47:58 GMT 2015android.app

IUiAutomationConnection

public interface IUiAutomationConnection implements android.os.IInterface
This interface contains privileged operations a shell program can perform on behalf of an instrumentation that it runs. These operations require special permissions which the shell user has but the instrumentation does not. Running privileged operations by the shell user on behalf of an instrumentation is needed for running UiTestCases. {@hide}

Fields Summary
Constructors Summary
Methods Summary
public voidclearWindowAnimationFrameStats()

public booleanclearWindowContentFrameStats(int windowId)

public voidconnect(android.accessibilityservice.IAccessibilityServiceClient client)

public voiddisconnect()

public voidexecuteShellCommand(java.lang.String command, android.os.ParcelFileDescriptor fd)

public android.view.WindowAnimationFrameStatsgetWindowAnimationFrameStats()

public android.view.WindowContentFrameStatsgetWindowContentFrameStats(int windowId)

public booleaninjectInputEvent(android.view.InputEvent event, boolean sync)

public booleansetRotation(int rotation)

public voidshutdown()

public android.graphics.BitmaptakeScreenshot(int width, int height)