/system/chre/util/include/chre/util/ |
D | time_impl.h | 49 constexpr Milliseconds::Milliseconds(Nanoseconds nanoseconds) in Milliseconds() argument 50 : mMilliseconds(nanoseconds.toRawNanoseconds() / in Milliseconds() 82 constexpr Microseconds::Microseconds(Nanoseconds nanoseconds) in Microseconds() argument 83 : mMicroseconds(nanoseconds.toRawNanoseconds() / in Microseconds() 105 constexpr Nanoseconds::Nanoseconds(uint64_t nanoseconds) in Nanoseconds() argument 106 : mNanoseconds(nanoseconds) {} in Nanoseconds()
|
D | time.h | 93 constexpr Milliseconds(Nanoseconds nanoseconds); 142 constexpr Microseconds(Nanoseconds nanoseconds); 185 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/chre/chpp/test/ |
D | clients_test.cpp | 280 std::this_thread::sleep_for(std::chrono::nanoseconds(timeout1 / 2)); in TEST_F() 288 std::chrono::nanoseconds(timeout1 + time1 - chppGetCurrentTimeNs())); in TEST_F() 293 std::chrono::nanoseconds(timeout2 + time2 - chppGetCurrentTimeNs())); in TEST_F() 324 std::this_thread::sleep_for(std::chrono::nanoseconds(timeout1)); in TEST_F() 344 std::this_thread::sleep_for(std::chrono::nanoseconds(timeout2)); in TEST_F()
|
/system/libbase/ |
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 | 157 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/libbase/include/android-base/ |
D | chrono_utils.h | 32 typedef std::chrono::nanoseconds duration;
|
/system/hardware/interfaces/suspend/1.0/default/ |
D | SystemSuspend.cpp | 43 std::chrono::nanoseconds suspendOverhead; 44 std::chrono::nanoseconds suspendTime; 115 return {std::chrono::duration_cast<std::chrono::nanoseconds>( in readSuspendTime() 117 std::chrono::duration_cast<std::chrono::nanoseconds>( in readSuspendTime()
|
D | WakeLockEntryList.cpp | 115 std::chrono::nanoseconds{monotime.tv_nsec}) in getTimeNow()
|
/system/libfmq/include/fmq/ |
D | EventFlag.h | 146 inline void addNanosecondsToCurrentTime(int64_t nanoseconds, struct timespec* timeAbs);
|
/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 | 245 chrono::duration_cast<chrono::nanoseconds>(end - start).count()); in worker_fx() 377 / (chrono::duration_cast < chrono::nanoseconds in main()
|
/system/core/init/ |
D | util.h | 56 int wait_for_file(const char *filename, std::chrono::nanoseconds timeout);
|
/system/bt/gd/os/ |
D | alarm_benchmark.cc | 96 …auto duration = std::chrono::duration_cast<std::chrono::nanoseconds>(end_time_point - start_time_p… in BENCHMARK_DEFINE_F()
|
/system/core/libstats/push_compat/ |
D | StatsEventCompat.cpp | 40 return std::chrono::time_point_cast<std::chrono::nanoseconds>(boot_clock::now()) in elapsedRealtimeNano()
|
/system/vold/ |
D | Utils.h | 180 status_t WaitForFile(const char* filename, std::chrono::nanoseconds timeout);
|
/system/core/storaged/ |
D | storaged.cpp | 275 benchmark_time_ns += duration_cast<nanoseconds>(end - start).count(); in flush_proto_data()
|
/system/apex/apexd/ |
D | apexd_utils.h | 208 const std::string& path, std::chrono::nanoseconds timeout) { in WaitForFile()
|
/system/core/llkd/ |
D | libllkd.cpp | 282 nanoseconds schedUpdate; // /proc/<tid>/sched "se.avg.lastUpdateTime", 433 duration_cast<milliseconds>(nanoseconds(to->tv_nsec - from->tv_nsec)); in llkGetTimespecDiffMs() 884 auto schedUpdate = nanoseconds(val); in llkCheckSchedUpdate()
|
/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/core/bootstat/ |
D | bootstat.cpp | 1268 std::chrono::nanoseconds GetBootTimeOffset() { in GetBootTimeOffset() 1271 return std::chrono::nanoseconds(boottime_offset); in GetBootTimeOffset()
|