Refactoring of UiAutomator to use the new UI test APIs.

Change-Id: If3445b0b4fd3aad66a5cd661e81f3639bff90dba
14 files changed