Save the date! Android Dev Summit is coming to Sunnyvale, CA on Oct 23-24, 2019.

androidx.test.platform.ui

Interfaces

UiController Provides base-level UI operations (such as injection of MotionEvents) that can be used to build user actions such as clicks, scrolls, swipes, etc. 

Exceptions

InjectEventSecurityException An checked Exception indicating that event injection failed with a SecurityException