Home
last modified time | relevance | path

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

/system/core/libutils/include/utils/
DTimers.h38 static CONSTEXPR inline nsecs_t seconds_to_nanoseconds(nsecs_t secs) in seconds_to_nanoseconds() argument
40 return secs*1000000000; in seconds_to_nanoseconds()
43 static CONSTEXPR inline nsecs_t milliseconds_to_nanoseconds(nsecs_t secs) in milliseconds_to_nanoseconds() argument
45 return secs*1000000; in milliseconds_to_nanoseconds()
48 static CONSTEXPR inline nsecs_t microseconds_to_nanoseconds(nsecs_t secs) in microseconds_to_nanoseconds() argument
50 return secs*1000; in microseconds_to_nanoseconds()
53 static CONSTEXPR inline nsecs_t nanoseconds_to_seconds(nsecs_t secs) in nanoseconds_to_seconds() argument
55 return secs/1000000000; in nanoseconds_to_seconds()
58 static CONSTEXPR inline nsecs_t nanoseconds_to_milliseconds(nsecs_t secs) in nanoseconds_to_milliseconds() argument
60 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/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.cc813 string FormatSecs(unsigned secs) { in FormatSecs() argument
814 return FormatTimeDelta(TimeDelta::FromSeconds(secs)); in FormatSecs()
833 unsigned secs = delta.InSeconds(); in FormatTimeDelta() local
834 delta -= TimeDelta::FromSeconds(secs); in FormatTimeDelta()
843 base::StringAppendF(&str, "%u", secs); in FormatTimeDelta()
Dutils.h252 std::string FormatSecs(unsigned secs);
/system/core/healthd/
Dhealthd_mode_charger.cpp439 int64_t secs = duration / 1000; in set_key_callback() local
440 int64_t msecs = duration - secs * 1000; in set_key_callback()
442 secs, msecs); in set_key_callback()
/system/connectivity/wifilogd/tests/
Dos_unittest.cpp123 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/public/
Dproperty_contexts9 audio.offload.min.duration.secs u:object_r:exported3_default_prop:s0 exact int