History log of /frameworks/testing/uiautomator/library/core-src/com/android/uiautomator/core/UiObject.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
9ebf91aa923d2424298cb908a79dd03aefbf0a8f 18-Jun-2013 Guang Zhu <guangzhu@google.com> fix build

Change-Id: I00868d5550c665340656fe1a4f20eaa3740ea50b
/frameworks/testing/uiautomator/library/core-src/com/android/uiautomator/core/UiObject.java
27862e051fbf24ce200de0cc2fca7f7c3c62dec6 18-Jun-2013 quddusc <quddusc@google.com> Merge "docs: Edited Javadoc comments in uiautomator library source files (MR2)." into jb-mr2-dev
445e82ee022c484166ce7175973827f591ff2ea7 13-Jun-2013 quddusc <quddusc@google.com> docs: Edited Javadoc comments in uiautomator library source files (MR2).

Change-Id: I3eff0160ecb4769f2a7b26af68794f761dbd5cbc
/frameworks/testing/uiautomator/library/core-src/com/android/uiautomator/core/UiObject.java
46fcf070655a908e4ffaf93fe0d2b7be21bb004b 13-Jun-2013 Guang Zhu <guangzhu@google.com> guard against use of UiDevice prior to its initialization

The source of UI automation permission use to come from the fact
that the test is running as shell or root user; in this case,
it's fine to statically initialize UiDevice.

When running as an Instrumentation, the source of UI automation
permission comes from the privileged token created by system and
passed down via Instrumentation context; in this case, UiDevice
is not properly initialized until it has received the
UiAutomation instance. The particular problem happens when
statically declared UiObject makes use of
UiDevice#getAutomatorBridge() too early: UiObject really
shouldn't be declared statically

Change-Id: If0ecab9960c588c096ed2fb8cc431ef79caa963e
/frameworks/testing/uiautomator/library/core-src/com/android/uiautomator/core/UiObject.java
1078ab1070411af45d5e8ec3b56abec6789e7722 10-May-2013 Guang Zhu <guangzhu@google.com> API Cleanup: return types and consitent function names

New event injection APIs are now returning true of false
Functions are renamed to be more consistent

Bug: 8872114
Change-Id: I3a82305e7af094eb9c9fb2393b2f3e101e84dead
/frameworks/testing/uiautomator/library/core-src/com/android/uiautomator/core/UiObject.java
bb36257f15f090966e2aeb9fd4f092e1a54722b1 06-Mar-2013 Adam Momtaz <amomtaz@google.com> DO NOT MERGE - UiObject did not perform the wait waitForObject() in UiWatchers

The UiWatcher in test libraries use the UiObject#waitForObject
to wait for certain conditions to come true, however polling
for object state was unecessarly disallowed. Initially the
rational was to prevent the UiWatcher code from blocking too
long, but this doesn't prevent the UiWatcher from using
system sleep and blocking anyway.

Change-Id: Icd086e696f903ddc409ce8eabaa87c99648a90b5
/frameworks/testing/uiautomator/library/core-src/com/android/uiautomator/core/UiObject.java
0d3e425526a214d355e87b0c90f1b85c8aefe35a 07-Feb-2013 Adam Momtaz <amomtaz@google.com> Add configuration setting options to UiAutomator

This enables tests to modify the default timeouts and other
settings in the framework. This exposes a Configurator
that can be obtained by calling its static getInstance().

The settings can be changed while tests are running.

Change-Id: I86575b00463fb2877711898fa8fa1c54bfa0e7b9
/frameworks/testing/uiautomator/library/core-src/com/android/uiautomator/core/UiObject.java
2c51659d5816d33b4ec07fb064d8c4f00bcbe404 11-Feb-2013 Adam Momtaz <amomtaz@google.com> Merge "Adds UiAutomator 'drag' APIs to UiObject and UiDevice"
8d7e1dc0248bf9d3c7b133eaac79b7fb31321564 06-Feb-2013 Adam Momtaz <amomtaz@google.com> Adds UiAutomator 'drag' APIs to UiObject and UiDevice

bug:7409880
Change-Id: I73e61d39f1c689ac8e376b9135ae8447c70cec56
/frameworks/testing/uiautomator/library/core-src/com/android/uiautomator/core/UiObject.java
b4671570eb1caa88c7b6042f81f1ca3a2cb6a916 06-Feb-2013 Guang Zhu <guangzhu@google.com> Merge "instrumentation based UI Automator static library"
23296fc6448cd265fbb45c1fd9041976ae0da274 01-Feb-2013 Guang Zhu <guangzhu@google.com> instrumentation based UI Automator static library

* further refactoring to split dependencies on public APIs
* instrumentation base UI Automator test case base class still
called UiAutomatorTestCase, for ease of transition
* not all test runner features are ported over yet

Bug: 8112323

Change-Id: Ibb4fc2c2164b59fb00b0b46c77118db788b10537
/frameworks/testing/uiautomator/library/core-src/com/android/uiautomator/core/UiObject.java
1dc7d12406947faaee8454c6efb2a0631f5da573 01-Feb-2013 Adam Momtaz <amomtaz@google.com> Handle multiple AccessibilityEvent parsing for scrolling

Refactored to handle Accessibility events into their corresponding
Predicate types.

Fixed scrollSwipe to allow it to receive all relevant accessibility
events so to determine current scroll position. This required the
reading the last scroll event from a list of events.

bug:8099066

Change-Id: If1770b5fc7b56da03dd16ec3f8e5fe4686f7580b
/frameworks/testing/uiautomator/library/core-src/com/android/uiautomator/core/UiObject.java
97835f3a7c80b147136c44c175eb9e6a4261fd92 01-Feb-2013 Adam Momtaz <amomtaz@google.com> New UiAutomator API Level 18

UiSelector.checkable
bug:7622129

UiObject.getClassName
bug:7622402

UiDevice.getDisplayRotation and isNaturalOrientation now wait
for idle before executing.
bug:7622137

Change-Id: Iddcbc3116241e3b7f1b68c4a5dda3346ad5d5871
/frameworks/testing/uiautomator/library/core-src/com/android/uiautomator/core/UiObject.java
c344be11dbfd56e95d076f46b870108fdaa662f0 31-Jan-2013 Adam Momtaz <amomtaz@google.com> Support for multipointer gestures

Change-Id: I5e43e78c68bb24e8600864c318c737d3d1fca646
/frameworks/testing/uiautomator/library/core-src/com/android/uiautomator/core/UiObject.java
dab052728a27d1c4f1991762038b51e85281f5ea 31-Jan-2013 Guang Zhu <guangzhu@google.com> split the code of test runner and core into separate sub folders

This will serve as the basis for further changes to use the core
framework on top of alternative test runner.

Change-Id: I389cbc8e79a004144c95bc99f7d2a58521541781
/frameworks/testing/uiautomator/library/core-src/com/android/uiautomator/core/UiObject.java