Home
last modified time | relevance | path

Searched refs:secs (Results 1 – 18 of 18) 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/bt/embdrv/sbc/decoder/include/
Doi_bt_spec.h203 #define OI_SECONDS_TO_BT_TICKS(secs) ((secs)*1600) argument
/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/bt/btif/src/
Dbtif_debug_conn.cc41 const time_t secs = ms / 1000; in format_ts() local
42 struct tm* ptm = localtime(&secs); in format_ts()
/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.h235 constexpr Nanoseconds operator+(const Seconds &secs, const Nanoseconds &nanos);
/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/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/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/update_engine/common/
Dutils.cc718 string FormatSecs(unsigned secs) { in FormatSecs() argument
719 return FormatTimeDelta(TimeDelta::FromSeconds(secs)); in FormatSecs()
738 unsigned secs = delta.InSeconds(); in FormatTimeDelta() local
739 delta -= TimeDelta::FromSeconds(secs); in FormatTimeDelta()
748 base::StringAppendF(&str, "%u", secs); in FormatTimeDelta()
Dutils.h259 std::string FormatSecs(unsigned secs);
/system/core/healthd/
Dhealthd_mode_charger.cpp444 int64_t secs = duration / 1000; in SetKeyCallback() local
445 int64_t msecs = duration - secs * 1000; in SetKeyCallback()
447 secs, msecs); in SetKeyCallback()
/system/sepolicy/prebuilts/api/29.0/public/
Dproperty_contexts9 audio.offload.min.duration.secs u:object_r:exported3_default_prop:s0 exact int
/system/sepolicy/prebuilts/api/30.0/public/
Dproperty_contexts9 audio.offload.min.duration.secs u:object_r:exported3_default_prop:s0 exact int
/system/core/rootdir/
Dinit.rc1023 # F2FS tuning. Set cp_interval larger than dirty_expire_centisecs, 30 secs,
/system/sepolicy/private/
Dproperty_contexts321 audio.offload.min.duration.secs u:object_r:audio_config_prop:s0 exact int
/system/sepolicy/prebuilts/api/31.0/private/
Dproperty_contexts321 audio.offload.min.duration.secs u:object_r:audio_config_prop:s0 exact int