Searched refs:secs (Results 1 - 4 of 4) sorted by relevance

/system/core/include/utils/
H A DTimers.h36 static inline nsecs_t seconds_to_nanoseconds(nsecs_t secs) argument
38 return secs*1000000000;
41 static inline nsecs_t milliseconds_to_nanoseconds(nsecs_t secs) argument
43 return secs*1000000;
46 static inline nsecs_t microseconds_to_nanoseconds(nsecs_t secs) argument
48 return secs*1000;
51 static inline nsecs_t nanoseconds_to_seconds(nsecs_t secs) argument
53 return secs/1000000000;
56 static inline nsecs_t nanoseconds_to_milliseconds(nsecs_t secs) argument
58 return secs/100000
61 nanoseconds_to_microseconds(nsecs_t secs) argument
[all...]
/system/core/libnetutils/
H A Ddhcpmsg.h44 uint16_t secs; /* seconds since start of acq */ member in struct:dhcp_msg
H A Ddhcpclient.c273 ALOGD("xid = 0x%08x secs = %d, flags = 0x%04x optlen = %d",
274 ntohl(msg->xid), ntohs(msg->secs), ntohs(msg->flags), len);
/system/core/charger/
H A Dcharger.c802 int64_t secs = duration / 1000; local
803 int64_t msecs = duration - secs * 1000;
805 code, secs, msecs);

Completed in 104 milliseconds