Home
last modified time | relevance | path

Searched refs:seconds (Results 1 – 25 of 40) sorted by relevance

12

/system/connectivity/shill/test-scripts/
Dstability38 def hms(seconds): argument
39 hours = int(seconds / (60 * 60))
40 seconds -= hours * 60 * 60
41 minutes = int(seconds / 60)
42 seconds -= minutes * 60
43 return '%d:%02d:%02d' % (hours, minutes, seconds)
/system/connectivity/shill/net/
Dshill_time.cc48 bool Time::GetSecondsMonotonic(time_t* seconds) { in GetSecondsMonotonic() argument
53 *seconds = now.tv_sec; in GetSecondsMonotonic()
58 bool Time::GetSecondsBoottime(time_t* seconds) { in GetSecondsBoottime() argument
63 *seconds = now.tv_sec; in GetSecondsBoottime()
Dmock_time.h32 MOCK_METHOD1(GetSecondsMonotonic, bool(time_t* seconds));
33 MOCK_METHOD1(GetSecondsBoottime, bool(time_t* seconds));
Dshill_time.h59 virtual bool GetSecondsMonotonic(time_t* seconds);
62 virtual bool GetSecondsBoottime(time_t* seconds);
/system/update_engine/common/
Dmulti_range_http_fetcher.h93 void set_idle_seconds(int seconds) override { in set_idle_seconds() argument
94 base_fetcher_->set_idle_seconds(seconds); in set_idle_seconds()
96 void set_retry_seconds(int seconds) override { in set_retry_seconds() argument
97 base_fetcher_->set_retry_seconds(seconds); in set_retry_seconds()
Dhttp_fetcher.h116 virtual void set_idle_seconds(int seconds) {} in set_idle_seconds() argument
117 virtual void set_retry_seconds(int seconds) {} in set_retry_seconds() argument
/system/update_engine/
Dlibcurl_http_fetcher.h79 void set_idle_seconds(int seconds) override { idle_seconds_ = seconds; } in set_idle_seconds() argument
82 void set_retry_seconds(int seconds) override { retry_seconds_ = seconds; } in set_retry_seconds() argument
/system/extras/perfprofd/
Dperfprofdutils.cc51 void perfprofd_sleep(int seconds) in perfprofd_sleep() argument
53 sleep(seconds); in perfprofd_sleep()
Dperfprofdutils.h30 extern void perfprofd_sleep(int seconds);
/system/core/libmemunreachable/
DScopedAlarm.h37 std::chrono::seconds s = std::chrono::duration_cast<std::chrono::seconds>(us); in ScopedAlarm()
/system/connectivity/shill/supplicant/
Dsupplicant_interface_proxy_interface.h51 virtual bool SetRoamThreshold(uint16_t seconds) = 0;
52 virtual bool SetScanInterval(int seconds) = 0;
Dmock_supplicant_interface_proxy.h55 MOCK_METHOD1(SetScanInterval, bool(int32_t seconds));
/system/extras/perfprofd/tests/
Dperfprofdmockutils.cc101 void perfprofd_sleep(int seconds) in perfprofd_sleep() argument
103 perfprofd_log_info("sleep %d seconds", seconds); in perfprofd_sleep()
Dperfprofd_test.cc322 I: sleep 90 seconds in TEST_F()
613 I: sleep 674 seconds in TEST_F()
616 I: sleep 9325 seconds in TEST_F()
669 I: sleep 674 seconds in TEST_F()
672 I: sleep 9325 seconds in TEST_F()
673 I: sleep 4974 seconds in TEST_F()
676 I: sleep 5025 seconds in TEST_F()
677 I: sleep 501 seconds in TEST_F()
680 I: sleep 9498 seconds in TEST_F()
/system/core/libmemunreachable/tests/
DDisableMalloc_test.cpp30 std::chrono::seconds s = std::chrono::duration_cast<std::chrono::seconds>(us); in alarm()
/system/bt/embdrv/sbc/decoder/include/
Doi_time.h92 OI_INT32 seconds; member
/system/core/liblog/tests/
Dbenchmark_main.cpp145 double seconds = static_cast<double>(gBenchmarkTotalTimeNs)/1e9; in Run() local
146 snprintf(throughput, sizeof(throughput), " %8.2f MiB/s", mib_processed/seconds); in Run()
/system/core/include/utils/
DTimers.h75 static CONSTEXPR inline nsecs_t seconds(nsecs_t v) { return s2ns(v); } in seconds() function
/system/core/fastboot/
Dusb_windows.cpp367 void sleep(int seconds) in sleep() argument
369 Sleep(seconds * 1000); in sleep()
/system/core/metricsd/uploader/proto/
Duser_action_event.proto33 // The timestamp for the event, in seconds since the epoch.
Dsystem_profile.proto30 // The time when the client was compiled/linked, in seconds since the epoch.
75 // The date the user enabled UMA, in seconds since the epoch.
81 // The time when the client was installed, in seconds since the epoch.
384 // update check, in seconds since the Unix epoch.
388 // and recieved an intact response from the server, in seconds since the
399 // stored in seconds since the Unix epoch. This is updated when an update
451 // Total amount of time that the program was running, in seconds,
459 // Total amount of time that the program was running, in seconds,
510 // it only gives the process a few seconds to clean up.)
/system/tpm/tpm_manager/common/
Dtpm_ownership_interface.proto45 // The number of seconds remaining in the lockout.
/system/extras/tests/tcp_nuke_addr/
Dtcp_nuke_addr_test.cpp119 std::this_thread::sleep_for(std::chrono::seconds(1)); in progressThread()
/system/core/bootstat/
DREADME.md20 number of seconds since the system booted.
/system/connectivity/shill/test-rpc-proxy/
Dproxy_rpc_server.cc460 double seconds; in SyncTimeTo() local
461 double microseconds = modf(epoch_seconds, &seconds) * 1000000; in SyncTimeTo()
463 tv.tv_sec = seconds; in SyncTimeTo()

12