Home
last modified time | relevance | path

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

/system/timezone/input_tools/android/tzlookup_generator/src/main/java/com/android/libcore/timezone/tzlookup/
DUtils.java77 long hours = TimeUnit.MILLISECONDS.toHours(offsetMillis); in toUtcOffsetString() local
78 … long minutes = TimeUnit.MILLISECONDS.toMinutes(offsetMillis - TimeUnit.HOURS.toMillis(hours)); in toUtcOffsetString()
80 return (negative ? "-" : "") + formatter.format(hours) + ":" + formatter.format(minutes); in toUtcOffsetString()
/system/netd/libnetdutils/
DBackoffSequenceTest.cpp158 auto backoff = BackoffSequence<std::chrono::hours>::Builder() in TEST()
159 .withInitialRetransmissionTime(std::chrono::hours(5)) in TEST()
160 .withMaximumRetransmissionDuration(std::chrono::hours(5)) in TEST()
163 EXPECT_EQ(std::chrono::hours(5), backoff.getNextTimeout()); in TEST()
/system/core/storaged/include/
Dstoraged.h125 double hours, uint64_t threshold, bool force_report) { in get_uid_records() argument
126 return mUidm.dump(hours, threshold, force_report); in get_uid_records()
Dstoraged_uid_monitor.h120 double hours, uint64_t threshold, bool force_report);
/system/netd/server/
DProcess.cpp65 auto hrs = std::chrono::duration_cast<std::chrono::hours>(duration); in formatDuration()
74 hrs -= std::chrono::hours(days * 24); in formatDuration()
/system/core/storaged/
Dstoraged_service.cpp105 double hours = 0; in dump() local
115 if(!ParseDouble(String8(args[i]).c_str(), &hours)) in dump()
145 storaged_sp->get_uid_records(hours, threshold, force_report); in dump()
Dstoraged_uid_monitor.cpp259 double hours, uint64_t threshold, bool force_report) in dump() argument
270 if (hours != 0) { in dump()
271 first_ts = time(NULL) - hours * HOUR_TO_SEC; in dump()
/system/update_engine/common/
Dutils.cc734 unsigned hours = delta.InHours(); in FormatTimeDelta() local
735 delta -= TimeDelta::FromHours(hours); in FormatTimeDelta()
744 if (days || hours) in FormatTimeDelta()
745 base::StringAppendF(&str, "%uh", hours); in FormatTimeDelta()
746 if (days || hours || mins) in FormatTimeDelta()
/system/core/fs_mgr/tests/
Dadb-remount-test.sh252 local hours=`expr ${duration} / 3600`
253 if [ 0 -eq ${minutes} -a 0 -eq ${hours} ]; then
263 elif [ 0 -eq ${seconds} -a 0 -eq ${hours} ]; then
267 if [ 0 -eq ${hours} ]; then
271 …echo ${hours}:`expr ${minutes} / 10``expr ${minutes} % 10`:`expr ${seconds} / 10``expr ${seconds} …
/system/core/storaged/tests/
Dstoraged_test.cpp386 tp += hours(5); in TEST()
430 stp += hours(36); in TEST()
/system/update_engine/
DREADME.md9 partitions with newer updates and may take several minutes or hours, A/B updates
/system/bt/gd/hci/
Dhci_packets.pdl3375 rpa_timeout : 16, // RPA_Timeout measured in seconds 0x0001 to 0xA1B8 1s to 11.5 hours