/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,
|
/external/ImageMagick/Magick++/lib/Magick++/ |
ResourceLimits.h | 58 static void throttle(const MagickSizeType limit_); 59 static MagickSizeType throttle(void);
|
/external/autotest/client/bin/result_tools/ |
delete_file_throttler.py | 38 def throttle(summary, max_result_size_KB, function 41 """Throttle the files in summary by trimming file content.
|
dedupe_file_throttler.py | 75 def throttle(summary, max_result_size_KB): function 76 """Throttle the files in summary by de-duplicating files.
|
shrink_file_throttler_unittest.py | 47 """Test class for shrink_file_throttler.throttle method.""" 88 """Test throttle method.""" 90 shrink_file_throttler.throttle( 111 """Test class for shrink_file_throttler.throttle method for files to be 131 shrink_file_throttler.throttle( 135 shrink_file_throttler.throttle(
|
dedupe_file_throttler_unittest.py | 21 """Test class for dedupe_file_throttler.throttle method.""" 71 """Test throttle method.""" 73 dedupe_file_throttler.throttle(
|
shrink_file_throttler.py | 137 def throttle(summary, max_result_size_KB, function 140 """Throttle the files in summary by trimming file content.
|
zip_file_throttler.py | 100 def throttle(summary, max_result_size_KB, function 103 """Throttle the files in summary by compressing file.
|
delete_file_throttler_unittest.py | 59 """Test class for shrink_file_throttler.throttle method.""" 112 """Test throttle method.""" 114 delete_file_throttler.throttle(
|
zip_file_throttler_unittest.py | 46 """Test class for zip_file_throttler.throttle method.""" 106 """Test throttle method.""" 108 zip_file_throttler.throttle(
|
/external/mesa3d/src/glx/ |
dri2_priv.h | 48 const __DRI2throttleExtension *throttle; member in struct:dri2_screen
|
/external/ImageMagick/Magick++/lib/ |
ResourceLimits.cpp | 83 void Magick::ResourceLimits::throttle(const MagickSizeType limit_) function in class:Magick::ResourceLimits 88 MagickCore::MagickSizeType Magick::ResourceLimits::throttle(void) function in class:Magick::ResourceLimits
|
/system/gatekeeper/ |
gatekeeper.cpp | 53 bool throttle = (pw_handle->version >= HANDLE_VERSION_THROTTLE); local 54 if (throttle) { 74 if (throttle && timeout > 0) { 127 bool throttle = (password_handle->version >= HANDLE_VERSION_THROTTLE); local 129 if (throttle) { 158 if (throttle) ClearFailureRecord(uid, user_id, throttle_secure); 161 if (throttle && timeout > 0) {
|
/prebuilts/go/darwin-x86/src/net/ |
tcpsock_unix_test.go | 51 throttle := make(chan struct{}, runtime.GOMAXPROCS(-1)*2) 53 throttle <- struct{}{} 56 <-throttle
|
/prebuilts/go/linux-x86/src/net/ |
tcpsock_unix_test.go | 51 throttle := make(chan struct{}, runtime.GOMAXPROCS(-1)*2) 53 throttle <- struct{}{} 56 <-throttle
|
/external/libese/apps/weaver/card/src/com/android/weaver/core/ |
CoreSlots.java | 173 if (throttle(sRemainingBackoff, (short) 0, mFailureCount)) { 208 * @return Whether there is any throttle time. 210 private static boolean throttle(byte[] bArray, short bOff, short failureCount) { method in class:CoreSlots.Slot
|
/packages/apps/Dialer/java/com/android/dialer/notification/ |
NotificationThrottler.java | 50 /* package */ static void throttle(@NonNull Context context, @NonNull Notification notification) { method in class:NotificationThrottler 65 "NotificationThrottler.throttle", 83 "NotificationThrottler.throttle",
|
DialerNotificationManager.java | 53 NotificationThrottler.throttle(context, notification);
|
/system/extras/simpleperf/scripts/inferno/ |
script.js | 26 function throttle(callback) { function in function:flamegraphInit 38 window.addEventListener('resize', throttle(function() {
|
/tools/loganalysis/src/com/android/loganalysis/item/ |
MonkeyLogItem.java | 51 public static final String THROTTLE = "THROTTLE"; 76 START_TIME, STOP_TIME, PACKAGES, CATEGORIES, THROTTLE, SEED, TARGET_COUNT, 93 setAttribute(THROTTLE, 0); 157 * Get the throttle for the monkey run. 160 return (Integer) getAttribute(THROTTLE); 164 * Set the throttle for the monkey run. 166 public void setThrottle(int throttle) { 167 setAttribute(THROTTLE, throttle); [all...] |
SmartMonkeyLogItem.java | 46 public static final String THROTTLE = "THROTTLE"; 71 START_TIME, STOP_TIME, PACKAGES, THROTTLE, TARGET_INVOCATIONS, ABORTED, 87 setAttribute(THROTTLE, 0); 171 * Get the throttle for the monkey run. 174 return (Integer) getAttribute(THROTTLE); 178 * Set the throttle for the monkey run. 180 public void setThrottle(int throttle) { 181 setAttribute(THROTTLE, throttle); [all...] |
/external/perf_data_converter/src/quipper/ |
perf_serializer.cc | 637 const struct throttle_event& throttle = event.throttle; local 638 sample->set_time_ns(throttle.time); 639 sample->set_id(throttle.id); 640 sample->set_stream_id(throttle.stream_id); 647 struct throttle_event& throttle = event->throttle; local 648 throttle.time = sample.time_ns(); 649 throttle.id = sample.id(); 650 throttle.stream_id = sample.stream_id() [all...] |
/external/ImageMagick/MagickCore/ |
resource.c | 86 throttle, 120 MagickULLConstant(0), /* initial throttle */ 130 MagickULLConstant(0), /* throttle limit */ 281 ((MagickSizeType) resource_info.throttle < limit) ? 283 (void) FormatMagickSize((MagickSizeType) resource_info.throttle, 649 resource=(MagickSizeType) resource_info.throttle; 829 (void) FormatLocaleFile(file," Throttle: %.20g\n",(double) 84 throttle, member in struct:_ResourceInfo [all...] |