/system/core/liblog/ |
H A D | log_ratelimit.cpp | 28 // seconds argument, so we will also hold on to the maximum value 31 // of varying the 'seconds' argument to their pleasure. 41 // seconds, otherwise we will take the maximum ever issued and hold 45 LIBLOG_ABI_PUBLIC int __android_log_ratelimit(time_t seconds, time_t* last) { argument 59 if (seconds == 0) { 60 seconds = last_seconds_default; 61 } else if (seconds < last_seconds_min) { 62 seconds = last_seconds_min; 63 } else if (seconds > last_seconds_max) { 64 seconds [all...] |
/system/extras/perfprofd/ |
H A D | perfprofdutils.h | 30 extern void perfprofd_sleep(int seconds);
|
H A D | perfprofdutils.cc | 51 void perfprofd_sleep(int seconds) argument 53 sleep(seconds);
|
/system/core/adb/sysdeps/ |
H A D | chrono.h | 29 constexpr std::chrono::seconds operator"" s(unsigned long long s) { 30 return std::chrono::seconds(s);
|
/system/core/base/ |
H A D | chrono_utils.cpp | 28 return boot_clock::time_point(std::chrono::seconds(ts.tv_sec) +
|
H A D | chrono_utils_test.cpp | 31 std::chrono::seconds GetBootTimeSeconds() { 35 auto now_tp = boot_clock::time_point(std::chrono::seconds(now.tv_sec) + 37 return std::chrono::duration_cast<std::chrono::seconds>(now_tp.time_since_epoch()); 40 // Tests (at least) the seconds accuracy of the boot_clock::now() method. 44 std::chrono::duration_cast<std::chrono::seconds>(boot_clock::now().time_since_epoch());
|
/system/chre/util/include/chre/util/ |
H A D | time_impl.h | 24 constexpr Seconds::Seconds(uint64_t seconds) argument 25 : mSeconds(seconds) {} 86 constexpr Nanoseconds::Nanoseconds(Seconds seconds) argument 87 : mNanoseconds(seconds.toRawNanoseconds()) {}
|
H A D | time.h | 44 constexpr explicit Seconds(uint64_t seconds); 47 * Converts the underlying seconds to a raw uint64_t representation of 50 * @return the value of seconds converted to nanoseconds 156 * Converts a seconds value to nanoseconds. 158 constexpr Nanoseconds(Seconds seconds); 197 * Add seconds to nanoseconds. 199 * @param seconds the seconds duration
|
/system/update_engine/common/ |
H A D | multi_range_http_fetcher.h | 93 void set_idle_seconds(int seconds) override { 94 base_fetcher_->set_idle_seconds(seconds); 96 void set_retry_seconds(int seconds) override { 97 base_fetcher_->set_retry_seconds(seconds);
|
H A D | http_fetcher.h | 115 virtual void set_idle_seconds(int seconds) {} argument 116 virtual void set_retry_seconds(int seconds) {} argument 120 // |low_speed_sec| seconds.
|
/system/chre/platform/slpi/ |
H A D | system_time.cc | 70 uint64_t seconds = (ticks / kClockFreq); local 73 nsec = (seconds * kOneSecondInNanoseconds);
|
/system/core/libmemunreachable/ |
H A D | ScopedAlarm.h | 37 std::chrono::seconds s = std::chrono::duration_cast<std::chrono::seconds>(us);
|
/system/core/include/log/ |
H A D | log.h | 204 * if last is NULL, caller _must_ provide a consistent value for seconds. 209 int __android_log_ratelimit(time_t seconds, time_t* last); 219 * // local state, 10 seconds ratelimit 227 #define IF_ALOG_RATELIMIT_LOCAL(seconds, state) \ 228 if (__android_log_ratelimit(seconds, state) > 0)
|
/system/core/liblog/include/log/ |
H A D | log.h | 204 * if last is NULL, caller _must_ provide a consistent value for seconds. 209 int __android_log_ratelimit(time_t seconds, time_t* last); 219 * // local state, 10 seconds ratelimit 227 #define IF_ALOG_RATELIMIT_LOCAL(seconds, state) \ 228 if (__android_log_ratelimit(seconds, state) > 0)
|
/system/bt/embdrv/sbc/decoder/include/ |
H A D | oi_time.h | 29 * Timeouts are specified as tenths of seconds in a 32-bit value. Timeout values 30 * specified by the Bluetooth specification are usually muliple seconds, so 33 * This file also contains macros to convert between seconds and the Link 53 * seconds. 64 * Macro to convert seconds to OI_INTERVAL time units 92 int32_t seconds; member in struct:__anon710 124 * seconds. 167 * Convert seconds to the Link Manager 1.28-second units 175 * Convert Link Manager 1.28-second units to seconds.
|
/system/update_engine/ |
H A D | libcurl_http_fetcher.h | 77 // (more than a few seconds perhaps) before you call 79 void set_idle_seconds(int seconds) override { idle_seconds_ = seconds; } 82 void set_retry_seconds(int seconds) override { retry_seconds_ = seconds; }
|
/system/bt/stack/test/ |
H A D | stack_btu_test.cc | 40 void wait(int seconds, base::Closure callback) { argument 43 timeout.tv_sec += seconds;
|
/system/core/libmemunreachable/tests/ |
H A D | DisableMalloc_test.cpp | 32 std::chrono::seconds s = std::chrono::duration_cast<std::chrono::seconds>(us);
|
/system/extras/perfprofd/tests/ |
H A D | perfprofdmockutils.cc | 101 void perfprofd_sleep(int seconds) argument 103 perfprofd_log_info("sleep %d seconds", seconds);
|
/system/extras/simpleperf/ |
H A D | cpu_hotplug_test.cpp | 40 static auto test_duration_for_long_tests = std::chrono::seconds(120); 249 auto report_step = std::chrono::seconds(15); 255 auto diff = std::chrono::duration_cast<std::chrono::seconds>( 305 auto report_step = std::chrono::seconds(15); 311 auto diff = std::chrono::duration_cast<std::chrono::seconds>( 389 auto report_step = std::chrono::seconds(15); 394 auto diff = std::chrono::duration_cast<std::chrono::seconds>( 478 test_duration_for_long_tests = std::chrono::seconds(second_count);
|
/system/core/debuggerd/client/ |
H A D | debuggerd_client.cpp | 59 auto seconds = std::chrono::duration_cast<std::chrono::seconds>(duration); local 60 auto microseconds = std::chrono::duration_cast<std::chrono::microseconds>(duration - seconds); 61 tv->tv_sec = static_cast<long>(seconds.count());
|
/system/core/bootstat/ |
H A D | bootstat.cpp | 294 std::chrono::duration_cast<std::chrono::seconds>(bootloader_duration + uptime); 305 auto uptime = std::chrono::duration_cast<std::chrono::seconds>(time_since_epoch); 335 std::chrono::seconds boot_complete = std::chrono::seconds(uptime.count() - record.second);
|
/system/core/include/utils/ |
H A D | Timers.h | 36 typedef int64_t nsecs_t; // nano-seconds 75 static CONSTEXPR inline nsecs_t seconds(nsecs_t v) { return s2ns(v); } function
|
/system/core/liblog/tests/ |
H A D | log_wrap_test.cpp | 117 EXPECT_GT(timer.duration(), std::chrono::seconds(40));
|
/system/core/libutils/include/utils/ |
H A D | Timers.h | 36 typedef int64_t nsecs_t; // nano-seconds 75 static CONSTEXPR inline nsecs_t seconds(nsecs_t v) { return s2ns(v); } function
|