Home
last modified time | relevance | path

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

12345

/system/core/storaged/
DREADME.properties1 ro.storaged.event.interval # interval storaged scans for IO stats, in seconds
3 ro.storaged.disk_stats_pub # interval storaged publish disk stats, in seconds
4 ro.storaged.uid_io.interval # interval storaged checks Per UID IO usage, in seconds
Dstoraged_info.cpp83 day_start_tp += chrono::seconds(perf_history.day_start_sec()); in load_perf_history_proto()
127 duration_cast<chrono::seconds>(day_start_tp.time_since_epoch()).count()); in refresh()
155 duration_cast<chrono::seconds>(tp - day_start_tp).count() < DAY_TO_SEC) { in update_perf_history()
174 day_start_tp = tp - chrono::seconds(duration_cast<chrono::seconds>( in update_perf_history()
/system/libbase/
Dchrono_utils_test.cpp31 std::chrono::seconds GetBootTimeSeconds() { in GetBootTimeSeconds()
35 auto now_tp = boot_clock::time_point(std::chrono::seconds(now.tv_sec) + in GetBootTimeSeconds()
37 return std::chrono::duration_cast<std::chrono::seconds>(now_tp.time_since_epoch()); in GetBootTimeSeconds()
44 std::chrono::duration_cast<std::chrono::seconds>(boot_clock::now().time_since_epoch()); in TEST()
Dchrono_utils.cpp28 return boot_clock::time_point(std::chrono::seconds(ts.tv_sec) + in now()
/system/logging/liblog/tests/
Dtest_utils.h21 static unsigned int getAlarmSeconds(unsigned int seconds) { in getAlarmSeconds() argument
22 return seconds * android::base::GetIntProperty("ro.hw_timeout_multiplier", 1); in getAlarmSeconds()
/system/chre/platform/linux/include/chre/platform/linux/
Dpal_wifi.h46 std::chrono::seconds seconds);
/system/chre/platform/slpi/
Dsystem_time_util.cc38 uint64_t seconds = (ticks / kClockFreq); in getNanosecondsFromQTimerTicks() local
41 nsec = (seconds * kOneSecondInNanoseconds); in getNanosecondsFromQTimerTicks()
/system/core/llkd/tests/
Dllkd_test.cpp46 seconds GetUintProperty(const std::string& key, seconds def) { in GetUintProperty()
47 return seconds(android::base::GetUintProperty(key, static_cast<uint64_t>(def.count()), in GetUintProperty()
69 seconds llkdSleepPeriod(char state) { in llkdSleepPeriod()
118 seconds khtTimeout = duration_cast<seconds>( in llkdSleepPeriod()
141 auto sec = duration_cast<seconds>(timeout); in llkdSleepPeriod()
/system/update_engine/common/
Dmulti_range_http_fetcher.h96 void set_idle_seconds(int seconds) override { in set_idle_seconds() argument
97 base_fetcher_->set_idle_seconds(seconds); in set_idle_seconds()
99 void set_retry_seconds(int seconds) override { in set_retry_seconds() argument
100 base_fetcher_->set_retry_seconds(seconds); in set_retry_seconds()
Dhttp_fetcher.h125 virtual void set_idle_seconds(int seconds) {} in set_idle_seconds() argument
126 virtual void set_retry_seconds(int seconds) {} in set_retry_seconds() argument
/system/security/keystore2/src/
Did_rotation.rs141 let mtime = TimeVal::seconds(0); in test_existing_timestamp()
142 let atime = TimeVal::seconds(0); in test_existing_timestamp()
165 let mtime = TimeVal::seconds((ID_ROTATION_PERIOD.as_secs() * 10).try_into().unwrap()); in test_existing_timestamp()
166 let atime = TimeVal::seconds((ID_ROTATION_PERIOD.as_secs() * 10).try_into().unwrap()); in test_existing_timestamp()
/system/core/fs_mgr/tests/
Dfile_wait_test.cpp57 std::this_thread::sleep_for(std::chrono::seconds(1)); in TEST_F()
66 std::this_thread::sleep_for(std::chrono::seconds(1)); in TEST_F()
81 std::this_thread::sleep_for(std::chrono::seconds(1)); in TEST_F()
/system/apex/apexd/
Dapexd_lifecycle.cpp49 std::chrono::seconds(10))) { in WaitForBootStatus()
69 std::this_thread::sleep_for(std::chrono::seconds(1)); in WaitForBootStatus()
/system/chre/util/include/chre/util/
Dtime_impl.h24 constexpr Seconds::Seconds(uint64_t seconds) : mSeconds(seconds) {} in Seconds() argument
108 constexpr Nanoseconds::Nanoseconds(Seconds seconds) in Nanoseconds() argument
109 : mNanoseconds(seconds.toRawNanoseconds()) {} in Nanoseconds()
Dtime.h57 constexpr explicit Seconds(uint64_t seconds);
193 constexpr Nanoseconds(Seconds seconds);
/system/chre/apps/nearby/third_party/contexthub/chre/util/include/chre/util/
Dtime_impl.h24 constexpr Seconds::Seconds(uint64_t seconds) : mSeconds(seconds) {} in Seconds() argument
108 constexpr Nanoseconds::Nanoseconds(Seconds seconds) in Nanoseconds() argument
109 : mNanoseconds(seconds.toRawNanoseconds()) {} in Nanoseconds()
Dtime.h57 constexpr explicit Seconds(uint64_t seconds);
193 constexpr Nanoseconds(Seconds seconds);
/system/update_engine/
Dlibcurl_http_fetcher.h124 void set_idle_seconds(int seconds) override { idle_seconds_ = seconds; } in set_idle_seconds() argument
127 void set_retry_seconds(int seconds) override { retry_seconds_ = seconds; } in set_retry_seconds() argument
/system/memory/libmemunreachable/
DScopedAlarm.h36 std::chrono::seconds s = std::chrono::duration_cast<std::chrono::seconds>(us); in ScopedAlarm()
/system/core/llkd/include/
Dllkd.h81 …TIMEOUT_MS_MINIMUM std::chrono::duration_cast<std::chrono::milliseconds>(std::chrono::seconds(10))
82 …_CHECK_MS_MINIMUM std::chrono::duration_cast<std::chrono::milliseconds>(std::chrono::seconds(1))
/system/core/init/
Dservice.h135 std::chrono::seconds restart_period() const { in restart_period()
144 std::optional<std::chrono::seconds> timeout_period() const { return timeout_period_; } in timeout_period()
235 const std::chrono::seconds default_restart_period_ = 5s;
236 std::chrono::seconds restart_period_ = default_restart_period_;
237 std::optional<std::chrono::seconds> timeout_period_;
/system/extras/simpleperf/
Dcpu_hotplug_test.cpp42 static auto test_duration_for_long_tests = std::chrono::seconds(120);
246 auto report_step = std::chrono::seconds(15); in TEST()
252 auto diff = std::chrono::duration_cast<std::chrono::seconds>( in TEST()
303 auto report_step = std::chrono::seconds(15); in TEST()
309 auto diff = std::chrono::duration_cast<std::chrono::seconds>( in TEST()
388 auto report_step = std::chrono::seconds(15); in TEST()
393 auto diff = std::chrono::duration_cast<std::chrono::seconds>( in TEST()
483 test_duration_for_long_tests = std::chrono::seconds(second_count); in main()
/system/memory/libmemunreachable/tests/
DDisableMalloc_test.cpp34 std::chrono::seconds s = std::chrono::duration_cast<std::chrono::seconds>(us); in alarm()
/system/core/storaged/include/
Dstoraged_info.h66 day_start_tp -= chrono::seconds(duration_cast<chrono::seconds>( in storage_info_t()
/system/core/debuggerd/client/
Ddebuggerd_client.cpp78 auto seconds = std::chrono::duration_cast<std::chrono::seconds>(duration); in populate_timeval() local
79 auto microseconds = std::chrono::duration_cast<std::chrono::microseconds>(duration - seconds); in populate_timeval()
80 tv->tv_sec = static_cast<long>(seconds.count()); in populate_timeval()

12345