Searched refs:secs (Results 1 – 10 of 10) sorted by relevance
/system/core/include/utils/ |
D | Timers.h | 38 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/ |
D | oi_bt_spec.h | 213 #define OI_SECONDS_TO_BT_TICKS(secs) ((secs)*1600) argument
|
/system/bt/btif/src/ |
D | btif_debug_conn.c | 42 const time_t secs = ms / 1000; in format_ts() local 43 struct tm *ptm = localtime(&secs); in format_ts()
|
/system/extras/ANRdaemon/ |
D | README | 22 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/ |
D | dhcpmsg.h | 44 uint16_t secs; /* seconds since start of acq */ member
|
D | dhcpclient.c | 274 ntohl(msg->xid), ntohs(msg->secs), ntohs(msg->flags), len); in dump_dhcp_msg()
|
/system/connectivity/dhcp_client/ |
D | dhcp_message.cc | 55 uint16_t secs; member 126 message->seconds_ = ntohs(raw_message->secs); in InitFromBuffer() 281 raw_message.secs = htons(seconds_); in Serialize()
|
/system/core/healthd/ |
D | healthd_mode_charger.cpp | 482 int64_t secs = duration / 1000; in set_key_callback() local 483 int64_t msecs = duration - secs * 1000; in set_key_callback() 485 now, code, secs, msecs); in set_key_callback()
|
/system/update_engine/common/ |
D | utils.cc | 952 string FormatSecs(unsigned secs) { in FormatSecs() argument 953 return FormatTimeDelta(TimeDelta::FromSeconds(secs)); in FormatSecs() 972 unsigned secs = delta.InSeconds(); in FormatTimeDelta() local 973 delta -= TimeDelta::FromSeconds(secs); in FormatTimeDelta() 982 base::StringAppendF(&str, "%u", secs); in FormatTimeDelta()
|
D | utils.h | 300 std::string FormatSecs(unsigned secs);
|