/cts/tests/tests/os/src/android/os/cts/ |
CountDownTimerTest.java | 44 int count = (int) (mActivity.MILLISINFUTURE / mActivity.INTERVAL); 45 final long TIMEOUT_MSEC = mActivity.MILLISINFUTURE + mActivity.INTERVAL + OFFSET * count; 52 final long DELAY_MSEC = mActivity.INTERVAL + OFFSET; 57 final long TIMEOUT_MSEC = mActivity.MILLISINFUTURE + mActivity.INTERVAL; 61 int count = Long.valueOf(DELAY_MSEC / mActivity.INTERVAL).intValue() + 1; 69 long expecTickTime = mStartTime + i * mActivity.INTERVAL;
|
CountDownTimerTestStub.java | 30 public final long INTERVAL = 1000; 37 countDownTimer = new CountDownTimer(MILLISINFUTURE, INTERVAL) {
|
/external/autotest/server/site_tests/network_WiFi_IPv6RA/ |
network_WiFi_IPv6RA.py | 16 INTERVAL = 2 65 ip_utils.send_ra(mac=client_mac, interval=0, count=1) 78 count = LIFETIME / LIFETIME_FRACTION / INTERVAL 79 ip_utils.send_ra(mac=client_mac, interval=INTERVAL, count=count) 92 ip_utils.send_ra(mac=client_mac, interval=INTERVAL, count=2) 96 ' interval.')
|
/external/icu/icu4c/source/test/intltest/ |
tztest.h | 106 static const UDate INTERVAL;
|
tzbdtest.h | 77 virtual void findBoundariesStepwise(int32_t year, UDate interval, TimeZone* z, int32_t expectedChanges); 96 static const UDate INTERVAL;
|
tzbdtest.cpp | 71 const UDate TimeZoneBoundaryTest::INTERVAL = 10; 84 while ((max - min) > INTERVAL) { 99 mindelta <= INTERVAL && 101 maxdelta <= INTERVAL) logln(UnicodeString("PASS: Expected boundary at ") + expectedBoundary); 134 while ((max - min) > INTERVAL) { 150 mindelta <= INTERVAL && 152 maxdelta <= INTERVAL) logln(UnicodeString("PASS: Expected boundary at ") + expectedBoundary); 395 while ((max - min) > INTERVAL) { 410 mindelta <= INTERVAL && 412 maxdelta <= INTERVAL) logln(UnicodeString("PASS: Expected boundary at ") + expectedBoundary) [all...] |
tztest.cpp | 252 while ((max - min) > INTERVAL) { 282 while ((max - min) > INTERVAL) { 296 mindelta <= INTERVAL && 298 maxdelta <= INTERVAL) 304 const UDate TimeZoneTest::INTERVAL = 100; [all...] |
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_timedwait/ |
2-1.c | 29 #define INTERVAL 1 128 sleep(INTERVAL);
|
2-2.c | 25 #define INTERVAL 5 112 alarm(INTERVAL);
|
3-1.c | 22 #define INTERVAL 1 113 sleep(INTERVAL);
|
2-3.c | 25 #define INTERVAL 2
|
4-3.c | 53 #define INTERVAL (700) /* ns, frequency (actually, period) for the condition signaling */ 192 /* The next function will signal the condition at periodic interval */ 208 ts.tv_nsec = INTERVAL;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/ |
HistoryEvaluator.java | 27 private static final float INTERVAL = 50.0f; 80 // All weights are multiplied by HISTORY_FACTOR after each INTERVAL milliseconds. 81 float factor = (float) Math.pow(HISTORY_FACTOR, (time - mLastUpdate) / INTERVAL);
|
/packages/apps/Dialer/java/com/android/incallui/answer/impl/classifier/ |
HistoryEvaluator.java | 26 private static final float INTERVAL = 50.0f; 77 // All weights are multiplied by HISTORY_FACTOR after each INTERVAL milliseconds. 78 float factor = (float) Math.pow(HISTORY_FACTOR, (time - lastUpdate) / INTERVAL);
|
/external/ltp/ |
ltpmenu | 245 --title "Test Duration - Interval Selection" --clear\ 251 2>/tmp/runltp.interval.$$ ; 252 flags_interval=$(cat /tmp/runltp.interval.$$ | awk '{print $1}') 254 s) INTERVAL="seconds" ;; 255 m) INTERVAL="minutes" ;; 256 h) INTERVAL="hours" ;; 257 d) INTERVAL="days" ;; 260 echo $INTERVAL 261 WINDOW_MSG="Please enter the number of $INTERVAL to run"
|
/external/autotest/contrib/ |
remove_old_tests_in_tko.sql | 9 SET @cutoff_date = DATE_SUB(CURDATE(),INTERVAL 180 DAY); 34 SET @cutoff_date = DATE_SUB(@cutoff_date,INTERVAL 5 DAY);
|
/external/icu/android_icu4j/src/main/tests/android/icu/dev/test/timezone/ |
TimeZoneBoundaryTest.java | 47 // Minimum interval for binary searches in ms; should be no larger 49 static final long INTERVAL = 10; // Milliseconds 78 while ((max - min) > INTERVAL) 97 if (mindelta >= 0 && mindelta <= INTERVAL && 98 mindelta >= 0 && mindelta <= INTERVAL) 123 // while ((max - min) > INTERVAL) 172 while ((max - min) > INTERVAL) 193 if (mindelta >= 0 && mindelta <= INTERVAL && 194 mindelta >= 0 && mindelta <= INTERVAL) 538 // while ((max - min) > INTERVAL) [all...] |
TimeZoneTest.java | 655 while ((max - min) > INTERVAL) { 670 mindelta <= INTERVAL && 672 mindelta <= INTERVAL) 678 static final int INTERVAL = 100; [all...] |
/external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/ |
TimeZoneBoundaryTest.java | 44 // Minimum interval for binary searches in ms; should be no larger 46 static final long INTERVAL = 10; // Milliseconds 75 while ((max - min) > INTERVAL) 94 if (mindelta >= 0 && mindelta <= INTERVAL && 95 mindelta >= 0 && mindelta <= INTERVAL) 120 // while ((max - min) > INTERVAL) 169 while ((max - min) > INTERVAL) 190 if (mindelta >= 0 && mindelta <= INTERVAL && 191 mindelta >= 0 && mindelta <= INTERVAL) 535 // while ((max - min) > INTERVAL) [all...] |
/external/python/cpython3/Python/ |
ceval_gil.h | 14 #define INTERVAL (gil_interval >= 1 ? gil_interval : 1) 33 `interval` microseconds on `gil_cond` has timed out. 41 time (`interval` microseconds) before setting gil_drop_request. This 45 The `interval` value is available for the user to read and modify 224 COND_TIMED_WAIT(gil_cond, gil_mutex, INTERVAL, timed_out);
|
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/ |
ShortcutManagerTest2.java | [all...] |
ShortcutManagerTest1.java | 128 assertResetTimes(START_TIME, START_TIME + INTERVAL); 136 assertResetTimes(START_TIME, START_TIME + INTERVAL); 142 assertResetTimes(START_TIME, START_TIME + INTERVAL); 145 mInjectedCurrentTimeMillis = START_TIME + INTERVAL - 1; 148 assertResetTimes(START_TIME, START_TIME + INTERVAL); 153 assertResetTimes(START_TIME + INTERVAL, START_TIME + 2 * INTERVAL); 156 mInjectedCurrentTimeMillis = START_TIME + 4 * INTERVAL + 50; 158 assertResetTimes(START_TIME + 4 * INTERVAL, START_TIME + 5 * INTERVAL); [all...] |
/external/ltp/testcases/realtime/func/rt-migrate/ |
rt-migrate.c | 33 * interval. 127 #define INTERVAL 100ULL * NS_PER_MS 136 static unsigned long long interval = INTERVAL; variable 207 interval = atoi(v); 467 intv.tv_sec = INTERVAL / NS_PER_SEC; 468 intv.tv_nsec = INTERVAL % (1 * NS_PER_SEC);
|
/external/iproute2/examples/ |
cbq.init-v0.7.3 | 882 WEEKDAYS=${TIMESPEC%%/*}; INTERVAL=${TIMESPEC##*/} 883 BEG_TIME=${INTERVAL%%-*}; END_TIME=${INTERVAL##*-} 886 [ "$WEEKDAYS" != "$INTERVAL" -a \ 889 ### Compute interval boundaries 921 ### Time interval matched [all...] |
/external/ltp/testcases/open_posix_testsuite/conformance/interfaces/pthread_cond_wait/ |
4-1.c | 76 #define INTERVAL (700) /* ns, frequency (actually, period) for the condition signaling */ 202 /* The next function will signal the condition at periodic interval */ 219 ts.tv_nsec = INTERVAL;
|