Home | History | Annotate | Download | only in 24

META-INF/
META-INF/MANIFEST.MF
com/
com/android/
com/android/uiautomator/
com/android/uiautomator/testrunner/
com/android/uiautomator/testrunner/IAutomationSupport.class
IAutomationSupport.java
package com.android.uiautomator.testrunner
public abstract com.android.uiautomator.testrunner.IAutomationSupport extends java.lang.Object {
	public abstract void sendStatus (int, android.os.Bundle) 
}

com/android/uiautomator/testrunner/UiAutomatorTestCase.class
UiAutomatorTestCase.java
package com.android.uiautomator.testrunner
public com.android.uiautomator.testrunner.UiAutomatorTestCase extends junit.framework.TestCase {
	public void  () 
	protected void setUp ()  throws java.lang.Exception 
	protected void tearDown ()  throws java.lang.Exception 
	public com.android.uiautomator.core.UiDevice getUiDevice () 
	public android.os.Bundle getParams () 
	public com.android.uiautomator.testrunner.IAutomationSupport getAutomationSupport () 
	public void sleep (long) 
		long ms
}

com/android/uiautomator/core/
com/android/uiautomator/core/UiSelector.class
UiSelector.java
package com.android.uiautomator.core
public com.android.uiautomator.core.UiSelector extends java.lang.Object {
	public void  () 
	protected com.android.uiautomator.core.UiSelector cloneSelector () 
	public com.android.uiautomator.core.UiSelector text (java.lang.String) 
		String text
	public com.android.uiautomator.core.UiSelector textMatches (java.lang.String) 
		String regex
	public com.android.uiautomator.core.UiSelector textStartsWith (java.lang.String) 
		String text
	public com.android.uiautomator.core.UiSelector textContains (java.lang.String) 
		String text
	public com.android.uiautomator.core.UiSelector className (java.lang.String) 
		String className
	public com.android.uiautomator.core.UiSelector classNameMatches (java.lang.String) 
		String regex
	public com.android.uiautomator.core.UiSelector className (java.lang.Class) 
		Class type
	public com.android.uiautomator.core.UiSelector description (java.lang.String) 
		String desc
	public com.android.uiautomator.core.UiSelector descriptionMatches (java.lang.String) 
		String regex
	public com.android.uiautomator.core.UiSelector descriptionStartsWith (java.lang.String) 
		String desc
	public com.android.uiautomator.core.UiSelector descriptionContains (java.lang.String) 
		String desc
	public com.android.uiautomator.core.UiSelector resourceId (java.lang.String) 
		String id
	public com.android.uiautomator.core.UiSelector resourceIdMatches (java.lang.String) 
		String regex
	public com.android.uiautomator.core.UiSelector index (int) 
		int index
	public com.android.uiautomator.core.UiSelector instance (int) 
		int instance
	public com.android.uiautomator.core.UiSelector enabled (boolean) 
		boolean val
	public com.android.uiautomator.core.UiSelector focused (boolean) 
		boolean val
	public com.android.uiautomator.core.UiSelector focusable (boolean) 
		boolean val
	public com.android.uiautomator.core.UiSelector scrollable (boolean) 
		boolean val
	public com.android.uiautomator.core.UiSelector selected (boolean) 
		boolean val
	public com.android.uiautomator.core.UiSelector checked (boolean) 
		boolean val
	public com.android.uiautomator.core.UiSelector clickable (boolean) 
		boolean val
	public com.android.uiautomator.core.UiSelector checkable (boolean) 
		boolean val
	public com.android.uiautomator.core.UiSelector longClickable (boolean) 
		boolean val
	public com.android.uiautomator.core.UiSelector childSelector (com.android.uiautomator.core.UiSelector) 
		com.android.uiautomator.core.UiSelector selector
	public com.android.uiautomator.core.UiSelector fromParent (com.android.uiautomator.core.UiSelector) 
		com.android.uiautomator.core.UiSelector selector
	public com.android.uiautomator.core.UiSelector packageName (java.lang.String) 
		String name
	public com.android.uiautomator.core.UiSelector packageNameMatches (java.lang.String) 
		String regex
	public java.lang.String toString () 
}

