Searched refs:throttle (Results 1 – 5 of 5) sorted by relevance
/development/cmds/monkey/src/com/android/commands/monkey/ |
D | MonkeyEventQueue.java | 32 public MonkeyEventQueue(Random random, long throttle, boolean randomizeThrottle) { in MonkeyEventQueue() argument 35 mThrottle = throttle; in MonkeyEventQueue() 43 long throttle = mThrottle; in addLast() local 45 throttle = mRandom.nextLong(); in addLast() 46 if (throttle < 0) { in addLast() 47 throttle = -throttle; in addLast() 49 throttle %= mThrottle; in addLast() 50 ++throttle; in addLast() 52 super.add(new MonkeyThrottleEvent(throttle)); in addLast()
|
D | MonkeySourceRandomScript.java | 55 long throttle, boolean randomizeThrottle, Random random, long profileWaitTime, in MonkeySourceRandomScript() argument 58 mSetupSource = new MonkeySourceScript(random, setupFileName, throttle, in MonkeySourceRandomScript() 64 mScriptSources.add(new MonkeySourceScript(random, fileName, throttle, in MonkeySourceRandomScript() 80 public MonkeySourceRandomScript(ArrayList<String> scriptFileNames, long throttle, in MonkeySourceRandomScript() argument 83 this(null, scriptFileNames, throttle, randomizeThrottle, random, profileWaitTime, in MonkeySourceRandomScript()
|
D | MonkeyThrottleEvent.java | 31 public MonkeyThrottleEvent(long throttle) { in MonkeyThrottleEvent() argument 33 mThrottle = throttle; in MonkeyThrottleEvent()
|
D | MonkeySourceRandom.java | 123 long throttle, boolean randomizeThrottle, boolean permissionTargetSystem) { in MonkeySourceRandom() argument 144 mQ = new MonkeyEventQueue(random, throttle, randomizeThrottle); in MonkeySourceRandom()
|
D | MonkeySourceScript.java | 171 public MonkeySourceScript(Random random, String filename, long throttle, in MonkeySourceScript() argument 174 mQ = new MonkeyEventQueue(random, throttle, randomizeThrottle); in MonkeySourceScript()
|