Searched refs:seconds (Results 1 - 25 of 365) sorted by relevance

1234567891011>>

/external/autotest/client/site_tests/power_LoadTest/extension/
H A Dtime.js5 // Convert seconds to milliseconds
6 function seconds(s) { function
12 return seconds(m * 60);
H A Dparams.js5 // 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 DWatchdog.inc20 Watchdog::Watchdog(unsigned int seconds) {
22 alarm(seconds);
/external/libcxx/test/std/experimental/utilities/time/header.chrono.synop/
H A Dincludes.pass.cpp17 std::chrono::seconds s;
/external/autotest/client/site_tests/power_KernelSuspend/
H A Dpower_KernelSuspend.py13 def run_once(self, seconds=10):
15 sys_power.kernel_suspend(seconds)
/external/autotest/client/tests/sleeptest/
H A Dsleeptest.py7 def run_once(self, seconds=1):
8 time.sleep(seconds)
/external/autotest/server/tests/sleeptest/
H A Dsleeptest.py7 def run_once(self, host=None, seconds=1):
8 time.sleep(seconds)
/external/llvm/lib/Support/Windows/
H A DWatchdog.inc21 Watchdog::Watchdog(unsigned int seconds) {}
/external/webrtc/webrtc/system_wrappers/source/
H A Dclock_unittest.cc19 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 Dsleep.cc30 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 DHeaderParser.java54 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 Dflaky_test.py11 def run_once(self, seconds=1):
15 time.sleep(seconds)
/external/autotest/server/site_tests/dummy_FlakyTestServer/
H A Dflaky_test.py11 def run_once(self, seconds=1):
15 time.sleep(seconds)
/external/libcxx/test/std/utilities/time/time.duration/time.duration.arithmetic/
H A Dop_+=.pass.cpp21 std::chrono::seconds s(3);
22 s += std::chrono::seconds(2);
H A Dop_-=.pass.cpp21 std::chrono::seconds s(3);
22 s -= std::chrono::seconds(2);
/external/webrtc/webrtc/system_wrappers/include/
H A Dntp_time.h24 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 Dclock.h20 // 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 Drepaint_continuously.py13 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 DVibrationSystem.java34 public void vibrate(float seconds) { argument
39 vibrator.vibrate((int)(seconds * 1000));
/external/autotest/client/cros/
H A Dsys_power.py73 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 Ddateinterval.py5 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 Dpower_Resume.py26 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 Ddate-constructor.js82 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 Drrtr.cc34 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 Dscreenshot_file_namer.py56 minutes, seconds = divmod(remainder, 60)
62 hours, minutes, seconds, milliseconds)

Completed in 2196 milliseconds

1234567891011>>