/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 | 84 day_start_tp += chrono::seconds(perf_history.day_start_sec()); in load_perf_history_proto() 128 duration_cast<chrono::seconds>(day_start_tp.time_since_epoch()).count()); in refresh() 156 duration_cast<chrono::seconds>(tp - day_start_tp).count() < DAY_TO_SEC) { in update_perf_history() 175 day_start_tp = tp - chrono::seconds(duration_cast<chrono::seconds>( in update_perf_history()
|
/system/bt/gd/cert/ |
D | cert_self_test.py | 107 event_asserts.assert_none(timeout=timedelta(seconds=1.0)) 114 event_asserts.assert_none(timeout=timedelta(seconds=1)) 125 lambda data: data.value_ == 4, timeout=timedelta(seconds=0.15)) 132 lambda data: data.value_ == 4, timeout=timedelta(seconds=1)) 140 lambda data: data.value_ == 2, timeout=timedelta(seconds=1)) 161 lambda data: data.value_ == 1, timeout=timedelta(seconds=1)) 169 lambda data: data.value_ == 4, timeout=timedelta(seconds=1)) 181 timeout=timedelta(seconds=1), 192 timeout=timedelta(seconds=1),
|
D | event_asserts.py | 59 def assert_none(self, timeout=timedelta(seconds=DEFAULT_TIMEOUT_SECONDS)): 77 self, match_fn, timeout=timedelta(seconds=DEFAULT_TIMEOUT_SECONDS)): 111 timeout=timedelta(seconds=DEFAULT_TIMEOUT_SECONDS)): 147 timeout=timedelta(seconds=DEFAULT_TIMEOUT_SECONDS)):
|
/system/core/base/ |
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/chre/platform/slpi/ |
D | system_time_util.cc | 28 uint64_t seconds = (ticks / kClockFreq); in getNanosecondsFromQTimerTicks() local 31 nsec = (seconds * kOneSecondInNanoseconds); in getNanosecondsFromQTimerTicks()
|
/system/bt/gd/l2cap/internal/ |
D | parameter_provider.h | 34 return std::chrono::seconds(20); in GetClassicLinkIdleDisconnectTimeout() 37 return std::chrono::seconds(20); in GetLeLinkIdleDisconnectTimeout()
|
/system/update_engine/common/ |
D | multi_range_http_fetcher.h | 91 void set_idle_seconds(int seconds) override { in set_idle_seconds() argument 92 base_fetcher_->set_idle_seconds(seconds); in set_idle_seconds() 94 void set_retry_seconds(int seconds) override { in set_retry_seconds() argument 95 base_fetcher_->set_retry_seconds(seconds); in set_retry_seconds()
|
D | http_fetcher.h | 114 virtual void set_idle_seconds(int seconds) {} in set_idle_seconds() argument 115 virtual void set_retry_seconds(int seconds) {} in set_retry_seconds() argument
|
/system/update_engine/ |
D | libcurl_http_fetcher.h | 79 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/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() 126 seconds khtTimeout = duration_cast<seconds>( in llkdSleepPeriod() 149 auto sec = duration_cast<seconds>(timeout); in llkdSleepPeriod()
|
/system/bt/gd/l2cap/classic/internal/ |
D | fixed_channel_impl_test.cc | 43 future.wait_for(std::chrono::seconds(1)); in SyncHandler() 65 .WillRepeatedly(Return(std::chrono::seconds(5))); in TEST_F() 83 .WillRepeatedly(Return(std::chrono::seconds(5))); in TEST_F() 113 .WillRepeatedly(Return(std::chrono::seconds(5))); in TEST_F() 144 .WillRepeatedly(Return(std::chrono::seconds(5))); in TEST_F() 178 .WillRepeatedly(Return(std::chrono::seconds(5))); in TEST_F() 208 .WillRepeatedly(Return(std::chrono::seconds(5))); in TEST_F() 227 .WillRepeatedly(Return(std::chrono::seconds(5))); in TEST_F() 245 .WillRepeatedly(Return(std::chrono::seconds(5))); in TEST_F() 247 .WillRepeatedly(Return(std::chrono::seconds(5))); in TEST_F() [all …]
|
/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/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 | 54 constexpr explicit Seconds(uint64_t seconds); 190 constexpr Nanoseconds(Seconds seconds);
|
/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/memory/libmemunreachable/ |
D | ScopedAlarm.h | 37 std::chrono::seconds s = std::chrono::duration_cast<std::chrono::seconds>(us); in ScopedAlarm()
|
/system/extras/simpleperf/ |
D | cpu_hotplug_test.cpp | 40 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() 481 test_duration_for_long_tests = std::chrono::seconds(second_count); in main()
|
/system/bt/gd/ |
D | stack_manager.cc | 44 auto init_status = future.wait_for(std::chrono::seconds(3)); in StartUp() 60 auto stop_status = future.wait_for(std::chrono::seconds(3)); in ShutDown()
|
/system/core/init/ |
D | service.h | 127 std::chrono::seconds restart_period() const { return restart_period_; } in restart_period() 128 std::optional<std::chrono::seconds> timeout_period() const { return timeout_period_; } in timeout_period() 197 std::chrono::seconds restart_period_ = 5s; 198 std::optional<std::chrono::seconds> timeout_period_;
|
/system/memory/libmemunreachable/tests/ |
D | DisableMalloc_test.cpp | 32 std::chrono::seconds s = std::chrono::duration_cast<std::chrono::seconds>(us); in alarm()
|
/system/bt/stack/test/ |
D | stack_btu_test.cc | 40 void wait(int seconds, base::Closure callback) { in wait() argument 43 timeout.tv_sec += seconds; in wait()
|
/system/core/storaged/include/ |
D | storaged_info.h | 66 day_start_tp -= chrono::seconds(duration_cast<chrono::seconds>( in storage_info_t()
|
/system/vold/ |
D | IdleMaint.cpp | 221 if (timer.duration() >= std::chrono::seconds(GC_TIMEOUT_SEC)) { in waitForGc() 293 if (timer.duration() >= std::chrono::seconds(DEVGC_TIMEOUT_SEC)) { in runDevGcFstab() 316 void wait(uint64_t seconds) { in wait() argument 318 mCv.wait_for(lock, std::chrono::seconds(seconds), [this] { return mFinished; }); in wait()
|