/external/autotest/client/site_tests/power_LoadTest/extension/ |
H A D | time.js | 5 // Convert seconds to milliseconds 6 function seconds(s) { function 12 return seconds(m * 60);
|
H A D | params.js | 5 // Convert seconds to milliseconds 6 function seconds(s) { function 12 return seconds(m * 60); 16 var test_startup_delay = seconds(5);
|
/external/llvm/lib/Support/Unix/ |
H A D | Watchdog.inc | 20 Watchdog::Watchdog(unsigned int seconds) { 22 alarm(seconds);
|
/external/libcxx/test/std/experimental/utilities/time/header.chrono.synop/ |
H A D | includes.pass.cpp | 17 std::chrono::seconds s;
|
/external/autotest/client/site_tests/power_KernelSuspend/ |
H A D | power_KernelSuspend.py | 13 def run_once(self, seconds=10): 15 sys_power.kernel_suspend(seconds)
|
/external/autotest/client/tests/sleeptest/ |
H A D | sleeptest.py | 7 def run_once(self, seconds=1): 8 time.sleep(seconds)
|
/external/autotest/server/tests/sleeptest/ |
H A D | sleeptest.py | 7 def run_once(self, host=None, seconds=1): 8 time.sleep(seconds)
|
/external/llvm/lib/Support/Windows/ |
H A D | Watchdog.inc | 21 Watchdog::Watchdog(unsigned int seconds) {}
|
/external/webrtc/webrtc/system_wrappers/source/ |
H A D | clock_unittest.cc | 19 uint32_t seconds; local 21 clock->CurrentNtp(seconds, fractions); 24 EXPECT_GE(milliseconds, Clock::NtpToMs(seconds, fractions)); 25 EXPECT_NEAR(milliseconds, Clock::NtpToMs(seconds, fractions), 100);
|
/external/google-benchmark/src/ |
H A D | sleep.cc | 30 void SleepForSeconds(double seconds) { argument 31 SleepForMilliseconds(static_cast<int>(kNumMillisPerSecond * seconds)); 46 void SleepForSeconds(double seconds) { 47 SleepForMicroseconds(static_cast<int>(seconds * kNumMicrosPerSecond));
|
/external/okhttp/okhttp/src/main/java/com/squareup/okhttp/internal/http/ |
H A D | HeaderParser.java | 54 long seconds = Long.parseLong(value); 55 if (seconds > Integer.MAX_VALUE) { 57 } else if (seconds < 0) { 60 return (int) seconds;
|
/external/autotest/client/tests/flaky_test/ |
H A D | flaky_test.py | 11 def run_once(self, seconds=1): 15 time.sleep(seconds)
|
/external/autotest/server/site_tests/dummy_FlakyTestServer/ |
H A D | flaky_test.py | 11 def run_once(self, seconds=1): 15 time.sleep(seconds)
|
/external/libcxx/test/std/utilities/time/time.duration/time.duration.arithmetic/ |
H A D | op_+=.pass.cpp | 21 std::chrono::seconds s(3); 22 s += std::chrono::seconds(2);
|
H A D | op_-=.pass.cpp | 21 std::chrono::seconds s(3); 22 s -= std::chrono::seconds(2);
|
/external/webrtc/webrtc/system_wrappers/include/ |
H A D | ntp_time.h | 24 NtpTime(uint32_t seconds, uint32_t fractions) argument 25 : seconds_(seconds), fractions_(fractions) {} 33 void Set(uint32_t seconds, uint32_t fractions) { argument 34 seconds_ = seconds; 47 uint32_t seconds() const { return seconds_; } function in class:webrtc::NtpTime 56 return n1.seconds() == n2.seconds() && n1.fractions() == n2.fractions();
|
H A D | clock.h | 20 // January 1970, in NTP seconds. 39 // Retrieve an NTP absolute timestamp in seconds and fractions of a second. 40 virtual void CurrentNtp(uint32_t& seconds, uint32_t& fractions) const = 0; 46 static int64_t NtpToMs(uint32_t seconds, uint32_t fractions); 67 void CurrentNtp(uint32_t& seconds, uint32_t& fractions) const override;
|
/external/chromium-trace/catapult/telemetry/telemetry/internal/actions/ |
H A D | repaint_continuously.py | 13 until self.seconds have elapsed AND at least three RAFs have been fired. Times 14 out after max(60, self.seconds), if less than three RAFs were fired. 17 def __init__(self, seconds): 19 self._seconds = seconds 30 # Wait until at least self.seconds have elapsed AND min_rafs have been 31 # fired. Use a hard time-out after 60 seconds (or self.seconds).
|
/external/replicaisland/src/com/replica/replicaisland/ |
H A D | VibrationSystem.java | 34 public void vibrate(float seconds) { argument 39 vibrator.vibrate((int)(seconds * 1000));
|
/external/autotest/client/cros/ |
H A D | sys_power.py | 73 def prepare_wakeup(seconds): 76 @param seconds: The number of seconds to allow the device to suspend. 82 assert seconds >= 2 84 alarm = int(rtc.get_seconds() + seconds) 85 logging.debug('Suspend for %d seconds, wakealarm = %d', seconds, alarm) 109 @param suspend_seconds: Number of seconds to suspend the DUT. 110 @param delay_seconds: Number of seconds wait before suspending the DUT. 132 @param delay_seconds: Number of seconds wai [all...] |
/external/chromium-trace/catapult/third_party/Paste/paste/util/ |
H A D | dateinterval.py | 5 seconds, and back again. Is not exactly about months or 37 def interval_encode(seconds, include_sign=False): 38 """Encodes a number of seconds (representing a time interval) 47 orig = seconds 48 seconds = abs(seconds) 50 if seconds >= amount: 51 i, seconds = divmod(seconds, amount) 64 into a number of seconds [all...] |
/external/autotest/client/site_tests/power_Resume/ |
H A D | power_Resume.py | 26 def run_once(self, max_devs_returned=10, seconds=0): 28 self._suspend_once(max_devs_returned, seconds) 30 self._suspend_once(max_devs_returned, seconds + EXTRA_TIME) 34 def _suspend_once(self, max_devs_returned, seconds): 35 (results, device_times) = self._suspender.suspend(seconds)
|
/external/v8/test/webkit/ |
H A D | date-constructor.js | 82 var seconds = { valueOf: function() { testStr += 6; return 0; } }; 86 new Date(year, month, date, hours, minutes, seconds, ms); 90 Date.UTC(year, month, date, hours, minutes, seconds, ms);
|
/external/webrtc/webrtc/modules/rtp_rtcp/source/rtcp_packet/ |
H A D | rrtr.cc | 34 uint32_t seconds = ByteReader<uint32_t>::ReadBigEndian(&buffer[4]); local 36 ntp_.Set(seconds, fraction); 44 ByteWriter<uint32_t>::WriteBigEndian(&buffer[4], ntp_.seconds());
|
/external/autotest/client/cros/video/ |
H A D | screenshot_file_namer.py | 56 minutes, seconds = divmod(remainder, 60) 62 hours, minutes, seconds, milliseconds)
|