Home
last modified time | relevance | path

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

123

/system/netd/libnetdutils/include/netdutils/
DStopwatch.h40 const auto& now = clock::now(); in getTimeAndReset() local
46 const auto& now = clock::now(); in getTimeAndResetUs() local
55 float getElapsed(const time_point& now) const { in getElapsed()
59 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::__anon72f30ba80111::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/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/core/base/
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/core/healthd/
Dhealthd_mode_charger.cpp289 static void update_screen_state(charger* charger, int64_t now) { in update_screen_state()
422 int64_t now = curr_time_ms(); in set_key_callback() local
460 static void process_key(charger* charger, int code, int64_t now) { in process_key()
508 static void handle_input_state(charger* charger, int64_t now) { in handle_input_state()
515 static void handle_power_supply_state(charger* charger, int64_t now) { in handle_power_supply_state()
559 int64_t now = curr_time_ms(); in healthd_mode_charger_heartbeat() local
588 int64_t now = curr_time_ms(); in healthd_mode_charger_preparetowait() local
/system/core/fastboot/
Dutil.cpp40 double now() { in now() function
/system/bt/vendor_libs/test_vendor_lib/model/devices/
Ddevice.h40 : time_stamp_(std::chrono::steady_clock::now()), properties_(properties_filename) {} in time_stamp_()
Ddevice.cc51 std::chrono::steady_clock::time_point now = std::chrono::steady_clock::now(); in IsAdvertisementAvailable() local
/system/core/logd/
DFlushCommand.cpp58 log_time now(CLOCK_REALTIME); in runSocketCommand() local
DLogKlog.cpp278 time_t now = real.tv_sec; in calculateCorrection() local
296 log_time now(log_time::EPOCH); in sniffTime() local
454 log_time now = sniffTime(cp, len - (cp - buf), true); in synchronize() local
550 log_time now = sniffTime(p, len - (p - buf), false); in log() local
/system/netd/resolv/
DDnsTlsDispatcher.cpp150 auto now = std::chrono::steady_clock::now(); in query() local
162 void DnsTlsDispatcher::cleanup(std::chrono::time_point<std::chrono::steady_clock> now) { in cleanup()
Dres_stats.cpp36 void _res_stats_set_sample(res_sample* sample, time_t now, int rcode, int rtt) { in _res_stats_set_sample()
130 time_t now = time(NULL); in res_stats_usable_server() local
/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.cpp216 nsecs_t now = systemTime(SYSTEM_TIME_MONOTONIC); in pollInner() local
305 nsecs_t now = systemTime(SYSTEM_TIME_MONOTONIC); in pollInner() local
384 nsecs_t now = systemTime(SYSTEM_TIME_MONOTONIC); in pollAll() local
574 nsecs_t now = systemTime(SYSTEM_TIME_MONOTONIC); in sendMessage() local
580 nsecs_t now = systemTime(SYSTEM_TIME_MONOTONIC); in sendMessageDelayed() local
/system/netd/server/
DTcpSocketMonitor.cpp109 const auto now = steady_clock::now(); in dump() local
204 const auto now = steady_clock::now(); in poll() local
277 void TcpSocketMonitor::updateSocketStats(time_point now, Fwmark mark, in updateSocketStats()
/system/update_engine/
Dmetrics_utils.cc291 Time now = system_state->clock()->GetWallclockTime(); in WallclockDurationHelper() local
317 Time now = system_state->clock()->GetMonotonicTime(); in MonotonicDurationHelper() local
/system/core/liblog/
Dlog_time.cpp32 time_t now; in strptime() local
/system/extras/tests/framebuffer/
Drefresh.c158 int64_t now = systemTime(); in main() local

123