Home
last modified time | relevance | path

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

/system/core/bootstat/
Dbootstat.cpp1287 time_t current_time_utc = time(nullptr); in RecordBootComplete() local
1292 time_since_last_boot = difftime(current_time_utc, last_boot_time_utc); in RecordBootComplete()
1296 boot_event_store.AddBootEventWithValue("last_boot_time_utc", current_time_utc); in RecordBootComplete()
1388 time_t current_time_utc = time(nullptr); in RecordFactoryReset() local
1390 if (current_time_utc < 0) { in RecordFactoryReset()
1397 static_cast<int32_t>(std::abs(current_time_utc))); in RecordFactoryReset()
1402 std::abs(current_time_utc)); in RecordFactoryReset()
1409 static_cast<int64_t>(current_time_utc)); in RecordFactoryReset()
1413 boot_event_store.AddBootEventWithValue("factory_reset_current_time", current_time_utc); in RecordFactoryReset()
1419 boot_event_store.AddBootEventWithValue("factory_reset", current_time_utc); in RecordFactoryReset()
[all …]