/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/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()
|
/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(1); in GetLeLinkIdleDisconnectTimeout()
|
/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() 82 .WillRepeatedly(Return(std::chrono::seconds(5))); in TEST_F() 111 .WillRepeatedly(Return(std::chrono::seconds(5))); in TEST_F() 141 .WillRepeatedly(Return(std::chrono::seconds(5))); in TEST_F() 174 .WillRepeatedly(Return(std::chrono::seconds(5))); in TEST_F() 203 .WillRepeatedly(Return(std::chrono::seconds(5))); in TEST_F() 221 .WillRepeatedly(Return(std::chrono::seconds(5))); in TEST_F() 238 .WillRepeatedly(Return(std::chrono::seconds(5))); in TEST_F() 240 .WillRepeatedly(Return(std::chrono::seconds(5))); in TEST_F() [all …]
|
/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()
|
/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/cert/ |
D | l2cap_performance_test.py | 49 L2capMatchers.Data(b'a' * mtu), at_least_times=packets, timeout=timedelta(seconds=60)) 57 def _basic_mode_tx_fixed_interval(self, mtu, interval=timedelta(seconds=10), batch_size=20): 86 … L2capMatchers.PacketPayloadRawData(data), at_least_times=packets, timeout=timedelta(seconds=60)) 151 assertThat(duration).isWithin(timedelta(seconds=2)) 155 assertThat(duration).isWithin(timedelta(seconds=2)) 159 assertThat(duration).isWithin(timedelta(seconds=5))
|
/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/update_engine/ |
D | libcurl_http_fetcher.h | 125 void set_idle_seconds(int seconds) override { idle_seconds_ = seconds; } in set_idle_seconds() argument 128 void set_retry_seconds(int seconds) override { retry_seconds_ = seconds; } in set_retry_seconds() argument
|
/system/bt/gd/cert/ |
D | event_stream.py | 163 …def assert_event_occurs(self, match_fn, at_least_times=1, timeout=timedelta(seconds=DEFAULT_TIMEOU… 176 …def assert_event_occurs_at_most(self, match_fn, at_most_times, timeout=timedelta(seconds=DEFAULT_T… 215 timeout=timedelta(seconds=DEFAULT_TIMEOUT_SECONDS)): 238 timeout=timedelta(seconds=DEFAULT_TIMEOUT_SECONDS)): 269 def NOT_FOR_YOU_assert_none_matching(istream, match_fn, timeout=timedelta(seconds=DEFAULT_TIMEOUT_S… 288 def NOT_FOR_YOU_assert_none(istream, timeout=timedelta(seconds=DEFAULT_TIMEOUT_SECONDS)):
|
D | cert_self_test_lib.py | 140 … event_stream.assert_event_occurs(lambda data: data.value_ == 1, timeout=timedelta(seconds=1)) 146 … event_stream.assert_event_occurs(lambda data: data.value_ == 4, timeout=timedelta(seconds=1)) 156 lambda data: data.value_ < 4, timeout=timedelta(seconds=1), at_most_times=3) 163 lambda data: data.value_ > 1, timeout=timedelta(seconds=1), at_most_times=2) 328 lambda data: data.value_ == 4, timeout=timedelta(seconds=0.15)).thenNone( 329 lambda data: data.value_ == 5, timeout=timedelta(seconds=0.15)) 334 … assertThat(event_stream).emitsNone(lambda data: data.value_ == 4, timeout=timedelta(seconds=1)) 340 … assertThat(event_stream).emitsNone(lambda data: data.value_ == 2, timeout=timedelta(seconds=1)) 355 assertThat(event_stream).emitsNone(timeout=timedelta(seconds=1.0)) 361 assertThat(event_stream).emitsNone(timeout=timedelta(seconds=1))
|
/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/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() 201 std::chrono::seconds restart_period_ = 5s; 202 std::optional<std::chrono::seconds> timeout_period_;
|
/system/bt/gd/neighbor/cert/ |
D | neighbor_test.py | 63 …at(session).emits(NeighborMatchers.InquiryResult(self.cert_address), timeout=timedelta(seconds=10)) 74 … NeighborMatchers.InquiryResultwithRssi(self.cert_address), timeout=timedelta(seconds=10)) 93 … NeighborMatchers.ExtendedInquiryResult(self.cert_address), timeout=timedelta(seconds=10))
|
/system/memory/libmemunreachable/tests/ |
D | DisableMalloc_test.cpp | 32 std::chrono::seconds s = std::chrono::duration_cast<std::chrono::seconds>(us); in alarm()
|
/system/security/keystore2/src/ |
D | id_rotation.rs | 109 let mtime = TimeVal::seconds(mtime.as_secs().try_into().unwrap()); in test_had_factory_reset_since_id_rotation() 113 let atime = TimeVal::seconds(atime.as_secs().try_into().unwrap()); in test_had_factory_reset_since_id_rotation()
|
/system/bt/gd/ |
D | stack_manager.cc | 51 auto init_status = future.wait_for(std::chrono::seconds(3)); in StartUp() 79 auto stop_status = future.wait_for(std::chrono::seconds(5)); in ShutDown()
|
/system/bpf/libbpf_android/include/ |
D | libbpf_android.h | 40 if (android::base::WaitForProperty("bpf.progs_loaded", "1", std::chrono::seconds(delay))) in waitForProgsLoaded()
|
/system/core/debuggerd/client/ |
D | debuggerd_client.cpp | 67 auto seconds = std::chrono::duration_cast<std::chrono::seconds>(duration); in populate_timeval() local 68 auto microseconds = std::chrono::duration_cast<std::chrono::microseconds>(duration - seconds); in populate_timeval() 69 tv->tv_sec = static_cast<long>(seconds.count()); in populate_timeval()
|