/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 | 39 ThrottleController(net::URLRequest* request, ResourceThrottle* throttle) 41 throttle_(throttle) { 165 ResourceThrottle* throttle = local 169 if (throttle) { 170 request->SetUserData(NULL, new ThrottleController(request, throttle)); 172 throttle->WillStartRequest(&defer); 319 // Test when the script updated notification occurs before the throttle's 331 ResourceThrottle* throttle = local 333 ASSERT_TRUE(throttle); 334 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) { 85 Throttle* throttle = new Throttle(); 86 throttles_.push_back(throttle->AsWeakPtr()); 87 return throttle;
|
/external/chromium_org/build/android/pylib/monkey/ |
test_runner.py | 27 timeout_ms = self.options.event_count * self.options.throttle * 1.5 32 '--throttle %d' % self.options.throttle,
|
/external/chromium_org/android_webview/browser/renderer_host/ |
aw_resource_dispatcher_host_delegate.h | 64 void RemovePendingThrottleOnIoThread(IoThreadClientThrottle* throttle);
|
aw_resource_dispatcher_host_delegate.cc | 227 // We only intercept navigations with main frames since this throttle is 329 IoThreadClientThrottle* throttle) { 332 ChildRouteIDPair(throttle->get_child_id(), throttle->get_route_id())); 381 IoThreadClientThrottle* throttle = it->second; local 382 throttle->OnIoThreadClientReady(new_child_id, new_route_id);
|
/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/content/browser/loader/ |
resource_scheduler_unittest.cc | 37 TestRequest(scoped_ptr<ResourceThrottle> throttle, 40 throttle_(throttle.Pass()), 70 CancelingTestRequest(scoped_ptr<ResourceThrottle> throttle, 72 : TestRequest(throttle.Pass(), url_request.Pass()) { 178 scoped_ptr<ResourceThrottle> throttle(scheduler_.ScheduleRequest( 180 TestRequest* request = new TestRequest(throttle.Pass(), url_request.Pass()); 295 scoped_ptr<ResourceThrottle> throttle(scheduler_.ScheduleRequest( 298 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> { 139 typedef base::WeakPtr<Throttle> WeakThrottle; 260 content::ResourceThrottle* throttle variable [all...] |
/external/chromium_org/chrome/browser/renderer_host/ |
chrome_resource_dispatcher_host_delegate.cc | 333 // If it's from the web, we don't trust it, so we push the throttle on. 412 // Android use a resource throttle to handle external as well as internal 445 content::ResourceThrottle* throttle = local 451 if (throttle) 452 throttles->push_back(throttle); 463 content::ResourceThrottle* throttle = local 466 if (throttle) 467 throttles->push_back(throttle);
|
/external/chromium_org/content/browser/worker_host/ |
worker_service_impl.cc | 139 bool throttle = true; local 159 throttle = false; 164 if (!throttle ) { 169 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
|
session.c | 345 if (handler->throttle == NULL) 346 handler->throttle = process_event_stub; 763 return ops->throttle(event, sample, session); [all...] |
/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,
|
/external/chromium_org/third_party/mesa/src/include/GL/internal/ |
dri_interface.h | 289 * throttle callbacks. 303 void (*throttle)(__DRIcontext *ctx, member in struct:__DRI2throttleExtensionRec [all...] |
/external/mesa3d/include/GL/internal/ |
dri_interface.h | 289 * throttle callbacks. 303 void (*throttle)(__DRIcontext *ctx, member in struct:__DRI2throttleExtensionRec [all...] |