/system/core/storaged/ |
D | README.properties | 1 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
|
D | storaged_info.cpp | 83 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/ |
D | chrono_utils_test.cpp | 31 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()
|
D | chrono_utils.cpp | 28 return boot_clock::time_point(std::chrono::seconds(ts.tv_sec) + in now()
|
/system/logging/liblog/tests/ |
D | test_utils.h | 21 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/ |
D | pal_wifi.h | 46 std::chrono::seconds seconds);
|
/system/chre/platform/slpi/ |
D | system_time_util.cc | 38 uint64_t seconds = (ticks / kClockFreq); in getNanosecondsFromQTimerTicks() local 41 nsec = (seconds * kOneSecondInNanoseconds); in getNanosecondsFromQTimerTicks()
|
/system/core/llkd/tests/ |
D | llkd_test.cpp | 46 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/ |
D | multi_range_http_fetcher.h | 96 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()
|
D | http_fetcher.h | 125 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/ |
D | id_rotation.rs | 141 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/ |
D | file_wait_test.cpp | 57 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/ |
D | apexd_lifecycle.cpp | 49 std::chrono::seconds(10))) { in WaitForBootStatus() 69 std::this_thread::sleep_for(std::chrono::seconds(1)); in WaitForBootStatus()
|
/system/chre/util/include/chre/util/ |
D | time_impl.h | 24 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()
|
D | time.h | 57 constexpr explicit Seconds(uint64_t seconds); 193 constexpr Nanoseconds(Seconds seconds);
|
/system/chre/apps/nearby/third_party/contexthub/chre/util/include/chre/util/ |
D | time_impl.h | 24 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()
|
D | time.h | 57 constexpr explicit Seconds(uint64_t seconds); 193 constexpr Nanoseconds(Seconds seconds);
|
/system/update_engine/ |
D | libcurl_http_fetcher.h | 124 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/ |
D | ScopedAlarm.h | 36 std::chrono::seconds s = std::chrono::duration_cast<std::chrono::seconds>(us); in ScopedAlarm()
|
/system/core/llkd/include/ |
D | llkd.h | 81 …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/ |
D | service.h | 135 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/ |
D | cpu_hotplug_test.cpp | 42 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/ |
D | DisableMalloc_test.cpp | 34 std::chrono::seconds s = std::chrono::duration_cast<std::chrono::seconds>(us); in alarm()
|
/system/core/storaged/include/ |
D | storaged_info.h | 66 day_start_tp -= chrono::seconds(duration_cast<chrono::seconds>( in storage_info_t()
|
/system/core/debuggerd/client/ |
D | debuggerd_client.cpp | 78 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()
|