Home
last modified time | relevance | path

Searched refs:secs (Results 1 – 21 of 21) 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/connectivity/wifilogd/
Dos.cpp61 now_timestamp.secs = SAFELY_CLAMP( in GetTimestamp()
66 std::min(static_cast<uintmax_t>(GetMaxVal(now_timestamp.secs)), in GetTimestamp()
Dcommand_processor.cpp74 awake_time.secs, NsecToUsec(awake_time.nsecs), in ToString()
75 up_time.secs, NsecToUsec(up_time.nsecs), in ToString()
76 wall_time.secs, NsecToUsec(wall_time.nsecs)); in ToString()
Dos.h47 uint32_t secs; // Sufficient through 2100. member
/system/chre/util/include/chre/util/
Dtime_impl.h127 constexpr Nanoseconds operator+(const Seconds& secs, const Nanoseconds& nanos) {
128 return Nanoseconds(secs.toRawNanoseconds() + nanos.toRawNanoseconds());
Dtime.h234 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/update_engine/common/
Dutils.cc709 string FormatSecs(unsigned secs) { in FormatSecs() argument
710 return FormatTimeDelta(TimeDelta::FromSeconds(secs)); in FormatSecs()
729 unsigned secs = delta.InSeconds(); in FormatTimeDelta() local
730 delta -= TimeDelta::FromSeconds(secs); in FormatTimeDelta()
739 base::StringAppendF(&str, "%u", secs); in FormatTimeDelta()
Dutils.h240 std::string FormatSecs(unsigned secs);
/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/core/healthd/
Dhealthd_mode_charger.cpp435 int64_t secs = duration / 1000; in SetKeyCallback() local
436 int64_t msecs = duration - secs * 1000; in SetKeyCallback()
438 secs, msecs); in SetKeyCallback()
/system/connectivity/wifilogd/tests/
Dos_unittest.cpp124 EXPECT_EQ(kFakeSecs, received.secs); in TEST_F()
/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/sepolicy/private/
Dproperty_contexts264 audio.offload.min.duration.secs u:object_r:audio_config_prop:s0 exact int
/system/core/rootdir/
Dinit.rc883 # F2FS tuning. Set cp_interval larger than dirty_expire_centisecs, 30 secs,