HomeSort by relevance Sort by last modified time
    Searched refs:throttle (Results 1 - 10 of 10) sorted by null

  /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 236 long throttle, boolean randomizeThrottle) {
252 mQ = new MonkeyEventQueue(random, throttle, randomizeThrottle);
MonkeySourceScript.java 136 * @param throttle The amount of time in ms to sleep between events.
138 public MonkeySourceScript(Random random, String filename, long throttle,
141 mQ = new MonkeyEventQueue(random, throttle, randomizeThrottle);
  /external/chromium/net/socket_stream/
socket_stream_throttle.cc 32 const std::string& scheme, SocketStreamThrottle* throttle);
51 SocketStreamThrottle* throttle = local
53 throttles_[scheme] = throttle;
54 return throttle;
60 const std::string& scheme, SocketStreamThrottle* throttle) {
61 throttles_[scheme] = throttle;
74 const std::string& scheme, SocketStreamThrottle* throttle) {
77 registry->RegisterSocketStreamThrottle(scheme, throttle);
socket_stream_throttle.h 18 // Abstract interface to throttle SocketStream per URL scheme.
29 // No throttle by default.
40 // No throttle by default.
51 // No throttle by default.
64 // Registers |throttle| for URL |scheme|.
65 // Doesn't take ownership of |throttle|. Typically |throttle| is
69 SocketStreamThrottle* throttle);
  /external/chromium/net/websockets/
websocket_throttle_unittest.cc 68 TEST_F(WebSocketThrottleTest, Throttle) {
72 WebSocketThrottle* throttle = Singleton<WebSocketThrottle>::get(); local
74 EXPECT_EQ(throttle,
76 EXPECT_EQ(throttle,
89 EXPECT_EQ(OK, throttle->OnStartOpenConnection(s1, &callback_s1));
99 EXPECT_EQ(ERR_IO_PENDING, throttle->OnStartOpenConnection(s2, &callback_s2));
109 EXPECT_EQ(ERR_IO_PENDING, throttle->OnStartOpenConnection(s3, &callback_s3));
120 EXPECT_EQ(ERR_IO_PENDING, throttle->OnStartOpenConnection(s4, &callback_s4));
124 throttle->OnRead(s1.get(), kHeader, sizeof(kHeader) - 1, NULL));
136 throttle->OnRead(s1.get(), kHeader2, sizeof(kHeader2) - 1, NULL))
    [all...]
  /frameworks/base/services/java/com/android/server/
SystemServer.java 129 ThrottleService throttle = null; local
297 Slog.i(TAG, "Throttle Service");
298 throttle = new ThrottleService(context);
300 Context.THROTTLE_SERVICE, throttle);
499 final ThrottleService throttleF = throttle;
  /external/webkit/WebKit/mac/Plugins/
WebNetscapePluginView.mm 127 void start(bool throttle)
133 if (throttle)
    [all...]

Completed in 879 milliseconds