HomeSort by relevance Sort by last modified time
    Searched refs:throttle (Results 1 - 25 of 36) 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/chrome/browser/sync/sessions/
test_util.h 32 ACTION_P(SimulateThrottled, throttle) {
33 SimulateThrottledImpl(arg0, throttle);
  /external/chromium_org/sync/sessions/
test_util.h 77 ACTION_P(SimulateThrottled, throttle) {
78 SimulateThrottledImpl(arg0, throttle);
81 ACTION_P2(SimulateTypesThrottled, types, throttle) {
82 SimulateTypesThrottledImpl(arg0, types, throttle);
  /external/chromium_org/chrome/browser/extensions/
user_script_listener_unittest.cc 40 ThrottleController(net::URLRequest* request, ResourceThrottle* throttle)
42 throttle_(throttle) {
166 ResourceThrottle* throttle = local
170 if (throttle) {
171 request->SetUserData(NULL, new ThrottleController(request, throttle));
173 throttle->WillStartRequest(&defer);
320 // Test when the script updated notification occurs before the throttle's
332 ResourceThrottle* throttle = local
334 ASSERT_TRUE(throttle);
335 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";
89 Throttle* throttle = new Throttle();
90 throttles_.push_back(throttle->AsWeakPtr());
91 return throttle;
  /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/prerender/
prerender_tracker.h 83 // or Resume will be called on |throttle| when the prerender is
87 const base::WeakPtr<PrerenderResourceThrottle>& throttle);
90 // or Resume will be called on |throttle| when the prerender is
94 const base::WeakPtr<PrerenderPendingSwapThrottle>& throttle);
prerender_tracker_unittest.cc 117 void SetThrottle(PrerenderResourceThrottle* throttle) {
118 throttle_ = throttle;
138 // Find out what the throttle would have done.
539 // Install a prerender throttle.
540 PrerenderResourceThrottle throttle(&request, prerender_tracker());
541 delegate.SetThrottle(&throttle);
548 // Display the prerendered RenderView and wait for the throttle to
579 // Install a prerender throttle.
580 PrerenderResourceThrottle throttle(&request, prerender_tracker());
581 delegate.SetThrottle(&throttle);
    [all...]
prerender_tracker.cc 207 const base::WeakPtr<PrerenderResourceThrottle>& throttle) {
214 resource_throttle_map_it->second.push_back(throttle);
221 const base::WeakPtr<PrerenderPendingSwapThrottle>& throttle) {
230 it->second.throttles.push_back(throttle);
  /external/jmonkeyengine/engine/src/core/com/jme3/post/
HDRRenderer.java 89 private float throttle = -1; field in class:HDRRenderer
138 public void setThrottle(float throttle){
139 this.throttle = throttle;
339 blendFactor = (time / throttle);
366 if (throttle == -1){
383 }else if (time > throttle){
  /external/chromium_org/android_webview/browser/renderer_host/
aw_resource_dispatcher_host_delegate.cc 350 IoThreadClientThrottle* throttle) {
353 ChildRouteIDPair(throttle->get_child_id(), throttle->get_route_id()));
402 IoThreadClientThrottle* throttle = it->second; local
403 throttle->OnIoThreadClientReady(new_child_id, new_route_id);
aw_resource_dispatcher_host_delegate.h 73 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 116 Throttle* throttle = new Throttle();
117 throttles_.push_back(throttle->AsWeakPtr());
118 return throttle;
126 // Stores a throttle per URL request that we have delayed.
127 class Throttle : public content::ResourceThrottle,
128 public base::SupportsWeakPtr<Throttle> {
140 return "TestNavigationListener::Throttle";
143 typedef base::WeakPtr<Throttle> WeakThrottle
263 content::ResourceThrottle* throttle = variable
    [all...]
  /external/chromium_org/chrome/browser/renderer_host/
chrome_resource_dispatcher_host_delegate.cc 180 // We got a component we need to install, so throttle the resource
351 // If it's from the web, we don't trust it, so we push the throttle on.
428 // Android use a resource throttle to handle external as well as internal
465 content::ResourceThrottle* throttle = local
469 if (throttle)
470 throttles->push_back(throttle);
481 content::ResourceThrottle* throttle = local
484 if (throttle)
485 throttles->push_back(throttle);
  /external/chromium_org/content/browser/worker_host/
worker_service_impl.cc 141 bool throttle = true; local
161 throttle = false;
166 if (!throttle ) {
171 iter->SetBackgrounded(throttle);
  /external/linux-tools-perf/
builtin-inject.c 183 .throttle = perf_event__repipe,
  /external/linux-tools-perf/util/
session.h 86 throttle, member in struct:perf_event_ops
  /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...]
  /external/chromium_org/third_party/mesa/src/src/gallium/state_trackers/dri/common/
dri_drawable.c 286 * swap_fences_pop_front - pull a fence from the throttle queue
288 * If the throttle queue is filled to the desired number of fences,
312 * swap_fences_push_back - push a fence onto the throttle queue
314 * push a fence onto the throttle queue and pull fences of the queue
337 * swap_fences_unref - empty the throttle queue
339 * pulls fences of the throttle queue until it is empty.
398 .throttle = dri_throttle,
  /external/mesa3d/src/gallium/state_trackers/dri/common/
dri_drawable.c 286 * swap_fences_pop_front - pull a fence from the throttle queue
288 * If the throttle queue is filled to the desired number of fences,
312 * swap_fences_push_back - push a fence onto the throttle queue
314 * push a fence onto the throttle queue and pull fences of the queue
337 * swap_fences_unref - empty the throttle queue
339 * pulls fences of the throttle queue until it is empty.
398 .throttle = dri_throttle,

Completed in 476 milliseconds

1 2