@Implements(value=android.hardware.input.InputManager.class) public class ShadowInputManager extends java.lang.Object
Constructor and Description |
---|
ShadowInputManager() |
Modifier and Type | Method and Description |
---|---|
protected boolean[] |
deviceHasKeys(int id,
int[] keyCodes) |
protected boolean |
injectInputEvent(android.view.InputEvent event,
int mode) |
static void |
reset() |
@Implementation protected boolean injectInputEvent(android.view.InputEvent event, int mode)
@Implementation(minSdk=19) protected boolean[] deviceHasKeys(int id, int[] keyCodes)
@Resetter public static void reset()