Home
last modified time | relevance | path

Searched refs:NSEC_PER_SEC (Results 1 – 3 of 3) sorted by relevance

/frameworks/native/libs/cputimeinstate/
Dtesttimeinstate.cpp36 static constexpr uint64_t NSEC_PER_SEC = 1000000000; variable
37 static constexpr uint64_t NSEC_PER_YEAR = NSEC_PER_SEC * 60 * 60 * 24 * 365;
97 ASSERT_LE(concurrentSum - tisSum, NSEC_PER_SEC); in TestUidTimesConsistent()
99 ASSERT_LE(tisSum - concurrentSum, NSEC_PER_SEC); in TestUidTimesConsistent()
150 ASSERT_LE(sumAfter - sumBefore, NSEC_PER_SEC); in TestCheckUpdate()
204 ASSERT_LE((*times2)[i][j] - times1[i][j], NSEC_PER_SEC); in TEST()
275 ASSERT_LE(times2->active[i] - times1.active[i], NSEC_PER_SEC); in TEST()
279 ASSERT_LE(times2->policy[i][j] - times1.policy[i][j], NSEC_PER_SEC); in TEST()
290 ASSERT_LE(after - before, NSEC_PER_SEC * 2 * get_nprocs_conf()); in TestCheckDelta()
Dcputimeinstate.cpp280 constexpr uint64_t NSEC_PER_SEC = 1000000000; in uidUpdatedSince() local
281 if (uidLastUpdate + NSEC_PER_SEC < lastUpdate) return false; in uidUpdatedSince()
/frameworks/av/services/camera/libcameraservice/api2/
DHeicEncoderInfoManager.cpp98 constexpr int64_t NSEC_PER_SEC = 1000000000LL; in isSizeSupported() local
102 *stall = ratio * NSEC_PER_SEC / avgFps; in isSizeSupported()