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

1 2

  /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 121 long throttle, boolean randomizeThrottle) {
140 mQ = new MonkeyEventQueue(random, throttle, randomizeThrottle);
  /external/chromium_org/chrome/browser/prerender/
prerender_resource_throttle.h 50 const base::WeakPtr<PrerenderResourceThrottle>& throttle,
58 const base::WeakPtr<PrerenderResourceThrottle>& throttle,
prerender_resource_throttle.cc 77 const base::WeakPtr<PrerenderResourceThrottle>& throttle,
100 prerender_contents->AddResourceThrottle(throttle);
110 &PrerenderResourceThrottle::Resume, throttle));
114 const base::WeakPtr<PrerenderResourceThrottle>& throttle,
141 prerender_contents->AddResourceThrottle(throttle);
151 &PrerenderResourceThrottle::Resume, throttle));
prerender_tracker.h 43 // Resume will be called on |throttle| when the prerender is canceled or used,
47 const base::WeakPtr<PrerenderPendingSwapThrottle>& throttle);
90 base::WeakPtr<PrerenderPendingSwapThrottle> throttle; member in struct:prerender::PrerenderTracker::PendingSwapThrottleData
prerender_tracker_unittest.cc 105 void SetThrottle(PrerenderResourceThrottle* throttle) {
106 throttle_ = throttle;
126 // Find out what the throttle would have done.
234 // Install a prerender throttle.
235 PrerenderResourceThrottle throttle(&request);
236 delegate.SetThrottle(&throttle);
245 // Display the prerendered RenderView and wait for the throttle to
273 // Install a prerender throttle.
274 PrerenderResourceThrottle throttle(&request);
275 delegate.SetThrottle(&throttle);
    [all...]
prerender_tracker.cc 41 const base::WeakPtr<PrerenderPendingSwapThrottle>& throttle) {
51 CHECK(!it->second.throttle);
52 it->second.throttle = throttle;
73 if (it->second.throttle) {
75 it->second.throttle->Cancel();
77 it->second.throttle->Resume();
prerender_contents.h 313 const base::WeakPtr<PrerenderResourceThrottle>& throttle);
478 // throttle on the IO thread.
  /external/chromium_org/sync/sessions/
test_util.h 80 ACTION_P(SimulateThrottled, throttle) {
81 SimulateThrottledImpl(arg0, throttle);
84 ACTION_P2(SimulateTypesThrottled, types, throttle) {
85 SimulateTypesThrottledImpl(arg0, types, throttle);
  /external/chromium_org/chrome/browser/extensions/
user_script_listener_unittest.cc 42 ThrottleController(net::URLRequest* request, ResourceThrottle* throttle)
44 throttle_(throttle) {
169 ResourceThrottle* throttle = local
173 if (throttle) {
174 request->SetUserData(NULL, new ThrottleController(request, throttle));
176 throttle->WillStartRequest(&defer);
325 // Test when the script updated notification occurs before the throttle's
337 ResourceThrottle* throttle = local
339 ASSERT_TRUE(throttle);
340 request->SetUserData(NULL, new ThrottleController(request.get(), throttle));
    [all...]
user_script_listener.cc 25 class UserScriptListener::Throttle
27 public base::SupportsWeakPtr<UserScriptListener::Throttle> {
29 Throttle() : should_defer_(true), did_defer_(false) {
50 return "UserScriptListener::Throttle";
90 Throttle* throttle = new Throttle();
91 throttles_.push_back(throttle->AsWeakPtr());
92 return throttle;
  /external/linux-tools-perf/perf-3.12.0/tools/perf/util/
tool.h 37 throttle, member in struct:perf_tool
  /external/chromium_org/build/android/pylib/monkey/
test_runner.py 31 timeout_ms = self._options.event_count * self._options.throttle * 1.5
36 '--throttle %d' % self._options.throttle,
  /external/chromium_org/chrome/browser/renderer_host/
safe_browsing_resource_throttle.h 65 // Describes what phase of the check a throttle is in.
96 const base::WeakPtr<SafeBrowsingResourceThrottle>& throttle,
safe_browsing_resource_throttle.cc 133 const base::WeakPtr<SafeBrowsingResourceThrottle>& throttle,
160 base::Bind(&SafeBrowsingResourceThrottle::Cancel, throttle));
chrome_resource_dispatcher_host_delegate.cc 240 // We got a component we need to install, so throttle the resource
337 // Check if we need to add offline throttle. This should be done only
346 // Check if we need to add merge session throttle. This throttle will postpone
414 // If it's from the web, we don't trust it, so we push the throttle on.
450 // Android use a resource throttle to handle external as well as internal
484 content::ResourceThrottle* throttle = local
489 if (throttle)
490 throttles->push_back(throttle);
501 content::ResourceThrottle* throttle local
    [all...]
  /external/chromium_org/android_webview/browser/renderer_host/
aw_resource_dispatcher_host_delegate.cc 340 IoThreadClientThrottle* throttle) {
343 FrameRouteIDPair(throttle->render_process_id(),
344 throttle->render_frame_id()));
394 IoThreadClientThrottle* throttle = it->second; local
395 throttle->OnIoThreadClientReady(new_render_process_id, new_render_frame_id);
aw_resource_dispatcher_host_delegate.h 67 void RemovePendingThrottleOnIoThread(IoThreadClientThrottle* throttle);
  /external/chromium_org/content/browser/loader/
resource_scheduler_unittest.cc 38 TestRequest(scoped_ptr<ResourceThrottle> throttle,
41 throttle_(throttle.Pass()),
71 CancelingTestRequest(scoped_ptr<ResourceThrottle> throttle,
73 : TestRequest(throttle.Pass(), url_request.Pass()) {
180 scoped_ptr<ResourceThrottle> throttle(scheduler_.ScheduleRequest(
182 TestRequest* request = new TestRequest(throttle.Pass(), url_request.Pass());
296 scoped_ptr<ResourceThrottle> throttle(scheduler_.ScheduleRequest(
299 throttle.Pass(), url_request.Pass()));
  /external/chromium_org/chrome/browser/extensions/api/web_navigation/
web_navigation_apitest.cc 101 Throttle* throttle = new Throttle();
102 throttles_.push_back(throttle->AsWeakPtr());
103 return throttle;
111 // Stores a throttle per URL request that we have delayed.
112 class Throttle : public content::ResourceThrottle,
113 public base::SupportsWeakPtr<Throttle> {
125 return "TestNavigationListener::Throttle";
128 typedef base::WeakPtr<Throttle> WeakThrottle
249 content::ResourceThrottle* throttle = variable
    [all...]
  /external/chromium_org/content/browser/worker_host/
worker_service_impl.cc 157 bool throttle = true; local
177 throttle = false;
182 if (!throttle ) {
187 iter->SetBackgrounded(throttle);
  /external/chromium_org/third_party/mesa/src/src/glx/
dri2_glx.c 89 const __DRI2throttleExtension *throttle; member in struct:dri2_screen
481 * This function uses the DRI2 throttle extension to give the
482 * driver the opportunity to throttle on flush front, copysubbuffer
490 if (psc->throttle) {
496 psc->throttle->throttle(ctx, draw->driDrawable, reason);
1002 psc->throttle = (__DRI2throttleExtension *) extensions[i];
    [all...]
  /external/mesa3d/src/glx/
dri2_glx.c 89 const __DRI2throttleExtension *throttle; member in struct:dri2_screen
481 * This function uses the DRI2 throttle extension to give the
482 * driver the opportunity to throttle on flush front, copysubbuffer
490 if (psc->throttle) {
496 psc->throttle->throttle(ctx, draw->driDrawable, reason);
1002 psc->throttle = (__DRI2throttleExtension *) extensions[i];
    [all...]

Completed in 765 milliseconds

1 2