Home
last modified time | relevance | path

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

/frameworks/native/libs/cputimeinstate/
Dtesttimeinstate.cpp40 static constexpr uint64_t NSEC_PER_SEC = 1000000000; variable
41 static constexpr uint64_t NSEC_PER_YEAR = NSEC_PER_SEC * 60 * 60 * 24 * 365;
122 ASSERT_LE(concurrentSum - tisSum, NSEC_PER_SEC); in TestUidTimesConsistent()
124 ASSERT_LE(tisSum - concurrentSum, NSEC_PER_SEC); in TestUidTimesConsistent()
175 ASSERT_LE(sumAfter - sumBefore, NSEC_PER_SEC); in TestCheckUpdate()
255 ASSERT_LE((*times2)[i][j] - times1[i][j], NSEC_PER_SEC); in TEST_F()
326 ASSERT_LE(times2->active[i] - times1.active[i], NSEC_PER_SEC); in TEST_F()
330 ASSERT_LE(times2->policy[i][j] - times1.policy[i][j], NSEC_PER_SEC); in TEST_F()
341 ASSERT_LE(after - before, NSEC_PER_SEC * 2 * get_nprocs_conf()); in TestCheckDelta()
Dcputimeinstate.cpp346 constexpr uint64_t NSEC_PER_SEC = 1000000000; in uidUpdatedSince() local
347 if (uidLastUpdate + NSEC_PER_SEC < lastUpdate) return false; in uidUpdatedSince()
/frameworks/av/services/camera/libcameraservice/api2/
DHeicEncoderInfoManager.cpp100 constexpr int64_t NSEC_PER_SEC = 1000000000LL; in isSizeSupported() local
104 *stall = ratio * NSEC_PER_SEC / avgFps; in isSizeSupported()