Home
last modified time | relevance | path

Searched refs:current_time_utc (Results 1 – 1 of 1) sorted by relevance

/system/core/bootstat/
Dbootstat.cpp1317 time_t current_time_utc = time(nullptr); in RecordBootComplete() local
1322 time_since_last_boot = difftime(current_time_utc, last_boot_time_utc); in RecordBootComplete()
1326 boot_event_store.AddBootEventWithValue("last_boot_time_utc", current_time_utc); in RecordBootComplete()
1420 time_t current_time_utc = time(nullptr); in RecordFactoryReset() local
1422 if (current_time_utc < 0) { in RecordFactoryReset()
1429 static_cast<int32_t>(std::abs(current_time_utc))); in RecordFactoryReset()
1434 std::abs(current_time_utc)); in RecordFactoryReset()
1441 static_cast<int64_t>(current_time_utc)); in RecordFactoryReset()
1445 boot_event_store.AddBootEventWithValue("factory_reset_current_time", current_time_utc); in RecordFactoryReset()
1451 boot_event_store.AddBootEventWithValue("factory_reset", current_time_utc); in RecordFactoryReset()
[all …]