Home
last modified time | relevance | path

Searched refs:time_point (Results 1 – 25 of 63) sorted by relevance

123

/system/bt/common/
Dstop_watch_legacy.h26 std::chrono::system_clock::time_point timestamp;
27 std::chrono::high_resolution_clock::time_point start_timestamp;
28 std::chrono::high_resolution_clock::time_point end_timestamp;
40 std::chrono::system_clock::time_point timestamp_;
41 std::chrono::high_resolution_clock::time_point start_timestamp_;
/system/bt/gd/common/
Dstop_watch.h26 std::chrono::system_clock::time_point timestamp;
27 std::chrono::high_resolution_clock::time_point start_timestamp;
28 std::chrono::high_resolution_clock::time_point end_timestamp;
40 std::chrono::system_clock::time_point timestamp_;
41 std::chrono::high_resolution_clock::time_point start_timestamp_;
Dstrings.h127 std::chrono::time_point<std::chrono::system_clock> time_point,
129 std::time_t epoch_time = std::chrono::system_clock::to_time_t(time_point);
130 auto millis = time_point.time_since_epoch() / std::chrono::milliseconds(1) % 1000;
Dstrings_test.cc231 …std::chrono::time_point<std::chrono::system_clock> time_point = std::chrono::system_clock::from_ti… in TEST() local
233 …ASSERT_THAT(StringFormatTimeWithMilliseconds(format, time_point, gmtime), StrEq("1970-01-01 00:00:… in TEST()
239 …std::chrono::time_point<std::chrono::system_clock> time_point1 = std::chrono::system_clock::from_t… in TEST()
241 …std::chrono::time_point<std::chrono::system_clock> time_point2 = std::chrono::system_clock::from_t… in TEST()
/system/libbase/include/android-base/
Dchrono_utils.h33 typedef std::chrono::time_point<boot_clock, duration> time_point; typedef
35 static time_point now();
47 boot_clock::time_point start_;
/system/netd/libnetdutils/include/netdutils/
DStopwatch.h28 using time_point = std::chrono::time_point<clock>; variable
43 time_point mStart;
45 int64_t getElapsedUs(const time_point& now) const { in getElapsedUs()
/system/netd/server/
DTcpSocketMonitor.h42 using time_point = std::chrono::time_point<std::chrono::steady_clock>;
70 time_point lastUpdate;
89 void updateSocketStats(time_point now, Fwmark mark, const struct inet_diag_msg *sockinfo,
102 time_point mLastPoll GUARDED_BY(mLock);
/system/libbase/
Dchrono_utils.cpp24 boot_clock::time_point boot_clock::now() { in now()
28 return boot_clock::time_point(std::chrono::seconds(ts.tv_sec) + in now()
32 return boot_clock::time_point(); in now()
Dchrono_utils_test.cpp35 auto now_tp = boot_clock::time_point(std::chrono::seconds(now.tv_sec) + in GetBootTimeSeconds()
/system/libfmq/benchmarks/
Dmsgq_benchmark_client.cpp127 std::chrono::time_point<std::chrono::high_resolution_clock> timeStart = in TEST_F()
138 std::chrono::time_point<std::chrono::high_resolution_clock> timeEnd = in TEST_F()
161 std::chrono::time_point<std::chrono::high_resolution_clock> timeStart = in TEST_F()
171 std::chrono::time_point<std::chrono::high_resolution_clock> timeEnd = in TEST_F()
195 std::chrono::time_point<std::chrono::high_resolution_clock> timeStart = in TEST_F()
205 std::chrono::time_point<std::chrono::high_resolution_clock> timeEnd = in TEST_F()
228 std::chrono::time_point<std::chrono::high_resolution_clock> timeStart = in TEST_F()
238 std::chrono::time_point<std::chrono::high_resolution_clock> timeEnd = in TEST_F()
260 std::chrono::time_point<std::chrono::high_resolution_clock> timeStart = in TEST_F()
269 std::chrono::time_point<std::chrono::high_resolution_clock> timeEnd = in TEST_F()
[all …]
/system/bt/common/test/
Dthread_performance_test.cc122 std::chrono::steady_clock::time_point start_time = in TEST_F()
132 std::chrono::steady_clock::time_point end_time = in TEST_F()
167 std::chrono::steady_clock::time_point start_time = in TEST_F()
177 std::chrono::steady_clock::time_point end_time = in TEST_F()
213 std::chrono::steady_clock::time_point start_time = in TEST_F()
223 std::chrono::steady_clock::time_point end_time = in TEST_F()
256 std::chrono::steady_clock::time_point start_time = in TEST_F()
264 std::chrono::steady_clock::time_point end_time = in TEST_F()
304 std::chrono::steady_clock::time_point start_time = in TEST_F()
314 std::chrono::steady_clock::time_point end_time = in TEST_F()
[all …]
/system/bt/vendor_libs/test_vendor_lib/model/controller/
Dle_advertiser.h54 std::chrono::steady_clock::time_point);
81 std::chrono::steady_clock::time_point ending_time_{};
83 std::chrono::steady_clock::time_point last_le_advertisement_;
/system/logging/logd/
DLogReaderThread.h43 std::chrono::steady_clock::time_point deadline);
65 std::chrono::steady_clock::time_point deadline() const REQUIRES(logd_lock) { return deadline_; } in deadline()
109 std::chrono::steady_clock::time_point deadline_ GUARDED_BY(logd_lock);
/system/bt/vendor_libs/test_vendor_lib/model/devices/
Dscripted_beacon.h63 std::chrono::steady_clock::time_point ad_time;
77 std::chrono::steady_clock::time_point next_check_time_{};
Dscripted_beacon.cc74 bool has_time_elapsed(steady_clock::time_point time_point) { in has_time_elapsed() argument
75 return steady_clock::now() > time_point; in has_time_elapsed()
Ddevice.h91 std::chrono::steady_clock::time_point last_advertisement_;
/system/bt/gd/btaa/
Dwakelock_processor.h33 std::chrono::time_point<std::chrono::system_clock> wakelock_acquired_time_;
Dactivity_attribution.h28 using CreationTime = std::chrono::time_point<std::chrono::system_clock>;
/system/security/keystore/tests/
Dconfirmationui_rate_limiting_test.cpp64 static time_point sNow;
67 static void setNow(time_point newNow) { sNow = newNow; } in setNow()
68 static time_point now() noexcept { return sNow; } in now()
71 FakeClock::time_point FakeClock::sNow;
/system/core/storaged/include/
Dstoraged_info.h52 time_point<system_clock> day_start_tp;
80 const time_point<system_clock>& tp);
/system/core/init/
Dservice.h110 android::base::boot_clock::time_point time_started() const { return time_started_; } in time_started()
156 android::base::boot_clock::time_point time_started_; // time of last start
157 android::base::boot_clock::time_point time_crashed_; // first crash within inspection window
/system/teeui/libteeui/include/secure_input/
Devdev.h103 Timer(std::chrono::steady_clock::time_point _next, in Timer()
108 std::chrono::steady_clock::time_point next;
/system/bt/vendor_libs/test_vendor_lib/model/setup/
Dasync_manager.cc336 Task(std::chrono::steady_clock::time_point time, in Task()
345 Task(std::chrono::steady_clock::time_point time, in Task()
364 std::chrono::steady_clock::time_point time;
471 std::chrono::steady_clock::time_point time = in ThreadRoutine()
/system/core/fastboot/fuzzy_fastboot/
Dtransport_sniffer.h66 std::chrono::high_resolution_clock::time_point start;
/system/extras/zram-perf/
Dzram-perf.cpp84 chrono::time_point<chrono::high_resolution_clock> start, end; in benchSequentialRead()
105 chrono::time_point<chrono::high_resolution_clock> start, end; in benchSequentialWrite()

123