com/android/uiautomator/core/Configurator.class
Configurator.java
package com.android.uiautomator.core
public final com.android.uiautomator.core.Configurator extends java.lang.Object {
	void  () 
	public static com.android.uiautomator.core.Configurator getInstance () 
	public com.android.uiautomator.core.Configurator setWaitForIdleTimeout (long) 
		long timeout
	public long getWaitForIdleTimeout () 
	public com.android.uiautomator.core.Configurator setWaitForSelectorTimeout (long) 
		long timeout
	public long getWaitForSelectorTimeout () 
	public com.android.uiautomator.core.Configurator setScrollAcknowledgmentTimeout (long) 
		long timeout
	public long getScrollAcknowledgmentTimeout () 
	public com.android.uiautomator.core.Configurator setActionAcknowledgmentTimeout (long) 
		long timeout
	public long getActionAcknowledgmentTimeout () 
	public com.android.uiautomator.core.Configurator setKeyInjectionDelay (long) 
		long delay
	public long getKeyInjectionDelay () 
}

com/android/uiautomator/core/UiCollection.class
UiCollection.java
package com.android.uiautomator.core
public com.android.uiautomator.core.UiCollection extends com.android.uiautomator.core.UiObject {
	public void  (com.android.uiautomator.core.UiSelector) 
		com.android.uiautomator.core.UiSelector selector
	public com.android.uiautomator.core.UiObject getChildByDescription (com.android.uiautomator.core.UiSelector, java.lang.String)  throws com.android.uiautomator.core.UiObjectNotFoundException 
		com.android.uiautomator.core.UiSelector childPattern
		String text
	public com.android.uiautomator.core.UiObject getChildByInstance (com.android.uiautomator.core.UiSelector, int)  throws com.android.uiautomator.core.UiObjectNotFoundException 
		com.android.uiautomator.core.UiSelector childPattern
		int instance
	public com.android.uiautomator.core.UiObject getChildByText (com.android.uiautomator.core.UiSelector, java.lang.String)  throws com.android.uiautomator.core.UiObjectNotFoundException 
		com.android.uiautomator.core.UiSelector childPattern
		String text
	public int getChildCount (com.android.uiautomator.core.UiSelector) 
		com.android.uiautomator.core.UiSelector childPattern
}

com/android/uiautomator/core/UiObjectNotFoundException.class
UiObjectNotFoundException.java
package com.android.uiautomator.core
public com.android.uiautomator.core.UiObjectNotFoundException extends java.lang.Exception {
	public void  (java.lang.String) 
		String msg
	public void  (java.lang.String, java.lang.Throwable) 
		String detailMessage
		Throwable throwable
	public void  (java.lang.Throwable) 
		Throwable throwable
}

