Home
last modified time | relevance | path

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

123

/system/netd/include/
DStopwatch.h33 const auto& now = clock::now(); in getTimeAndReset() local
44 float getElapsed(const time_point& now) const { in getElapsed()
/system/security/keystore/
Dkeystore_keymaster_enforcement.h42 time_t now = time(NULL); in activation_date_valid() local
60 time_t now = time(NULL); in expiration_date_passed() local
/system/update_engine/update_manager/
Dreal_time_provider_unittest.cc62 const Time now = CurrTime(); in TEST_F() local
76 const Time now = CurrTime(); in TEST_F() local
/system/update_engine/
Dmetrics_utils.cc273 Time now = system_state->clock()->GetWallclockTime(); in WallclockDurationHelper() local
299 Time now = system_state->clock()->GetMonotonicTime(); in MonotonicDurationHelper() local
Dpayload_state.cc1005 Time now = system_state_->clock()->GetWallclockTime(); in LoadUpdateTimestampStart() local
1121 Time now = system_state_->clock()->GetMonotonicTime(); in SetUpdateDurationUptime() local
1126 Time now = system_state_->clock()->GetMonotonicTime(); in CalculateUpdateDurationUptime() local
1413 Time now = system_state_->clock()->GetWallclockTime(); in P2PAttemptAllowed() local
Dupdate_attempter.cc188 Time now = system_state_->clock()->GetWallclockTime(); in UpdateAttempter() local
235 Time now = system_state_->clock()->GetWallclockTime(); in UpdateAttempter() local
/system/core/healthd/
Dhealthd_mode_charger.cpp275 static void update_screen_state(charger* charger, int64_t now) { in update_screen_state()
383 int64_t now = curr_time_ms(); in set_key_callback() local
421 static void process_key(charger* charger, int code, int64_t now) { in process_key()
468 static void handle_input_state(charger* charger, int64_t now) { in handle_input_state()
475 static void handle_power_supply_state(charger* charger, int64_t now) { in handle_power_supply_state()
506 int64_t now = curr_time_ms(); in healthd_mode_charger_heartbeat() local
534 int64_t now = curr_time_ms(); in healthd_mode_charger_preparetowait() 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
Dproperties.cpp116 auto now = std::chrono::steady_clock::now(); in UpdateTimeSpec() local
/system/core/liblog/
Dlog_ratelimit.cpp76 time_t now = time(NULL); in __android_log_ratelimit() local
Dlog_time.cpp32 time_t now; in strptime() local
/system/core/fastboot/
Dutil.cpp38 double now() in now() function
/system/core/libutils/
DLooper.cpp221 nsecs_t now = systemTime(SYSTEM_TIME_MONOTONIC); in pollInner() local
310 nsecs_t now = systemTime(SYSTEM_TIME_MONOTONIC); in pollInner() local
389 nsecs_t now = systemTime(SYSTEM_TIME_MONOTONIC); in pollAll() local
579 nsecs_t now = systemTime(SYSTEM_TIME_MONOTONIC); in sendMessage() local
585 nsecs_t now = systemTime(SYSTEM_TIME_MONOTONIC); in sendMessageDelayed() local
/system/core/logd/
DFlushCommand.cpp66 log_time now(CLOCK_REALTIME); in runSocketCommand() local
DLogKlog.cpp279 time_t now = real.tv_sec; in calculateCorrection() local
296 void LogKlog::sniffTime(log_time& now, const char*& buf, ssize_t len, in sniffTime()
454 log_time now; in synchronize() local
555 log_time now; in log() local
DLogAudit.cpp246 log_time now; in logPrint() local
/system/extras/tests/framebuffer/
Drefresh.c159 int64_t now = systemTime(); in main() local
/system/extras/tests/icachetest/
Dicache_main.cpp107 auto now = std::chrono::steady_clock::now(); in main() local
/system/core/adb/
Dadb_trace.cpp52 struct tm now; in get_log_file_name() local
/system/core/init/
Duevent_listener.cpp194 auto now = steady_clock::now(); in Poll() local
Dbootchart.cpp68 struct tm now = *localtime(&now_t); in log_header() local
/system/core/libutils/tests/
DLooper_test.cpp561 nsecs_t now = systemTime(SYSTEM_TIME_MONOTONIC); in TEST_F() local
598 nsecs_t now = systemTime(SYSTEM_TIME_MONOTONIC); in TEST_F() local
617 nsecs_t now = systemTime(SYSTEM_TIME_MONOTONIC); in TEST_F() local
/system/keymaster/
Dkey_blob_test.cpp293 time_t now = time(NULL); in TEST_F() local
/system/bt/btif/src/
Dbtif_hf.cc273 struct timespec now, conn_time_delta; in btif_hf_latest_connected_idx() local
1488 struct timespec now; in btif_hf_call_terminated_recently() local

123