/development/cmds/monkey/src/com/android/commands/monkey/ |
MonkeyEventQueue.java | 32 public MonkeyEventQueue(Random random, long throttle, boolean randomizeThrottle) { 35 mThrottle = throttle; 43 long throttle = mThrottle; local 45 throttle = mRandom.nextLong(); 46 if (throttle < 0) { 47 throttle = -throttle; 49 throttle %= mThrottle; 50 ++throttle; 52 super.add(new MonkeyThrottleEvent(throttle)); [all...] |
MonkeyThrottleEvent.java | 26 * monkey throttle event 31 public MonkeyThrottleEvent(long throttle) { 33 mThrottle = throttle;
|
MonkeySourceRandomScript.java | 50 * @param throttle The amount of time to sleep in ms between events. 51 * @param randomizeThrottle Whether to randomize throttle. 55 long throttle, boolean randomizeThrottle, Random random, long profileWaitTime, 58 mSetupSource = new MonkeySourceScript(random, setupFileName, throttle, 64 mScriptSources.add(new MonkeySourceScript(random, fileName, throttle, 76 * @param throttle The amount of time to sleep in ms between events. 77 * @param randomizeThrottle Whether to randomize throttle. 80 public MonkeySourceRandomScript(ArrayList<String> scriptFileNames, long throttle, 83 this(null, scriptFileNames, throttle, randomizeThrottle, random, profileWaitTime,
|
MonkeySourceRandom.java | 112 long throttle, boolean randomizeThrottle) { 129 mQ = new MonkeyEventQueue(random, throttle, randomizeThrottle);
|
MonkeySourceScript.java | 147 * @param throttle The amount of time in ms to sleep between events. 149 public MonkeySourceScript(Random random, String filename, long throttle, 152 mQ = new MonkeyEventQueue(random, throttle, randomizeThrottle);
|
/external/chromium/chrome/browser/sync/sessions/ |
test_util.h | 32 ACTION_P(SimulateThrottled, throttle) { 33 SimulateThrottledImpl(arg0, throttle);
|
/frameworks/base/services/java/com/android/server/ |
SystemServer.java | 131 ThrottleService throttle = null; local 391 Slog.i(TAG, "Throttle Service"); 392 throttle = new ThrottleService(context); 394 Context.THROTTLE_SERVICE, throttle); 624 final ThrottleService throttleF = throttle; 724 reportWtf("making Throttle Service ready", e); [all...] |
/external/chromium/chrome/browser/sync/engine/ |
syncer_thread2_unittest.cc | 585 TimeDelta throttle(TimeDelta::FromMinutes(10)); 588 .WillOnce(WithArg<0>(sessions::test_util::SimulateThrottled(throttle))); [all...] |
/external/webkit/Source/WebKit/mac/Plugins/ |
WebNetscapePluginView.mm | 130 void start(bool throttle) 136 if (throttle) [all...] |