com/android/uiautomator/core/UiDevice.class
UiDevice.java
package com.android.uiautomator.core
public com.android.uiautomator.core.UiDevice extends java.lang.Object {
	void  () 
	public void setCompressedLayoutHeirarchy (boolean) 
		boolean compressed
	public static com.android.uiautomator.core.UiDevice getInstance () 
	public android.graphics.Point getDisplaySizeDp () 
	public java.lang.String getProductName () 
	public java.lang.String getLastTraversedText () 
	public void clearLastTraversedText () 
	public boolean pressMenu () 
	public boolean pressBack () 
	public boolean pressHome () 
	public boolean pressSearch () 
	public boolean pressDPadCenter () 
	public boolean pressDPadDown () 
	public boolean pressDPadUp () 
	public boolean pressDPadLeft () 
	public boolean pressDPadRight () 
	public boolean pressDelete () 
	public boolean pressEnter () 
	public boolean pressKeyCode (int) 
		int keyCode
	public boolean pressKeyCode (int, int) 
		int keyCode
		int metaState
	public boolean pressRecentApps ()  throws android.os.RemoteException 
	public boolean openNotification () 
	public boolean openQuickSettings () 
	public int getDisplayWidth () 
	public int getDisplayHeight () 
	public boolean click (int, int) 
		int x
		int y
	public boolean swipe (int, int, int, int, int) 
		int startX
		int startY
		int endX
		int endY
		int steps
	public boolean drag (int, int, int, int, int) 
		int startX
		int startY
		int endX
		int endY
		int steps
	public boolean swipe (android.graphics.Point[], int) 
		android.graphics.Point[] segments
		int segmentSteps
	public void waitForIdle () 
	public void waitForIdle (long) 
		long timeout
	public java.lang.String getCurrentActivityName () 
	public java.lang.String getCurrentPackageName () 
	public void registerWatcher (java.lang.String, com.android.uiautomator.core.UiWatcher) 
		String name
		com.android.uiautomator.core.UiWatcher watcher
	public void removeWatcher (java.lang.String) 
		String name
	public void runWatchers () 
	public void resetWatcherTriggers () 
	public boolean hasWatcherTriggered (java.lang.String) 
		String watcherName
	public boolean hasAnyWatcherTriggered () 
	public boolean isNaturalOrientation () 
	public int getDisplayRotation () 
	public void freezeRotation ()  throws android.os.RemoteException 
	public void unfreezeRotation ()  throws android.os.RemoteException 
	public void setOrientationLeft ()  throws android.os.RemoteException 
	public void setOrientationRight ()  throws android.os.RemoteException 
	public void setOrientationNatural ()  throws android.os.RemoteException 
	public void wakeUp ()  throws android.os.RemoteException 
	public boolean isScreenOn ()  throws android.os.RemoteException 
	public void sleep ()  throws android.os.RemoteException 
	public void dumpWindowHierarchy (java.lang.String) 
		String fileName
	public boolean waitForWindowUpdate (java.lang.String, long) 
		String packageName
		long timeout
	public boolean takeScreenshot (java.io.File) 
		java.io.File storePath
	public boolean takeScreenshot (java.io.File, float, int) 
		java.io.File storePath
		float scale
		int quality
}

