Home
last modified time | relevance | path

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

/system/core/libutils/include/utils/
DTimers.h34 static CONSTEXPR inline nsecs_t seconds_to_nanoseconds(nsecs_t secs) in seconds_to_nanoseconds() argument
36 return secs*1000000000; in seconds_to_nanoseconds()
39 static CONSTEXPR inline nsecs_t milliseconds_to_nanoseconds(nsecs_t secs) in milliseconds_to_nanoseconds() argument
41 return secs*1000000; in milliseconds_to_nanoseconds()
44 static CONSTEXPR inline nsecs_t microseconds_to_nanoseconds(nsecs_t secs) in microseconds_to_nanoseconds() argument
46 return secs*1000; in microseconds_to_nanoseconds()
49 static CONSTEXPR inline nsecs_t nanoseconds_to_seconds(nsecs_t secs) in nanoseconds_to_seconds() argument
51 return secs/1000000000; in nanoseconds_to_seconds()
54 static CONSTEXPR inline nsecs_t nanoseconds_to_milliseconds(nsecs_t secs) in nanoseconds_to_milliseconds() argument
56 return secs/1000000; in nanoseconds_to_milliseconds()
[all …]
/system/netd/server/
DProcess.cpp69 const auto secs = std::chrono::duration_cast<std::chrono::seconds>(duration); in formatDuration() local
70 duration -= secs; in formatDuration()
77 days, hrs.count(), mins.count(), secs.count(), duration.count()); in formatDuration()
/system/chre/apps/nearby/third_party/contexthub/chre/util/include/chre/util/
Dtime_impl.h129 constexpr Nanoseconds operator+(const Seconds &secs, const Nanoseconds &nanos) {
130 return Nanoseconds(secs.toRawNanoseconds() + nanos.toRawNanoseconds());
Dtime.h238 constexpr Nanoseconds operator+(const Seconds &secs, const Nanoseconds &nanos);
/system/chre/util/include/chre/util/
Dtime_impl.h129 constexpr Nanoseconds operator+(const Seconds &secs, const Nanoseconds &nanos) {
130 return Nanoseconds(secs.toRawNanoseconds() + nanos.toRawNanoseconds());
Dtime.h238 constexpr Nanoseconds operator+(const Seconds &secs, const Nanoseconds &nanos);
/system/extras/ANRdaemon/
DREADME22 from some other process to the daemon. Then sometime later (say 20 secs later),
27 whole 20secs (because from systrace's view, the two 20 sec apart sched trace
/system/core/libnetutils/
Ddhcpmsg.h44 uint16_t secs; /* seconds since start of acq */ member
Ddhcpclient.c272 ntohl(msg->xid), ntohs(msg->secs), ntohs(msg->flags), len); in dump_dhcp_msg()
/system/core/init/
Dservice.cpp341 int secs = GetIntProperty("persist.device_config.memory_safety_native.upgrade_secs.default", in Reap() local
343 secs = GetIntProperty( in Reap()
344 "persist.device_config.memory_safety_native.upgrade_secs.service." + name_, secs); in Reap()
345 if (secs > 0) { in Reap()
346 LOG(INFO) << "Upgrading service " << name_ << " to sync MTE for " << secs << " seconds"; in Reap()
347 once_environment_vars_.emplace_back("BIONIC_MEMTAG_UPGRADE_SECS", std::to_string(secs)); in Reap()
/system/extras/boottime_tools/bootanalyze/
Dbugreport_anayze.py185 secs = usecs / 1000000
186 usecs = usecs - 1000000 * secs
187 dt = datetime(2017, mm, dd, hh, min, secs, usecs)
/system/extras/profcollectd/
DREADME.md66 …2/8211650:userdebug/dev-keys","collection_interval":{"secs":60,"nanos":0},"sampling_period":{"secs
/system/core/healthd/
Dhealthd_mode_charger.cpp447 int64_t secs = duration / 1000; in SetKeyCallback() local
448 int64_t msecs = duration - secs * 1000; in SetKeyCallback()
450 secs, msecs); in SetKeyCallback()
/system/update_engine/common/
Dutils.cc870 string FormatSecs(unsigned secs) { in FormatSecs() argument
871 return FormatTimeDelta(TimeDelta::FromSeconds(secs)); in FormatSecs()
890 unsigned secs = delta.InSeconds(); in FormatTimeDelta() local
891 delta -= TimeDelta::FromSeconds(secs); in FormatTimeDelta()
900 base::StringAppendF(&str, "%u", secs); in FormatTimeDelta()
Dutils.h288 std::string FormatSecs(unsigned secs);
/system/keymint/ta/src/
Doperation.rs135 KeyParam::AuthTimeout(secs) => { in new()
137 timeout_secs = Some(*secs) in new()
/system/extras/simpleperf/doc/
Dscripts_reference.md333 ./ipc.py 2 20 # Set interval to 2 secs and total duration to 20 secs
/system/core/rootdir/
Dinit.rc1140 # F2FS tuning. Set cp_interval larger than dirty_expire_centisecs, 30 secs,
/system/sepolicy/private/
Dproperty_contexts409 audio.offload.min.duration.secs u:object_r:audio_config_prop:s0 exact int