/system/chre/util/include/chre/util/ |
D | time_impl.h | 49 constexpr Milliseconds::Milliseconds(Nanoseconds nanoseconds) in Milliseconds() argument 51 nanoseconds.toRawNanoseconds() / kOneMillisecondInNanoseconds) {} in Milliseconds() 80 constexpr Microseconds::Microseconds(Nanoseconds nanoseconds) in Microseconds() argument 82 nanoseconds.toRawNanoseconds() / kOneMicrosecondInNanoseconds) {} in Microseconds() 103 constexpr Nanoseconds::Nanoseconds(uint64_t nanoseconds) in Nanoseconds() argument 104 : mNanoseconds(nanoseconds) {} in Nanoseconds()
|
D | time.h | 92 constexpr Milliseconds(Nanoseconds nanoseconds); 141 constexpr Microseconds(Nanoseconds nanoseconds); 184 constexpr explicit Nanoseconds(uint64_t nanoseconds);
|
/system/netd/libnetdutils/ |
D | BackoffSequenceTest.cpp | 171 auto backoff = BackoffSequence<std::chrono::nanoseconds>::Builder() in TEST() 172 .withInitialRetransmissionTime(std::chrono::nanoseconds(7)) in TEST() 173 .withMaximumRetransmissionTime(std::chrono::nanoseconds(3)) in TEST() 174 .withMaximumRetransmissionDuration(std::chrono::nanoseconds(5)) in TEST() 177 EXPECT_EQ(std::chrono::nanoseconds(3), backoff.getNextTimeout()); in TEST() 178 EXPECT_EQ(std::chrono::nanoseconds(2), backoff.getNextTimeout()); in TEST()
|
/system/testing/gtest_extras/ |
D | NanoTime.cpp | 27 std::chrono::nanoseconds duration(std::chrono::steady_clock::now().time_since_epoch()); in NanoTime()
|
/system/core/base/ |
D | chrono_utils.cpp | 29 std::chrono::nanoseconds(ts.tv_nsec)); in now()
|
D | chrono_utils_test.cpp | 36 std::chrono::nanoseconds(now.tv_nsec)); in GetBootTimeSeconds()
|
D | properties.cpp | 127 auto ns = std::chrono::duration_cast<std::chrono::nanoseconds>(d - s); in DurationToTimeSpec()
|
/system/chre/platform/linux/include/chre/target_platform/ |
D | condition_variable_impl.h | 38 mutex, std::chrono::nanoseconds(timeout.toRawNanoseconds())); in wait_for()
|
/system/core/base/include/android-base/ |
D | chrono_utils.h | 32 typedef std::chrono::nanoseconds duration;
|
/system/libfmq/include/fmq/ |
D | EventFlag.h | 146 inline void addNanosecondsToCurrentTime(int64_t nanoseconds, struct timespec* timeAbs);
|
/system/core/init/ |
D | util.h | 50 int wait_for_file(const char *filename, std::chrono::nanoseconds timeout);
|
D | util.cpp | 227 int wait_for_file(const char* filename, std::chrono::nanoseconds timeout) { in wait_for_file()
|
/system/core/libcutils/ |
D | sched_policy_test.cpp | 50 std::this_thread::sleep_for(std::chrono::nanoseconds(1)); in medianSleepTime()
|
/system/libhwbinder/vts/performance/ |
D | PerfTest.h | 153 return uint64_t(std::chrono::duration_cast<std::chrono::nanoseconds>(end - sta).count()); in tickDiffNS()
|
D | Benchmark_throughput.cpp | 244 chrono::duration_cast<chrono::nanoseconds>(end - start).count()); in worker_fx() 376 / (chrono::duration_cast < chrono::nanoseconds in main()
|
/system/core/libmetricslogger/ |
D | metrics_logger.cpp | 40 return std::chrono::duration_cast<std::chrono::nanoseconds>( in getElapsedTimeNanoSinceBoot()
|
/system/bt/gd/os/ |
D | alarm_benchmark.cc | 89 …auto duration = std::chrono::duration_cast<std::chrono::nanoseconds>(end_time_point - start_time_p… in BENCHMARK_DEFINE_F()
|
/system/apex/apexd/ |
D | apexd_utils.h | 189 std::chrono::nanoseconds timeout) { in WaitForFile()
|
/system/vold/ |
D | Utils.h | 145 status_t WaitForFile(const char* filename, std::chrono::nanoseconds timeout);
|
D | Utils.cpp | 928 status_t WaitForFile(const char* filename, std::chrono::nanoseconds timeout) { in WaitForFile()
|
/system/core/storaged/ |
D | storaged.cpp | 272 benchmark_time_ns += duration_cast<nanoseconds>(end - start).count(); in flush_proto_data()
|
/system/core/llkd/ |
D | libllkd.cpp | 281 nanoseconds schedUpdate; // /proc/<tid>/sched "se.avg.lastUpdateTime", 426 duration_cast<milliseconds>(nanoseconds(to->tv_nsec - from->tv_nsec)); in llkGetTimespecDiffMs() 876 auto schedUpdate = nanoseconds(val); in llkCheckSchedUpdate()
|
/system/core/bootstat/ |
D | bootstat.cpp | 1116 std::chrono::nanoseconds GetBootTimeOffset() { in GetBootTimeOffset() 1119 return std::chrono::nanoseconds(boottime_offset); in GetBootTimeOffset()
|
/system/libfmq/benchmarks/ |
D | msgq_benchmark_client.cpp | 140 accumulatedTime += static_cast<int64_t>(std::chrono::duration_cast<std::chrono::nanoseconds>( in TEST_F()
|
/system/chre/platform/shared/idl/ |
D | host_messages.fbs | 180 /// uint64_t, little-endian - timestamp in nanoseconds
|