HomeSort by relevance Sort by last modified time
    Searched refs:INTERVAL (Results 1 - 25 of 33) sorted by null

1 2

  /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 249 while ((max - min) > INTERVAL) {
279 while ((max - min) > INTERVAL) {
293 mindelta <= INTERVAL &&
295 maxdelta <= INTERVAL)
301 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 27 private static final float INTERVAL = 50.0f;
78 // All weights are multiplied by HISTORY_FACTOR after each INTERVAL milliseconds.
79 float factor = (float) Math.pow(HISTORY_FACTOR, (time - mLastUpdate) / 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 42 // Minimum interval for binary searches in ms; should be no larger
44 static final long INTERVAL = 10; // Milliseconds
73 while ((max - min) > INTERVAL)
92 if (mindelta >= 0 && mindelta <= INTERVAL &&
93 mindelta >= 0 && mindelta <= INTERVAL)
118 // while ((max - min) > INTERVAL)
167 while ((max - min) > INTERVAL)
188 if (mindelta >= 0 && mindelta <= INTERVAL &&
189 mindelta >= 0 && mindelta <= INTERVAL)
533 // while ((max - min) > INTERVAL)
    [all...]
TimeZoneTest.java 657 while ((max - min) > INTERVAL) {
672 mindelta <= INTERVAL &&
674 mindelta <= INTERVAL)
680 static final int INTERVAL = 100;
    [all...]
  /external/icu/icu4j/main/tests/core/src/com/ibm/icu/dev/test/timezone/
TimeZoneBoundaryTest.java 41 // Minimum interval for binary searches in ms; should be no larger
43 static final long INTERVAL = 10; // Milliseconds
72 while ((max - min) > INTERVAL)
91 if (mindelta >= 0 && mindelta <= INTERVAL &&
92 mindelta >= 0 && mindelta <= INTERVAL)
117 // while ((max - min) > INTERVAL)
166 while ((max - min) > INTERVAL)
187 if (mindelta >= 0 && mindelta <= INTERVAL &&
188 mindelta >= 0 && mindelta <= INTERVAL)
532 // while ((max - min) > INTERVAL)
    [all...]
TimeZoneTest.java 656 while ((max - min) > INTERVAL) {
671 mindelta <= INTERVAL &&
673 mindelta <= INTERVAL)
679 static final int INTERVAL = 100;
    [all...]
  /frameworks/base/services/tests/servicestests/src/com/android/server/pm/
ShortcutManagerTest2.java     [all...]
ShortcutManagerTest1.java 122 assertResetTimes(START_TIME, START_TIME + INTERVAL);
130 assertResetTimes(START_TIME, START_TIME + INTERVAL);
136 assertResetTimes(START_TIME, START_TIME + INTERVAL);
139 mInjectedCurrentTimeMillis = START_TIME + INTERVAL - 1;
142 assertResetTimes(START_TIME, START_TIME + INTERVAL);
147 assertResetTimes(START_TIME + INTERVAL, START_TIME + 2 * INTERVAL);
150 mInjectedCurrentTimeMillis = START_TIME + 4 * INTERVAL + 50;
152 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;

Completed in 836 milliseconds

1 2