Home
last modified time | relevance | path

Searched defs:now (Results 1 – 25 of 79) sorted by relevance

1234

/system/netd/libnetdutils/include/netdutils/
DStopwatch.h36 const auto& now = clock::now(); in getTimeAndResetUs() local
45 int64_t getElapsedUs(const time_point& now) const { in getElapsedUs()
/system/update_engine/update_manager/
Dreal_time_provider_unittest.cc64 const Time now = CurrTime(); in TEST_F() local
79 const Time now = CurrTime(); in TEST_F() local
88 const Time now = CurrTime(); in TEST_F() local
Dupdate_time_restrictions_policy_impl.cc55 WeeklyTime now = WeeklyTime::FromTime(*curr_date); in UpdateCanBeApplied() local
/system/security/keystore/tests/
Dconfirmationui_rate_limiting_test.cpp68 static time_point now() noexcept { return sNow; } in now() function in keystore::test::__anon362dafdf0111::FakeClock
79 auto now = std::chrono::steady_clock::now(); in TEST() local
93 auto now = std::chrono::steady_clock::now(); in TEST() local
220 auto now = std::chrono::steady_clock::now(); in TEST() local
/system/core/healthd/
Dhealthd_mode_charger.cpp283 void Charger::UpdateScreenState(int64_t now) { in UpdateScreenState()
418 int64_t now = curr_time_ms(); in SetKeyCallback() local
455 void Charger::ProcessKey(int code, int64_t now) { in ProcessKey()
503 void Charger::HandleInputState(int64_t now) { in HandleInputState()
509 void Charger::HandlePowerSupplyState(int64_t now) { in HandlePowerSupplyState()
556 int64_t now = curr_time_ms(); in Heartbeat() local
583 int64_t now = curr_time_ms(); in PrepareToWait() local
/system/security/keystore/
Dkeystore_keymaster_enforcement.h42 time_t now = time(nullptr); in activation_date_valid() local
60 time_t now = time(nullptr); in expiration_date_passed() local
Dconfirmationui_rate_limiting.h88 auto now = Clock::now(); in tryPrompt() local
/system/libbase/
Dchrono_utils_test.cpp32 struct timespec now; in GetBootTimeSeconds() local
42 auto now = GetBootTimeSeconds(); in TEST() local
Dchrono_utils.cpp24 boot_clock::time_point boot_clock::now() { in now() function in android::base::boot_clock
/system/bt/vendor_libs/test_vendor_lib/model/devices/
Ddevice.h41 : last_advertisement_(std::chrono::steady_clock::now()), properties_(properties_filename) {} in last_advertisement_()
/system/bt/btif/src/
Dbtif_bqr.cc73 const auto now = system_clock::to_time_t(system_clock::now()); in ParseBqrLinkQualityEvt() local
79 const auto now = system_clock::to_time_t(system_clock::now()); in WriteLmpLlTraceLogFile() local
101 const auto now = system_clock::to_time_t(system_clock::now()); in WriteBtSchedulingTraceLogFile() local
/system/core/liblog/
Dlog_time.cpp26 time_t now; in strptime() local
/system/core/fastboot/
Dutil.cpp40 double now() { in now() function
/system/extras/libperfmgr/
DRequestGroup.cc45 ReqTime now = std::chrono::steady_clock::now(); in GetExpireTime() local
DNodeLooperThread.cc49 auto now = std::chrono::steady_clock::now(); in Request() local
/system/vold/model/
DEmulatedVolume.cpp115 nsecs_t now = systemTime(SYSTEM_TIME_BOOTTIME); in doMount() local
DPublicVolume.cpp212 nsecs_t now = systemTime(SYSTEM_TIME_BOOTTIME); in doMount() local
/system/core/libutils/
DLooper.cpp218 nsecs_t now = systemTime(SYSTEM_TIME_MONOTONIC); in pollInner() local
307 nsecs_t now = systemTime(SYSTEM_TIME_MONOTONIC); in pollInner() local
386 nsecs_t now = systemTime(SYSTEM_TIME_MONOTONIC); in pollAll() local
576 nsecs_t now = systemTime(SYSTEM_TIME_MONOTONIC); in sendMessage() local
582 nsecs_t now = systemTime(SYSTEM_TIME_MONOTONIC); in sendMessageDelayed() local
/system/netd/server/
DTcpSocketMonitor.cpp110 const auto now = steady_clock::now(); in dump() local
205 const auto now = steady_clock::now(); in poll() local
278 void TcpSocketMonitor::updateSocketStats(time_point now, Fwmark mark, in updateSocketStats()
/system/core/fs_mgr/
Dfile_wait.cpp49 auto now = std::chrono::steady_clock::now(); in PollForFile() local
63 auto now = std::chrono::steady_clock::now(); in PollForFileDeleted() local
/system/update_engine/
Dmetrics_utils.cc299 Time now = system_state->clock()->GetWallclockTime(); in WallclockDurationHelper() local
325 Time now = system_state->clock()->GetMonotonicTime(); in MonotonicDurationHelper() local
/system/core/fs_mgr/libdm/
Dutility.cpp39 auto now = std::chrono::steady_clock::now(); in WaitForCondition() local
/system/extras/tests/framebuffer/
Drefresh.c158 int64_t now = systemTime(); in main() local
/system/extras/profcollectd/libprofcollectd/
Dsimpleperf_etm_provider.cpp36 auto now = std::time(nullptr); in GetTimestamp() local
/system/bt/vendor_libs/test_vendor_lib/model/controller/
Dle_advertiser.cc100 LeAdvertiser::GetAdvertisement(std::chrono::steady_clock::time_point now) { in GetAdvertisement()

1234