Home
last modified time | relevance | path

Searched refs:time_since_epoch (Results 1 – 25 of 32) sorted by relevance

12

/system/libbase/
Dchrono_utils_test.cpp37 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/logging/logd/
DLogReaderList.cpp26 if (entry->deadline().time_since_epoch().count() != 0) { in NotifyNewLog()
DLogReaderThread.cpp57 if (deadline_.time_since_epoch().count() != 0) { in ThreadFunction()
100 if (deadline_.time_since_epoch().count() == 0) { in ThreadFunction()
DSerializedLogBuffer.cpp194 if (reader_thread->deadline().time_since_epoch().count() != 0) { in Prune()
239 if (reader_thread->deadline().time_since_epoch().count() != 0) { in UidClear()
DSimpleLogBuffer.cpp284 reader_thread->deadline().time_since_epoch().count() != 0)) { in Prune()
348 } else if (reader->deadline().time_since_epoch().count() != 0) { in KickReader()
DLogReader.cpp211 (int)pid, start.nsec(), static_cast<int64_t>(deadline.time_since_epoch().count())); in onDataAvailable()
/system/testing/gtest_extras/
DNanoTime.cpp27 std::chrono::nanoseconds duration(std::chrono::steady_clock::now().time_since_epoch()); in NanoTime()
/system/bt/test/headless/connect/
Dconnect.cc97 std::chrono::system_clock::now().time_since_epoch()) in do_connect()
109 std::chrono::system_clock::now().time_since_epoch()) in do_connect()
/system/bt/gd/btaa/linux_generic/
Dwakelock_processor.cc53 if (wakelock_acquired_time_.time_since_epoch().count()) { in OnWakelockAcquired()
/system/bt/gd/os/
Dlog.h77 …_buf + l, sizeof(_buf) - l, ".%03u", static_cast<unsigned int>(_now_ms.time_since_epoch().count() …
/system/bt/common/
Dstop_watch_legacy.cc71 now.time_since_epoch()) % in DumpStopWatchLog()
/system/core/storaged/include/
Dstoraged_info.h67 day_start_tp.time_since_epoch()).count() % DAY_TO_SEC); in storage_info_t()
/system/bt/gd/common/
Dstop_watch.cc71 now.time_since_epoch()) % in DumpStopWatchLog()
Dstrings.h130 auto millis = time_point.time_since_epoch() / std::chrono::milliseconds(1) % 1000;
Dcircular_buffer.h55 …rono::duration_cast<std::chrono::milliseconds>(std::chrono::system_clock::now().time_since_epoch()) in GetTimestamp()
/system/core/bootstat/
Dboot_event_record_store.cpp62 android::base::boot_clock::now().time_since_epoch()); in AddBootEvent()
Dboot_event_record_store_test.cpp97 android::base::boot_clock::now().time_since_epoch()) in GetUptimeSeconds()
/system/core/storaged/
Dstoraged_info.cpp128 duration_cast<chrono::seconds>(day_start_tp.time_since_epoch()).count()); in refresh()
176 tp.time_since_epoch()).count() % DAY_TO_SEC); in update_perf_history()
/system/update_engine/aosp/
Dcleanup_previous_update_action.cc186 android::base::boot_clock::now().time_since_epoch()); in WaitBootCompletedOrSchedule()
408 android::base::boot_clock::now().time_since_epoch()); in InitiateMergeAndWait()
/system/core/init/
Dbootchart.cpp57 return uptime.time_since_epoch().count() / kNanosecondsPerJiffy; in get_uptime_jiffies()
Dfirst_stage_init.cpp369 setenv(kEnvFirstStageStartedAt, std::to_string(start_time.time_since_epoch().count()).c_str(), in FirstStageMain()
/system/bt/vendor_libs/test_vendor_lib/model/devices/
Dscripted_beacon.cc102 event->set_secs_since_epoch(system_clock::now().time_since_epoch().count()); in populate_event()
/system/security/keystore2/src/
Denforcements.rs714 let time_since_epoch = match duration_since_epoch { in is_given_time_passed() localVariable
720 time_since_epoch >= (given_time as u128) in is_given_time_passed()
722 time_since_epoch > (given_time as u128) in is_given_time_passed()
/system/core/libstats/push_compat/
DStatsEventCompat.cpp41 .time_since_epoch() in elapsedRealtimeNano()
/system/bt/gd/hal/
Dsnoop_logger.cc252 …rono::duration_cast<std::chrono::microseconds>(std::chrono::system_clock::now().time_since_epoch()) in Capture()

12