Searched refs:MonkeyEvent (Results 1 – 23 of 23) sorted by relevance
26 public class MonkeyWaitEvent extends MonkeyEvent {30 super(MonkeyEvent.EVENT_TYPE_THROTTLE); in MonkeyWaitEvent()43 return MonkeyEvent.INJECT_FAIL; in injectEvent()46 return MonkeyEvent.INJECT_SUCCESS; in injectEvent()
28 public class MonkeyThrottleEvent extends MonkeyEvent {32 super(MonkeyEvent.EVENT_TYPE_THROTTLE); in MonkeyThrottleEvent()46 return MonkeyEvent.INJECT_FAIL; in injectEvent()49 return MonkeyEvent.INJECT_SUCCESS; in injectEvent()
28 public class MonkeyNoopEvent extends MonkeyEvent {31 super(MonkeyEvent.EVENT_TYPE_NOOP); in MonkeyNoopEvent()40 return MonkeyEvent.INJECT_SUCCESS; in injectEvent()
25 public class MonkeyRotationEvent extends MonkeyEvent {57 return MonkeyEvent.INJECT_SUCCESS; in injectEvent()59 return MonkeyEvent.INJECT_ERROR_REMOTE_EXCEPTION; in injectEvent()
27 public class MonkeyFlipEvent extends MonkeyEvent {70 return MonkeyEvent.INJECT_SUCCESS; in injectEvent()73 return MonkeyEvent.INJECT_FAIL; in injectEvent()
29 public class MonkeyInstrumentationEvent extends MonkeyEvent {51 return MonkeyEvent.INJECT_ERROR_REMOTE_EXCEPTION; in injectEvent()53 return MonkeyEvent.INJECT_SUCCESS; in injectEvent()
33 public class MonkeyActivityEvent extends MonkeyEvent {77 return MonkeyEvent.INJECT_ERROR_REMOTE_EXCEPTION; in injectEvent()83 return MonkeyEvent.INJECT_ERROR_SECURITY_EXCEPTION; in injectEvent()85 return MonkeyEvent.INJECT_SUCCESS; in injectEvent()
25 public abstract class MonkeyEvent { class45 public MonkeyEvent(int type) { in MonkeyEvent() method in MonkeyEvent
29 public class MonkeyPermissionEvent extends MonkeyEvent {57 return MonkeyEvent.INJECT_SUCCESS; in injectEvent()59 return MonkeyEvent.INJECT_ERROR_REMOTE_EXCEPTION; in injectEvent()
26 public class MonkeyEventQueue extends LinkedList<MonkeyEvent> {40 public void addLast(MonkeyEvent e) { in addLast()
27 public class MonkeyCommandEvent extends MonkeyEvent {49 return MonkeyEvent.INJECT_SUCCESS; in injectEvent()
29 public class MonkeyKeyEvent extends MonkeyEvent {135 return MonkeyEvent.INJECT_FAIL; in injectEvent()137 return MonkeyEvent.INJECT_SUCCESS; in injectEvent()
26 public MonkeyEvent getNextEvent(); in getNextEvent()
26 super(MonkeyEvent.EVENT_TYPE_TRACKBALL, InputDevice.SOURCE_TRACKBALL, action); in MonkeyTrackballEvent()
27 super(MonkeyEvent.EVENT_TYPE_TOUCH, InputDevice.SOURCE_TOUCHSCREEN, action); in MonkeyTouchEvent()
95 public MonkeyEvent getNextEvent() { in getNextEvent()111 MonkeyEvent nextEvent = mCurrentSource.getNextEvent(); in getNextEvent()
30 public abstract class MonkeyMotionEvent extends MonkeyEvent {190 return MonkeyEvent.INJECT_FAIL; in injectEvent()195 return MonkeyEvent.INJECT_SUCCESS; in injectEvent()
32 public class MonkeyPowerEvent extends MonkeyEvent {142 return MonkeyEvent.INJECT_SUCCESS; in injectEvent()
38 public class MonkeyGetFrameRateEvent extends MonkeyEvent {152 return MonkeyEvent.INJECT_SUCCESS; in injectEvent()
38 public class MonkeyGetAppFrameRateEvent extends MonkeyEvent {165 return MonkeyEvent.INJECT_SUCCESS; in injectEvent()
956 public MonkeyEvent getNextEvent() { in getNextEvent()958 MonkeyEvent ev; in getNextEvent()975 if (ev.getEventType() == MonkeyEvent.EVENT_TYPE_KEY) { in getNextEvent()977 } else if (ev.getEventType() == MonkeyEvent.EVENT_TYPE_TOUCH in getNextEvent()978 || ev.getEventType() == MonkeyEvent.EVENT_TYPE_TRACKBALL) { in getNextEvent()
491 public MonkeyEvent getNextEvent() { in getNextEvent()496 MonkeyEvent e = mQ.getFirst(); in getNextEvent()
1204 MonkeyEvent ev = mEventSource.getNextEvent(); in runMonkeyCycles()1207 if (injectCode == MonkeyEvent.INJECT_FAIL) { in runMonkeyCycles()1218 } else if (injectCode == MonkeyEvent.INJECT_ERROR_REMOTE_EXCEPTION) { in runMonkeyCycles()1221 } else if (injectCode == MonkeyEvent.INJECT_ERROR_SECURITY_EXCEPTION) { in runMonkeyCycles()