/development/cmds/monkey/src/com/android/commands/monkey/ |
D | MonkeyWaitEvent.java | 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()
|
D | MonkeyThrottleEvent.java | 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()
|
D | MonkeyNoopEvent.java | 28 public class MonkeyNoopEvent extends MonkeyEvent { 31 super(MonkeyEvent.EVENT_TYPE_NOOP); in MonkeyNoopEvent() 40 return MonkeyEvent.INJECT_SUCCESS; in injectEvent()
|
D | MonkeyRotationEvent.java | 25 public class MonkeyRotationEvent extends MonkeyEvent { 57 return MonkeyEvent.INJECT_SUCCESS; in injectEvent() 59 return MonkeyEvent.INJECT_ERROR_REMOTE_EXCEPTION; in injectEvent()
|
D | MonkeyFlipEvent.java | 27 public class MonkeyFlipEvent extends MonkeyEvent { 70 return MonkeyEvent.INJECT_SUCCESS; in injectEvent() 73 return MonkeyEvent.INJECT_FAIL; in injectEvent()
|
D | MonkeyActivityEvent.java | 30 public class MonkeyActivityEvent extends MonkeyEvent { 74 return MonkeyEvent.INJECT_ERROR_REMOTE_EXCEPTION; in injectEvent() 80 return MonkeyEvent.INJECT_ERROR_SECURITY_EXCEPTION; in injectEvent() 82 return MonkeyEvent.INJECT_SUCCESS; in injectEvent()
|
D | MonkeyInstrumentationEvent.java | 29 public class MonkeyInstrumentationEvent extends MonkeyEvent { 51 return MonkeyEvent.INJECT_ERROR_REMOTE_EXCEPTION; in injectEvent() 53 return MonkeyEvent.INJECT_SUCCESS; in injectEvent()
|
D | MonkeyPermissionEvent.java | 28 public class MonkeyPermissionEvent extends MonkeyEvent { 54 return MonkeyEvent.INJECT_SUCCESS; in injectEvent() 56 return MonkeyEvent.INJECT_ERROR_REMOTE_EXCEPTION; in injectEvent()
|
D | MonkeyEvent.java | 25 public abstract class MonkeyEvent { class 45 public MonkeyEvent(int type) { in MonkeyEvent() method in MonkeyEvent
|
D | MonkeyEventQueue.java | 26 public class MonkeyEventQueue extends LinkedList<MonkeyEvent> { 40 public void addLast(MonkeyEvent e) { in addLast()
|
D | MonkeyCommandEvent.java | 27 public class MonkeyCommandEvent extends MonkeyEvent { 49 return MonkeyEvent.INJECT_SUCCESS; in injectEvent()
|
D | MonkeyKeyEvent.java | 29 public class MonkeyKeyEvent extends MonkeyEvent { 135 return MonkeyEvent.INJECT_FAIL; in injectEvent() 137 return MonkeyEvent.INJECT_SUCCESS; in injectEvent()
|
D | MonkeyEventSource.java | 26 public MonkeyEvent getNextEvent(); in getNextEvent()
|
D | MonkeyTouchEvent.java | 27 super(MonkeyEvent.EVENT_TYPE_TOUCH, InputDevice.SOURCE_TOUCHSCREEN, action); in MonkeyTouchEvent()
|
D | MonkeyTrackballEvent.java | 26 super(MonkeyEvent.EVENT_TYPE_TRACKBALL, InputDevice.SOURCE_TRACKBALL, action); in MonkeyTrackballEvent()
|
D | MonkeySourceRandomScript.java | 95 public MonkeyEvent getNextEvent() { in getNextEvent() 111 MonkeyEvent nextEvent = mCurrentSource.getNextEvent(); in getNextEvent()
|
D | MonkeyMotionEvent.java | 30 public abstract class MonkeyMotionEvent extends MonkeyEvent { 190 return MonkeyEvent.INJECT_FAIL; in injectEvent() 195 return MonkeyEvent.INJECT_SUCCESS; in injectEvent()
|
D | MonkeySourceNetwork.java | 493 public void enqueueEvent(MonkeyEvent e); in enqueueEvent() 499 private final Queue<MonkeyEvent> queuedEvents = new LinkedList<MonkeyEvent>(); 501 public void enqueueEvent(MonkeyEvent e) { in enqueueEvent() 510 public MonkeyEvent getNextQueuedEvent() { in getNextQueuedEvent() 685 public MonkeyEvent getNextEvent() { in getNextEvent() 702 MonkeyEvent queuedEvent = commandQueue.getNextQueuedEvent(); in getNextEvent()
|
D | MonkeyPowerEvent.java | 32 public class MonkeyPowerEvent extends MonkeyEvent { 142 return MonkeyEvent.INJECT_SUCCESS; in injectEvent()
|
D | MonkeyGetFrameRateEvent.java | 38 public class MonkeyGetFrameRateEvent extends MonkeyEvent { 152 return MonkeyEvent.INJECT_SUCCESS; in injectEvent()
|
D | MonkeyGetAppFrameRateEvent.java | 38 public class MonkeyGetAppFrameRateEvent extends MonkeyEvent { 165 return MonkeyEvent.INJECT_SUCCESS; in injectEvent()
|
D | MonkeySourceScript.java | 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()
|
D | MonkeySourceRandom.java | 491 public MonkeyEvent getNextEvent() { in getNextEvent() 496 MonkeyEvent e = mQ.getFirst(); in getNextEvent()
|
D | Monkey.java | 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()
|