Home
last modified time | relevance | path

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

/cts/tests/surfacecontrol/jni/
DChoreographerTestUtils.h42 static constexpr std::chrono::nanoseconds NOMINAL_VSYNC_PERIOD{16ms};
43 static constexpr std::chrono::nanoseconds DELAY_PERIOD{NOMINAL_VSYNC_PERIOD * 5};
44 static constexpr std::chrono::nanoseconds ZERO{std::chrono::nanoseconds::zero()};
61 std::chrono::nanoseconds frameTime{0LL};
108 cb->frameTime = std::chrono::nanoseconds{frameTimeNanos}; in vsyncCallback()
129 static std::chrono::nanoseconds now() { in now()
134 std::chrono::nanoseconds startTime, std::chrono::nanoseconds maxTime) { in verifyCallback()
Dandroid_view_surfacecontrol_cts_ChoreographerNativeTest.cpp57 std::chrono::nanoseconds vsyncPeriod{0LL};
67 std::chrono::nanoseconds vsyncPeriod{0LL};
74 cb->vsyncPeriod = std::chrono::nanoseconds{vsyncPeriodNanos}; in refreshRateCallback()
82 cb->vsyncPeriod = std::chrono::nanoseconds{vsyncPeriodNanos}; in refreshRateCallbackWithDisplayManager()
201 ALOGD("Test start time = %ld", std::chrono::nanoseconds{start}); in android_view_surfacecontrol_cts_ChoreographerNativeTest_testFrameCallbackDataDeadlineInFuture()
204 auto deadline = std::chrono::nanoseconds{frameTimelines[i].deadline}; in android_view_surfacecontrol_cts_ChoreographerNativeTest_testFrameCallbackDataDeadlineInFuture()
206 ASSERT(deadline > std::chrono::nanoseconds{start}, in android_view_surfacecontrol_cts_ChoreographerNativeTest_testFrameCallbackDataDeadlineInFuture()
208 deadline, std::chrono::nanoseconds{start}); in android_view_surfacecontrol_cts_ChoreographerNativeTest_testFrameCallbackDataDeadlineInFuture()
219 … auto lastDeadline = std::chrono::nanoseconds{frameTimelines[frameTimelines.size() - 1].deadline}; in android_view_surfacecontrol_cts_ChoreographerNativeTest_testFrameCallbackDataDeadlineInFuture()
221 const auto threshold = std::chrono::nanoseconds{45ms}; in android_view_surfacecontrol_cts_ChoreographerNativeTest_testFrameCallbackDataDeadlineInFuture()
[all …]
/cts/tests/location/location_gnss/src/android/location/cts/gnss/asn1/supl2/ver2_ulp_components/
DRTDUnits.java41 nanoseconds(3), enumConstant