Home
last modified time | relevance | path

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

/packages/modules/DnsResolver/
Dutil.cpp53 const auto time_sec = std::chrono::system_clock::to_time_t(ts); in timestampToString() local
55 std::strftime(buf, sizeof(buf), "%H:%M:%S", std::localtime(&time_sec)); in timestampToString()
/packages/modules/Connectivity/staticlibs/netd/libnetdutils/
DLog.cpp44 const auto time_sec = system_clock::to_time_t(now); in makeTimestampedEntry() local
45 tsEntry << std::put_time(std::localtime(&time_sec), "%m-%d %H:%M:%S.") << std::setw(3) in makeTimestampedEntry()
47 << duration_cast<milliseconds>(now - system_clock::from_time_t(time_sec)).count() << " " in makeTimestampedEntry()
/packages/modules/Bluetooth/system/bta/dm/
Dbta_dm_gatt_client.cc38 time_t time_sec = time_ms / MillisPerSecond; in EpochMillisToString() local
40 localtime_r(&time_sec, &tm); in EpochMillisToString()
Dbta_dm_device_search.cc817 time_t time_sec = time_ms / MillisPerSecond; in EpochMillisToString() local
819 localtime_r(&time_sec, &tm); in EpochMillisToString()
Dbta_dm_disc.cc796 time_t time_sec = time_ms / MillisPerSecond; in EpochMillisToString() local
798 localtime_r(&time_sec, &tm); in EpochMillisToString()
Dbta_dm_disc_legacy.cc2051 time_t time_sec = time_ms / MillisPerSecond; in EpochMillisToString() local
2053 localtime_r(&time_sec, &tm); in EpochMillisToString()
/packages/modules/Bluetooth/system/main/shim/
Dacl.cc154 time_t time_sec = time_ms / MillisPerSecond; in EpochMillisToString() local
156 localtime_r(&time_sec, &tm); in EpochMillisToString()