Home
last modified time | relevance | path

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

/system/core/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.h213 #define OI_SECONDS_TO_BT_TICKS(secs) ((secs)*1600) argument
/system/bt/btif/src/
Dbtif_debug_conn.c42 const time_t secs = ms / 1000; in format_ts() local
43 struct tm *ptm = localtime(&secs); in format_ts()
/system/core/libnetutils/
Ddhcpmsg.h44 uint16_t secs; /* seconds since start of acq */ member
Ddhcpclient.c274 ntohl(msg->xid), ntohs(msg->secs), ntohs(msg->flags), len); in dump_dhcp_msg()
/system/core/healthd/
Dhealthd_mode_charger.cpp482 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()