Home
last modified time | relevance | path

Searched refs:kNsPerS (Results 1 – 4 of 4) sorted by relevance

/system/netd/server/
DWakeupControllerTest.cpp97 const uint64_t kNsPerS = 1000000000ULL; in TEST_F() local
98 const uint64_t kTsNs = 9999 + (34 * kNsPerS); in TEST_F()
123 msg.ts.tv_sec = htonl(kTsNs / kNsPerS); in TEST_F()
124 msg.ts.tv_nsec = htonl(kTsNs % kNsPerS); in TEST_F()
147 const uint64_t kNsPerS = 1000000000ULL; in TEST_F() local
148 const uint64_t kTsNs = 9999 + (34 * kNsPerS); in TEST_F()
184 msg.ts.tv_sec = htonl(kTsNs / kNsPerS); in TEST_F()
185 msg.ts.tv_nsec = htonl(kTsNs % kNsPerS); in TEST_F()
216 const uint64_t kNsPerS = 1000000000ULL; in TEST_F() local
217 const uint64_t kTsNs = 9999 + (34 * kNsPerS); in TEST_F()
[all …]
DWakeupController.cpp140 constexpr uint64_t kNsPerS = 1000000000ULL; in init() local
141 args.timestampNs = ntohl(ts.tv_nsec) + (ntohl(ts.tv_sec) * kNsPerS); in init()
/system/testing/gtest_extras/
DNanoTime.h25 constexpr uint64_t kNsPerS = kNsPerMs * 1000; variable
DTest.cpp111 if (NanoTime() - start_ns > 2 * kNsPerS) { in ReadUntilClosed()