Home
last modified time | relevance | path

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

/aosp14/system/core/libutils/include/utils/
H A 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 …]
/aosp14/system/core/init/
H A Dservice.cpp346 int secs = GetIntProperty("persist.device_config.memory_safety_native.upgrade_secs.default", in Reap() local
348 secs = GetIntProperty( in Reap()
349 "persist.device_config.memory_safety_native.upgrade_secs.service." + name_, secs); in Reap()
350 if (secs > 0) { in Reap()
351 LOG(INFO) << "Upgrading service " << name_ << " to sync MTE for " << secs << " seconds"; in Reap()
352 once_environment_vars_.emplace_back("BIONIC_MEMTAG_UPGRADE_SECS", std::to_string(secs)); in Reap()
/aosp14/system/core/libnetutils/
H A Ddhcpmsg.h44 uint16_t secs; /* seconds since start of acq */ member
H A Ddhcpclient.c272 ntohl(msg->xid), ntohs(msg->secs), ntohs(msg->flags), len); in dump_dhcp_msg()
/aosp14/system/core/healthd/
H A 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()
/aosp14/system/core/rootdir/
H A Dinit.rc1135 # F2FS tuning. Set cp_interval larger than dirty_expire_centisecs, 30 secs,