/tools/loganalysis/src/com/android/loganalysis/item/ |
LatencyItem.java | 15 public static final String DELAY = "DELAY"; 19 ACTION_ID, DELAY)); 37 return (long) getAttribute(DELAY); 40 public void setDelay(long delay) { 41 setAttribute(DELAY, delay);
|
/external/python/cpython2/Lib/test/ |
test_dummy_thread.py | 15 DELAY = 0 # Set > 0 when testing a module other than dummy_thread, such as 67 def delay_unlock(to_unlock, delay): 69 time.sleep(delay) 74 _thread.start_new_thread(delay_unlock,(self.lock, DELAY)) 78 "(approx. %s sec.) ***" % DELAY 83 self.assertGreaterEqual(end_time - start_time, DELAY, 146 def queue_mark(queue, delay): 147 """Wait for ``delay`` seconds and then put something into ``queue``""" 148 time.sleep(delay) 156 "(will take approx. %s to %s sec.) ***" % (DELAY, thread_count [all...] |
/external/autotest/client/site_tests/hardware_Fan/ |
hardware_Fan.py | 51 DELAY = 3 60 time.sleep(self.DELAY) 68 time.sleep(self.DELAY) 73 time.sleep(self.DELAY)
|
/external/ltp/tools/pounder21/test_scripts/ |
statslogging | 64 # ten second delay; run 150s before outputting timestamp 65 DELAY=10 74 vmstat $DELAY $COUNT >> vmstat.log 82 iostat -x $DELAY $COUNT >> iostat.log 99 sleep $DELAY
|
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/test/ |
test_dummy_thread.py | 15 DELAY = 0 # Set > 0 when testing a module other than dummy_thread, such as
67 def delay_unlock(to_unlock, delay):
69 time.sleep(delay)
74 _thread.start_new_thread(delay_unlock,(self.lock, DELAY))
78 "(approx. %s sec.) ***" % DELAY
83 self.assertTrue((end_time - start_time) >= DELAY,
146 def queue_mark(queue, delay):
147 """Wait for ``delay`` seconds and then put something into ``queue``"""
148 time.sleep(delay)
156 "(will take approx. %s to %s sec.) ***" % (DELAY, thread_count) [all...] |
/prebuilts/gdb/darwin-x86/lib/python2.7/test/ |
test_dummy_thread.py | 15 DELAY = 0 # Set > 0 when testing a module other than dummy_thread, such as 67 def delay_unlock(to_unlock, delay): 69 time.sleep(delay) 74 _thread.start_new_thread(delay_unlock,(self.lock, DELAY)) 78 "(approx. %s sec.) ***" % DELAY 83 self.assertTrue((end_time - start_time) >= DELAY, 146 def queue_mark(queue, delay): 147 """Wait for ``delay`` seconds and then put something into ``queue``""" 148 time.sleep(delay) 156 "(will take approx. %s to %s sec.) ***" % (DELAY, thread_count [all...] |
/prebuilts/gdb/linux-x86/lib/python2.7/test/ |
test_dummy_thread.py | 15 DELAY = 0 # Set > 0 when testing a module other than dummy_thread, such as 67 def delay_unlock(to_unlock, delay): 69 time.sleep(delay) 74 _thread.start_new_thread(delay_unlock,(self.lock, DELAY)) 78 "(approx. %s sec.) ***" % DELAY 83 self.assertTrue((end_time - start_time) >= DELAY, 146 def queue_mark(queue, delay): 147 """Wait for ``delay`` seconds and then put something into ``queue``""" 148 time.sleep(delay) 156 "(will take approx. %s to %s sec.) ***" % (DELAY, thread_count [all...] |
/prebuilts/python/darwin-x86/2.7.5/lib/python2.7/test/ |
test_dummy_thread.py | 15 DELAY = 0 # Set > 0 when testing a module other than dummy_thread, such as 67 def delay_unlock(to_unlock, delay): 69 time.sleep(delay) 74 _thread.start_new_thread(delay_unlock,(self.lock, DELAY)) 78 "(approx. %s sec.) ***" % DELAY 83 self.assertTrue((end_time - start_time) >= DELAY, 146 def queue_mark(queue, delay): 147 """Wait for ``delay`` seconds and then put something into ``queue``""" 148 time.sleep(delay) 156 "(will take approx. %s to %s sec.) ***" % (DELAY, thread_count [all...] |
/prebuilts/python/linux-x86/2.7.5/lib/python2.7/test/ |
test_dummy_thread.py | 15 DELAY = 0 # Set > 0 when testing a module other than dummy_thread, such as 67 def delay_unlock(to_unlock, delay): 69 time.sleep(delay) 74 _thread.start_new_thread(delay_unlock,(self.lock, DELAY)) 78 "(approx. %s sec.) ***" % DELAY 83 self.assertTrue((end_time - start_time) >= DELAY, 146 def queue_mark(queue, delay): 147 """Wait for ``delay`` seconds and then put something into ``queue``""" 148 time.sleep(delay) 156 "(will take approx. %s to %s sec.) ***" % (DELAY, thread_count [all...] |
/cts/tests/app/src/android/app/cts/ |
ServiceTest.java | 61 private static final int DELAY = 5000; 204 waitForResultOrThrow(DELAY, "service to start first time"); 207 waitForResultOrThrow(DELAY, "service to start second time"); 216 waitForResultOrThrow(DELAY, "service to be destroyed"); 259 Thread.sleep(DELAY); 285 Thread.sleep(DELAY); 320 waitForResultOrThrow(DELAY, EXIST_CONN_TO_RECEIVE_SERVICE); 324 waitForResultOrThrow(DELAY, "new connection to receive service"); 339 waitForResultOrThrow(DELAY, EXIST_CONN_TO_LOSE_SERVICE); 351 waitForResultOrThrow(DELAY, EXIST_CONN_TO_RECEIVE_SERVICE) [all...] |
/cts/suite/audio_quality/test_description/processing/ |
calc_delay.py | 36 """Calcuate delay between two data. data0 is assumed to be recorded first, 38 returns delay between data0 and data1 in number of samples in data0's point of view""" 50 print "***Caluclating delay, may take some time***" 72 DELAY = durationInSec / 2.0 * samplingRate 73 data1 = data0[DELAY:] 74 delay = calc_delay(data0, data1) variable 75 print "calc_delay returned", delay, " while expecting ", DELAY
|
/external/linux-kselftest/tools/testing/selftests/timers/ |
posix_timers.c | 20 #define DELAY 2 70 if (abs(diff - DELAY * USECS_PER_SEC) > USECS_PER_SEC / 2) { 83 .it_value.tv_sec = DELAY, 145 .it_value.tv_sec = DELAY, 212 * on DELAY * nr_threads, with nr_threads busy looping, then wait 213 * the normal DELAY since the time is elapsing nr_threads faster.
|
/external/python/cpython3/Lib/test/ |
test_dummy_thread.py | 9 DELAY = 0 67 def delay_unlock(to_unlock, delay): 69 time.sleep(delay) 74 _thread.start_new_thread(delay_unlock,(self.lock, DELAY)) 78 "(approx. %s sec.) ***" % DELAY) 83 self.assertGreaterEqual(end_time - start_time, DELAY, 189 def queue_mark(queue, delay): 190 time.sleep(delay) 200 DELAY, thread_count)) 203 if DELAY [all...] |
/external/ltp/testcases/realtime/func/pi-tests/ |
sbrk_mutex.c | 53 #define DELAY 1000 /* how long to sleep in the worker thread in us */ 92 usleep(DELAY);
|
/frameworks/base/tests/BrowserPowerTest/src/com/android/browserpowertest/ |
PowerMeasurement.java | 34 private static final int DELAY = 0; 53 PowerTestActivity.MSG_NAVIGATE, TIME_OUT, DELAY);
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/ |
ProcessingTask.java | 28 private static final int DELAY = 300; 46 mProcessingHandler.sendMessageDelayed(msg, DELAY);
|
/tools/tradefederation/core/src/com/android/tradefed/log/ |
LogReceiver.java | 31 private static final int DELAY = 5; 35 this(device, cmd, LOG_SIZE, DELAY, desc);
|
/external/aac/libSACenc/src/ |
sacenc_delay.h | 100 delay management of the encoder 124 typedef struct DELAY *HANDLE_DELAY;
|
sacenc_delay.cpp | 100 delay management of the encoder 106 This file contains all delay infrastructure 117 struct DELAY { 149 INT nInfoDmxDelay; /* Delay of the downmixed signal after the space encoder */ 150 INT nInfoCodecDelay; /* Delay of the whole en-/decoder including CoreCoder */ 151 INT nInfoDecoderDelay; /* Delay of the Mpeg Surround decoder */ 171 FDK_ALLOCATE_MEMORY_1D(*phDelay, 1, struct DELAY); 182 description: destructs Delay 240 hDel->config.nQmfLen / 2; /* Only Ld-QMF Delay, no hybrid */
|
/frameworks/av/media/libstagefright/codecs/amrnb/common/include/ |
vad2.h | 93 #define DELAY 24
|
/packages/experimental/Bummer/src/com/android/dreams/bummer/ |
Bummer.java | 28 public static final int DELAY = 1000; // ms
|
/frameworks/base/core/java/android/app/ |
QueuedWork.java | 53 /** Delay for delayed runnables, as big as possible but low enough to be barely perceivable */ 54 private static final long DELAY = 100; 166 // We should not delay any work as this might delay the finishers 222 handler.sendEmptyMessageDelayed(QueuedWorkHandler.MSG_RUN, DELAY);
|
/cts/tests/tests/os/src/android/os/cts/ |
TokenWatcherTest.java | 35 private static final int DELAY = 500; 197 Thread.sleep(DELAY); 208 Thread.sleep(DELAY);
|
/external/aac/libFDK/include/ |
FDK_decorrelate.h | 137 DECORR_LD /**< Decorrelator type used by MPS Low Delay */ 155 DELAY, /**< Reverb bands just contains delay elements and no allpass filters. 253 * \param useFractDelay Indicate usage of fractional delay 0: off, 1: on
|
/frameworks/base/core/tests/ConnectivityManagerTest/src/com/android/connectivitymanagertest/unit/ |
WifiClientTest.java | 42 //10s delay for turning on wifi 43 private static final int DELAY = 10000; 107 Thread.sleep(DELAY);
|