com/android/uiautomator/core/UiObject.class
UiObject.java
package com.android.uiautomator.core
public com.android.uiautomator.core.UiObject extends java.lang.Object {
	protected static final int FINGER_TOUCH_HALF_WIDTH
	protected static final int SWIPE_MARGIN_LIMIT
	protected static final long WAIT_FOR_EVENT_TMEOUT
	protected static final long WAIT_FOR_SELECTOR_POLL
	protected static final long WAIT_FOR_SELECTOR_TIMEOUT
	protected static final long WAIT_FOR_WINDOW_TMEOUT
	public void  (com.android.uiautomator.core.UiSelector) 
		com.android.uiautomator.core.UiSelector selector
	public final com.android.uiautomator.core.UiSelector getSelector () 
	public com.android.uiautomator.core.UiObject getChild (com.android.uiautomator.core.UiSelector)  throws com.android.uiautomator.core.UiObjectNotFoundException 
		com.android.uiautomator.core.UiSelector selector
	public com.android.uiautomator.core.UiObject getFromParent (com.android.uiautomator.core.UiSelector)  throws com.android.uiautomator.core.UiObjectNotFoundException 
		com.android.uiautomator.core.UiSelector selector
	public int getChildCount ()  throws com.android.uiautomator.core.UiObjectNotFoundException 
	protected android.view.accessibility.AccessibilityNodeInfo findAccessibilityNodeInfo (long) 
		long timeout
	public boolean dragTo (com.android.uiautomator.core.UiObject, int)  throws com.android.uiautomator.core.UiObjectNotFoundException 
		com.android.uiautomator.core.UiObject destObj
		int steps
	public boolean dragTo (int, int, int)  throws com.android.uiautomator.core.UiObjectNotFoundException 
		int destX
		int destY
		int steps
	public boolean swipeUp (int)  throws com.android.uiautomator.core.UiObjectNotFoundException 
		int steps
	public boolean swipeDown (int)  throws com.android.uiautomator.core.UiObjectNotFoundException 
		int steps
	public boolean swipeLeft (int)  throws com.android.uiautomator.core.UiObjectNotFoundException 
		int steps
	public boolean swipeRight (int)  throws com.android.uiautomator.core.UiObjectNotFoundException 
		int steps
	public boolean click ()  throws com.android.uiautomator.core.UiObjectNotFoundException 
	public boolean clickAndWaitForNewWindow ()  throws com.android.uiautomator.core.UiObjectNotFoundException 
	public boolean clickAndWaitForNewWindow (long)  throws com.android.uiautomator.core.UiObjectNotFoundException 
		long timeout
	public boolean clickTopLeft ()  throws com.android.uiautomator.core.UiObjectNotFoundException 
	public boolean longClickBottomRight ()  throws com.android.uiautomator.core.UiObjectNotFoundException 
	public boolean clickBottomRight ()  throws com.android.uiautomator.core.UiObjectNotFoundException 
	public boolean longClick ()  throws com.android.uiautomator.core.UiObjectNotFoundException 
	public boolean longClickTopLeft ()  throws com.android.uiautomator.core.UiObjectNotFoundException 
	public java.lang.String getText ()  throws com.android.uiautomator.core.UiObjectNotFoundException 
	public java.lang.String getClassName ()  throws com.android.uiautomator.core.UiObjectNotFoundException 
	public java.lang.String getContentDescription ()  throws com.android.uiautomator.core.UiObjectNotFoundException 
	public boolean setText (java.lang.String)  throws com.android.uiautomator.core.UiObjectNotFoundException 
		String text
	public void clearTextField ()  throws com.android.uiautomator.core.UiObjectNotFoundException 
	public boolean isChecked ()  throws com.android.uiautomator.core.UiObjectNotFoundException 
	public boolean isSelected ()  throws com.android.uiautomator.core.UiObjectNotFoundException 
	public boolean isCheckable ()  throws com.android.uiautomator.core.UiObjectNotFoundException 
	public boolean isEnabled ()  throws com.android.uiautomator.core.UiObjectNotFoundException 
	public boolean isClickable ()  throws com.android.uiautomator.core.UiObjectNotFoundException 
	public boolean isFocused ()  throws com.android.uiautomator.core.UiObjectNotFoundException 
	public boolean isFocusable ()  throws com.android.uiautomator.core.UiObjectNotFoundException 
	public boolean isScrollable ()  throws com.android.uiautomator.core.UiObjectNotFoundException 
	public boolean isLongClickable ()  throws com.android.uiautomator.core.UiObjectNotFoundException 
	public java.lang.String getPackageName ()  throws com.android.uiautomator.core.UiObjectNotFoundException 
	public android.graphics.Rect getVisibleBounds ()  throws com.android.uiautomator.core.UiObjectNotFoundException 
	public android.graphics.Rect getBounds ()  throws com.android.uiautomator.core.UiObjectNotFoundException 
	public boolean waitForExists (long) 
		long timeout
	public boolean waitUntilGone (long) 
		long timeout
	public boolean exists () 
	public boolean pinchOut (int, int)  throws com.android.uiautomator.core.UiObjectNotFoundException 
		int percent
		int steps
	public boolean pinchIn (int, int)  throws com.android.uiautomator.core.UiObjectNotFoundException 
		int percent
		int steps
	public boolean performTwoPointerGesture (android.graphics.Point, android.graphics.Point, android.graphics.Point, android.graphics.Point, int) 
		android.graphics.Point startPoint1
		android.graphics.Point startPoint2
		android.graphics.Point endPoint1
		android.graphics.Point endPoint2
		int steps
	public transient boolean performMultiPointerGesture (android.view.MotionEvent$PointerCoords[]) 
		android.view.MotionEvent$PointerCoords[] touches
}

