Home
last modified time | relevance | path

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

1234

/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.cpp84 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/
Dcert_self_test.py107 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),
Devent_asserts.py59 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/
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/chre/platform/slpi/
Dsystem_time_util.cc28 uint64_t seconds = (ticks / kClockFreq); in getNanosecondsFromQTimerTicks() local
31 nsec = (seconds * kOneSecondInNanoseconds); in getNanosecondsFromQTimerTicks()
/system/bt/gd/l2cap/internal/
Dparameter_provider.h34 return std::chrono::seconds(20); in GetClassicLinkIdleDisconnectTimeout()
37 return std::chrono::seconds(20); in GetLeLinkIdleDisconnectTimeout()
/system/update_engine/common/
Dmulti_range_http_fetcher.h91 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()
Dhttp_fetcher.h114 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/
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/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()
126 seconds khtTimeout = duration_cast<seconds>( in llkdSleepPeriod()
149 auto sec = duration_cast<seconds>(timeout); in llkdSleepPeriod()
/system/bt/gd/l2cap/classic/internal/
Dfixed_channel_impl_test.cc43 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/
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/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.h54 constexpr explicit Seconds(uint64_t seconds);
190 constexpr Nanoseconds(Seconds seconds);
/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/memory/libmemunreachable/
DScopedAlarm.h37 std::chrono::seconds s = std::chrono::duration_cast<std::chrono::seconds>(us); in ScopedAlarm()
/system/extras/simpleperf/
Dcpu_hotplug_test.cpp40 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/
Dstack_manager.cc44 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/
Dservice.h127 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/
DDisableMalloc_test.cpp32 std::chrono::seconds s = std::chrono::duration_cast<std::chrono::seconds>(us); in alarm()
/system/bt/stack/test/
Dstack_btu_test.cc40 void wait(int seconds, base::Closure callback) { in wait() argument
43 timeout.tv_sec += seconds; in wait()
/system/core/storaged/include/
Dstoraged_info.h66 day_start_tp -= chrono::seconds(duration_cast<chrono::seconds>( in storage_info_t()
/system/vold/
DIdleMaint.cpp221 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()

1234