com/android/uiautomator/core/UiScrollable.class
UiScrollable.java
package com.android.uiautomator.core
public com.android.uiautomator.core.UiScrollable extends com.android.uiautomator.core.UiCollection {
	public void  (com.android.uiautomator.core.UiSelector) 
		com.android.uiautomator.core.UiSelector container
	public com.android.uiautomator.core.UiScrollable setAsVerticalList () 
	public com.android.uiautomator.core.UiScrollable setAsHorizontalList () 
	protected boolean exists (com.android.uiautomator.core.UiSelector) 
		com.android.uiautomator.core.UiSelector selector
	public com.android.uiautomator.core.UiObject getChildByDescription (com.android.uiautomator.core.UiSelector, java.lang.String)  throws com.android.uiautomator.core.UiObjectNotFoundException 
		com.android.uiautomator.core.UiSelector childPattern
		String text
	public com.android.uiautomator.core.UiObject getChildByDescription (com.android.uiautomator.core.UiSelector, java.lang.String, boolean)  throws com.android.uiautomator.core.UiObjectNotFoundException 
		com.android.uiautomator.core.UiSelector childPattern
		String text
		boolean allowScrollSearch
	public com.android.uiautomator.core.UiObject getChildByInstance (com.android.uiautomator.core.UiSelector, int)  throws com.android.uiautomator.core.UiObjectNotFoundException 
		com.android.uiautomator.core.UiSelector childPattern
		int instance
	public com.android.uiautomator.core.UiObject getChildByText (com.android.uiautomator.core.UiSelector, java.lang.String)  throws com.android.uiautomator.core.UiObjectNotFoundException 
		com.android.uiautomator.core.UiSelector childPattern
		String text
	public com.android.uiautomator.core.UiObject getChildByText (com.android.uiautomator.core.UiSelector, java.lang.String, boolean)  throws com.android.uiautomator.core.UiObjectNotFoundException 
		com.android.uiautomator.core.UiSelector childPattern
		String text
		boolean allowScrollSearch
	public boolean scrollDescriptionIntoView (java.lang.String)  throws com.android.uiautomator.core.UiObjectNotFoundException 
		String text
	public boolean scrollIntoView (com.android.uiautomator.core.UiObject)  throws com.android.uiautomator.core.UiObjectNotFoundException 
		com.android.uiautomator.core.UiObject obj
	public boolean scrollIntoView (com.android.uiautomator.core.UiSelector)  throws com.android.uiautomator.core.UiObjectNotFoundException 
		com.android.uiautomator.core.UiSelector selector
	public boolean scrollTextIntoView (java.lang.String)  throws com.android.uiautomator.core.UiObjectNotFoundException 
		String text
	public com.android.uiautomator.core.UiScrollable setMaxSearchSwipes (int) 
		int swipes
	public int getMaxSearchSwipes () 
	public boolean flingForward ()  throws com.android.uiautomator.core.UiObjectNotFoundException 
	public boolean scrollForward ()  throws com.android.uiautomator.core.UiObjectNotFoundException 
	public boolean scrollForward (int)  throws com.android.uiautomator.core.UiObjectNotFoundException 
		int steps
	public boolean flingBackward ()  throws com.android.uiautomator.core.UiObjectNotFoundException 
	public boolean scrollBackward ()  throws com.android.uiautomator.core.UiObjectNotFoundException 
	public boolean scrollBackward (int)  throws com.android.uiautomator.core.UiObjectNotFoundException 
		int steps
	public boolean scrollToBeginning (int, int)  throws com.android.uiautomator.core.UiObjectNotFoundException 
		int maxSwipes
		int steps
	public boolean scrollToBeginning (int)  throws com.android.uiautomator.core.UiObjectNotFoundException 
		int maxSwipes
	public boolean flingToBeginning (int)  throws com.android.uiautomator.core.UiObjectNotFoundException 
		int maxSwipes
	public boolean scrollToEnd (int, int)  throws com.android.uiautomator.core.UiObjectNotFoundException 
		int maxSwipes
		int steps
	public boolean scrollToEnd (int)  throws com.android.uiautomator.core.UiObjectNotFoundException 
		int maxSwipes
	public boolean flingToEnd (int)  throws com.android.uiautomator.core.UiObjectNotFoundException 
		int maxSwipes
	public double getSwipeDeadZonePercentage () 
	public com.android.uiautomator.core.UiScrollable setSwipeDeadZonePercentage (double) 
		double swipeDeadZonePercentage
}

com/android/uiautomator/core/UiWatcher.class
UiWatcher.java
package com.android.uiautomator.core
public abstract com.android.uiautomator.core.UiWatcher extends java.lang.Object {
	public abstract boolean checkForCondition () 
}